sfx2/inc/sfx2/msgpool.hxx | 3 --- sfx2/source/control/msgpool.cxx | 19 ------------------- 2 files changed, 22 deletions(-)
New commits: commit c987ddfec57cfe712088ee44f864774ac26ed262 Author: August Sodora <aug...@gmail.com> Date: Fri Jan 20 14:07:55 2012 -0500 Actually this is unused diff --git a/sfx2/inc/sfx2/msgpool.hxx b/sfx2/inc/sfx2/msgpool.hxx index 35d4be6..a110b58 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 f49de94..8b6cee9 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]; _______________________________________________ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits