diff options
-rw-r--r-- | basctl/source/dlged/propbrw.cxx | 8 | ||||
-rw-r--r-- | basctl/source/inc/propbrw.hxx | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/basctl/source/dlged/propbrw.cxx b/basctl/source/dlged/propbrw.cxx index 3af451b85506..0c976baa71ea 100644 --- a/basctl/source/dlged/propbrw.cxx +++ b/basctl/source/dlged/propbrw.cxx @@ -62,7 +62,7 @@ PropBrwMgr::PropBrwMgr( Window* _pParent, sal_uInt16 nId, ); eChildAlignment = SFX_ALIGN_NOALIGNMENT; - ((SfxFloatingWindow*)pWindow)->Initialize( pInfo ); + ((SfxDockingWindow*)pWindow)->Initialize( pInfo ); ((PropBrw*)pWindow)->Update( pShell ); } @@ -100,7 +100,7 @@ DBG_NAME(PropBrw) PropBrw::PropBrw( const Reference< XMultiServiceFactory >& _xORB, SfxBindings* _pBindings, PropBrwMgr* _pMgr, Window* _pParent, const Reference< XModel >& _rxContextDocument ) - :SfxFloatingWindow( _pBindings, _pMgr, _pParent, WinBits( WB_STDMODELESS | WB_SIZEABLE | WB_3DLOOK | WB_ROLLABLE ) ) + :SfxDockingWindow( _pBindings, _pMgr, _pParent, WinBits( WB_DOCKABLE | WB_STDMODELESS | WB_SIZEABLE | WB_3DLOOK | WB_ROLLABLE ) ) ,m_bInitialStateChange(true) ,m_xORB(_xORB) ,m_xContextDocument( _rxContextDocument ) @@ -257,7 +257,7 @@ sal_Bool PropBrw::Close() if( IsRollUp() ) RollDown(); - return SfxFloatingWindow::Close(); + return SfxDockingWindow::Close(); } @@ -455,7 +455,7 @@ void PropBrw::FillInfo( SfxChildWinInfo& rInfo ) const void PropBrw::Resize() { - SfxFloatingWindow::Resize(); + SfxDockingWindow::Resize(); // adjust size Size aSize_ = GetOutputSizePixel(); diff --git a/basctl/source/inc/propbrw.hxx b/basctl/source/inc/propbrw.hxx index 87c2e6c8d94f..0e7c2fc579cb 100644 --- a/basctl/source/inc/propbrw.hxx +++ b/basctl/source/inc/propbrw.hxx @@ -23,7 +23,7 @@ #include <com/sun/star/beans/XPropertySet.hpp> #include <comphelper/stl_types.hxx> #include <sfx2/basedlgs.hxx> -#include <sfx2/childwin.hxx> +#include <sfx2/dockwin.hxx> #include <svl/lstner.hxx> #include <svx/svdmark.hxx> @@ -45,7 +45,7 @@ public: class SfxBindings; class SdrView; -class PropBrw : public SfxFloatingWindow , public SfxListener, public SfxBroadcaster +class PropBrw : public SfxDockingWindow , public SfxListener, public SfxBroadcaster { private: bool m_bInitialStateChange; |