diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-08-24 22:31:19 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-08-25 09:42:06 +0100 |
commit | ac1530a37e4544378c22c9358e57ca8a596c1aa8 (patch) | |
tree | b9380514932038897631b6e9f7e509c4fc7f8129 /sfx2/source/toolbox | |
parent | 798496c5be43771ee478a0ee4288188b28583a8d (diff) |
callcatcher: yet more unused code
Diffstat (limited to 'sfx2/source/toolbox')
-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 |