diff options
author | August Sodora <augsod@gmail.com> | 2012-01-20 14:07:55 -0500 |
---|---|---|
committer | August Sodora <augsod@gmail.com> | 2012-01-20 14:07:55 -0500 |
commit | c987ddfec57cfe712088ee44f864774ac26ed262 (patch) | |
tree | 8e262af15279a467b5d6152ca685aaafaab643f2 /sfx2/source/control | |
parent | 21ec8d068f457f222fa170eed296415717716a14 (diff) |
Actually this is unused
Diffstat (limited to 'sfx2/source/control')
-rw-r--r-- | sfx2/source/control/msgpool.cxx | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/sfx2/source/control/msgpool.cxx b/sfx2/source/control/msgpool.cxx index f49de947e4a5..8b6cee9291b5 100644 --- a/sfx2/source/control/msgpool.cxx +++ b/sfx2/source/control/msgpool.cxx @@ -43,19 +43,8 @@ #include <sfx2/sfx.hrc> -struct SfxSlotType_Impl -{ - sal_uInt16 nId; - TypeId nType; - - SfxSlotType_Impl( sal_uInt16 nTheId, TypeId nTheType ): - nId(nTheId), nType(nTheType) - {} -}; - SfxSlotPool::SfxSlotPool( SfxSlotPool *pParent, ResMgr* pResManager ) : _pGroups(0) - , _pTypes(0) , _pParentPool( pParent ) , _pResMgr( pResManager ) , _pInterfaces(0) @@ -76,12 +65,6 @@ SfxSlotPool::~SfxSlotPool() delete pIF; delete _pInterfaces; delete _pGroups; - if ( _pTypes ) - { - for(sal_uInt16 n = 0; n < _pTypes->size(); ++n) - delete (*_pTypes)[n]; - delete _pTypes; - } } //==================================================================== @@ -111,8 +94,6 @@ void SfxSlotPool::RegisterInterface( SfxInterface& rInterface ) } } - if ( !_pTypes ) - _pTypes = new SfxSlotTypeArr_Impl; for ( size_t nFunc = 0; nFunc < rInterface.Count(); ++nFunc ) { SfxSlot *pDef = rInterface[nFunc]; |