WrapPropertyPanel.cxx (45da7d5e) | WrapPropertyPanel.cxx (550fbbbd) |
---|---|
1/************************************************************** 2* 3* Licensed to the Apache Software Foundation (ASF) under one 4* or more contributor license agreements. See the NOTICE file 5* distributed with this work for additional information 6* regarding copyright ownership. The ASF licenses this file 7* to you under the Apache License, Version 2.0 (the 8* "License"); you may not use this file except in compliance --- 34 unchanged lines hidden (view full) --- 43namespace sw { namespace sidebar { 44 45WrapPropertyPanel* WrapPropertyPanel::Create ( 46 Window* pParent, 47 const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rxFrame, 48 SfxBindings* pBindings) 49{ 50 if (pParent == NULL) | 1/************************************************************** 2* 3* Licensed to the Apache Software Foundation (ASF) under one 4* or more contributor license agreements. See the NOTICE file 5* distributed with this work for additional information 6* regarding copyright ownership. The ASF licenses this file 7* to you under the Apache License, Version 2.0 (the 8* "License"); you may not use this file except in compliance --- 34 unchanged lines hidden (view full) --- 43namespace sw { namespace sidebar { 44 45WrapPropertyPanel* WrapPropertyPanel::Create ( 46 Window* pParent, 47 const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rxFrame, 48 SfxBindings* pBindings) 49{ 50 if (pParent == NULL) |
51 throw ::com::sun::star::lang::IllegalArgumentException(A2S("no parent Window given to PagePropertyPanel::Create"), NULL, 0); | 51 throw ::com::sun::star::lang::IllegalArgumentException(A2S("no parent Window given to WrapPropertyPanel::Create"), NULL, 0); |
52 if ( ! rxFrame.is()) | 52 if ( ! rxFrame.is()) |
53 throw ::com::sun::star::lang::IllegalArgumentException(A2S("no XFrame given to PagePropertyPanel::Create"), NULL, 1); | 53 throw ::com::sun::star::lang::IllegalArgumentException(A2S("no XFrame given to WrapPropertyPanel::Create"), NULL, 1); |
54 if (pBindings == NULL) | 54 if (pBindings == NULL) |
55 throw ::com::sun::star::lang::IllegalArgumentException(A2S("no SfxBindings given to PagePropertyPanel::Create"), NULL, 2); | 55 throw ::com::sun::star::lang::IllegalArgumentException(A2S("no SfxBindings given to WrapPropertyPanel::Create"), NULL, 2); |
56 57 return new WrapPropertyPanel( 58 pParent, 59 rxFrame, 60 pBindings); 61} 62 63 --- 206 unchanged lines hidden --- | 56 57 return new WrapPropertyPanel( 58 pParent, 59 rxFrame, 60 pBindings); 61} 62 63 --- 206 unchanged lines hidden --- |