diff options
Diffstat (limited to 'sfx2/source/toolbox/tbxitem.cxx')
-rw-r--r-- | sfx2/source/toolbox/tbxitem.cxx | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/sfx2/source/toolbox/tbxitem.cxx b/sfx2/source/toolbox/tbxitem.cxx index da3042599ae7..24b1f897f2b4 100644 --- a/sfx2/source/toolbox/tbxitem.cxx +++ b/sfx2/source/toolbox/tbxitem.cxx @@ -1271,27 +1271,6 @@ SfxPopupWindow::SfxPopupWindow( //-------------------------------------------------------------------- -SfxPopupWindow::SfxPopupWindow( - sal_uInt16 nId, - const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame, - Window* pParentWindow, - const ResId &rId ) : - FloatingWindow( pParentWindow, rId ) - , m_bFloating(sal_False) - , m_bCascading( sal_False ) - , m_nId( nId ) - , m_xFrame( rFrame ) - , m_pStatusListener( 0 ) -{ - m_xServiceManager = ::comphelper::getProcessServiceFactory(); - - Window* pWindow = GetTopMostParentSystemWindow( this ); - if ( pWindow ) - ((SystemWindow *)pWindow)->GetTaskPaneList()->AddWindow( this ); -} - -//-------------------------------------------------------------------- - SfxPopupWindow::~SfxPopupWindow() { if ( m_xStatusListener.is() ) @@ -1360,15 +1339,6 @@ void SfxPopupWindow::RemoveStatusListener( const rtl::OUString& rCommandURL ) //-------------------------------------------------------------------- -void SfxPopupWindow::UpdateStatus( const rtl::OUString& rCommandURL ) -{ - GetOrCreateStatusListener(); - if ( m_xStatusListener.is() ) - m_pStatusListener->updateStatus( rCommandURL ); -} - -//-------------------------------------------------------------------- - sal_Bool SfxPopupWindow::Close() { m_bFloating = sal_False; @@ -1439,11 +1409,6 @@ void SfxPopupWindow::StartCascading() m_bCascading= sal_True; } -void SfxPopupWindow::EndCascading() -{ - m_bCascading = sal_False; -} - //-------------------------------------------------------------------- SfxPopupWindow* SfxPopupWindow::Clone() const |