diff options
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/module.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/control/msgpool.cxx | 7 |
2 files changed, 2 insertions, 7 deletions
diff --git a/sfx2/source/appl/module.cxx b/sfx2/source/appl/module.cxx index 00dde7424928..424880e0d042 100644 --- a/sfx2/source/appl/module.cxx +++ b/sfx2/source/appl/module.cxx @@ -167,7 +167,7 @@ void SfxModule::Construct_Impl() SfxModule* pPtr = (SfxModule*)this; rArr.push_back( pPtr ); pImpl = new SfxModule_Impl; - pImpl->pSlotPool = new SfxSlotPool( &pApp->GetAppSlotPool_Impl(), pResMgr ); + pImpl->pSlotPool = new SfxSlotPool(&pApp->GetAppSlotPool_Impl()); pImpl->pTbxCtrlFac=0; pImpl->pStbCtrlFac=0; diff --git a/sfx2/source/control/msgpool.cxx b/sfx2/source/control/msgpool.cxx index f059dada9385..ac0026d4ef34 100644 --- a/sfx2/source/control/msgpool.cxx +++ b/sfx2/source/control/msgpool.cxx @@ -33,21 +33,16 @@ #include <sfx2/sfx.hrc> -SfxSlotPool::SfxSlotPool( SfxSlotPool *pParent, ResMgr* pResManager ) +SfxSlotPool::SfxSlotPool(SfxSlotPool *pParent) : _pGroups(0) , _pParentPool( pParent ) - , _pResMgr( pResManager ) , _pInterfaces(0) , _nCurGroup(0) , _nCurInterface(0) , _nCurMsg(0) { - if ( !_pResMgr ) - _pResMgr = SfxApplication::GetOrCreate()->GetOffResManager_Impl(); } - - SfxSlotPool::~SfxSlotPool() { _pParentPool = 0; |