diff options
Diffstat (limited to 'sfx2/source/toolbox/tbxitem.cxx')
-rw-r--r-- | sfx2/source/toolbox/tbxitem.cxx | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sfx2/source/toolbox/tbxitem.cxx b/sfx2/source/toolbox/tbxitem.cxx index 090feb2ebab9..6aa1c9c60b06 100644 --- a/sfx2/source/toolbox/tbxitem.cxx +++ b/sfx2/source/toolbox/tbxitem.cxx @@ -1189,6 +1189,23 @@ SfxPopupWindow::SfxPopupWindow( ((SystemWindow *)pWindow)->GetTaskPaneList()->AddWindow( this ); } +SfxPopupWindow::SfxPopupWindow( + sal_uInt16 nId, + Window* pParentWindow, + const OString& rID, const OUString& rUIXMLDescription, + const Reference< XFrame >& rFrame ) : + FloatingWindow( pParentWindow, rID, rUIXMLDescription) + , m_bFloating( false ) + , m_bCascading( false ) + , m_nId( nId ) + , m_xFrame( rFrame ) + , m_pStatusListener( 0 ) +{ + Window* pWindow = GetTopMostParentSystemWindow( this ); + if ( pWindow ) + ((SystemWindow *)pWindow)->GetTaskPaneList()->AddWindow( this ); +} + SfxPopupWindow::~SfxPopupWindow() { if ( m_xStatusListener.is() ) |