diff options
Diffstat (limited to 'sfx2/source/appl/module.cxx')
-rw-r--r-- | sfx2/source/appl/module.cxx | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/sfx2/source/appl/module.cxx b/sfx2/source/appl/module.cxx index 8048e4b85a55..8fa50b38077a 100644 --- a/sfx2/source/appl/module.cxx +++ b/sfx2/source/appl/module.cxx @@ -219,29 +219,6 @@ void SfxModule::RegisterChildWindow(SfxChildWinFactory *pFact) //------------------------------------------------------------------------- -void SfxModule::RegisterChildWindowContext( sal_uInt16 nId, - SfxChildWinContextFactory *pFact) -{ - DBG_ASSERT( pImpl, "No real Module!" ); - - sal_uInt16 nCount = pImpl->pFactArr->Count(); - for (sal_uInt16 nFactory=0; nFactory<nCount; ++nFactory) - { - SfxChildWinFactory *pF = (*pImpl->pFactArr)[nFactory]; - if ( nId == pF->nId ) - { - if ( !pF->pArr ) - pF->pArr = new SfxChildWinContextArr_Impl; - pF->pArr->C40_INSERT( SfxChildWinContextFactory, pFact, pF->pArr->Count() ); - return; - } - } - - OSL_FAIL( "No ChildWindow for this Context!" ); -} - -//------------------------------------------------------------------------- - void SfxModule::RegisterToolBoxControl( SfxTbxCtrlFactory *pFact ) { if (!pImpl->pTbxCtrlFac) @@ -372,14 +349,6 @@ void SfxModule::Invalidate( sal_uInt16 nId ) Invalidate_Impl( pFrame->GetBindings(), nId ); } -sal_Bool SfxModule::IsActive() const -{ - SfxViewFrame* pFrame = SfxViewFrame::Current(); - if ( pFrame && pFrame->GetObjectShell()->GetFactory().GetModule() == this ) - return sal_True; - return sal_False; -} - bool SfxModule::IsChildWindowAvailable( const sal_uInt16 i_nId, const SfxViewFrame* i_pViewFrame ) const { if ( i_nId != SID_TASKPANE ) |