From c987ddfec57cfe712088ee44f864774ac26ed262 Mon Sep 17 00:00:00 2001 From: August Sodora Date: Fri, 20 Jan 2012 14:07:55 -0500 Subject: Actually this is unused --- sfx2/source/control/msgpool.cxx | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'sfx2/source/control/msgpool.cxx') 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 -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]; -- cgit