summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorAugust Sodora <augsod@gmail.com>2012-01-20 14:07:55 -0500
committerAugust Sodora <augsod@gmail.com>2012-01-20 14:07:55 -0500
commitc987ddfec57cfe712088ee44f864774ac26ed262 (patch)
tree8e262af15279a467b5d6152ca685aaafaab643f2 /sfx2
parent21ec8d068f457f222fa170eed296415717716a14 (diff)
Actually this is unused
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/inc/sfx2/msgpool.hxx3
-rw-r--r--sfx2/source/control/msgpool.cxx19
2 files changed, 0 insertions, 22 deletions
diff --git a/sfx2/inc/sfx2/msgpool.hxx b/sfx2/inc/sfx2/msgpool.hxx
index 35d4be615e98..a110b58f7906 100644
--- a/sfx2/inc/sfx2/msgpool.hxx
+++ b/sfx2/inc/sfx2/msgpool.hxx
@@ -40,16 +40,13 @@
class SfxInterface;
class SfxSlot;
-class SfxSlotType_Impl;
typedef std::basic_string< sal_uInt16 > SfxSlotGroupArr_Impl;
-typedef std::vector<SfxSlotType_Impl*> SfxSlotTypeArr_Impl;
typedef std::vector<SfxInterface*> SfxInterfaceArr_Impl;
class SFX2_DLLPUBLIC SfxSlotPool
{
SfxSlotGroupArr_Impl* _pGroups;
- SfxSlotTypeArr_Impl* _pTypes;
SfxSlotPool* _pParentPool;
ResMgr* _pResMgr;
SfxInterfaceArr_Impl* _pInterfaces;
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];