summaryrefslogtreecommitdiff
path: root/sfx2/source/control/msgpool.cxx
diff options
context:
space:
mode:
authorPovilas Kanapickas <povilas.kanapickas@gmail.com>2010-10-18 19:37:48 +0100
committerMichael Meeks <michael.meeks@novell.com>2010-10-18 19:38:00 +0100
commit6a007ed1754b45ab00c3021dc3724edea53f1ed1 (patch)
tree96944dc9fb6158d90ae57a2c2778090cdc3c7f3e /sfx2/source/control/msgpool.cxx
parentba0251a0767b802b20e4f017005d0752add77607 (diff)
remove non-compiled code
Diffstat (limited to 'sfx2/source/control/msgpool.cxx')
-rw-r--r--sfx2/source/control/msgpool.cxx20
1 files changed, 0 insertions, 20 deletions
diff --git a/sfx2/source/control/msgpool.cxx b/sfx2/source/control/msgpool.cxx
index aef0a92dc7..fd55fe836f 100644
--- a/sfx2/source/control/msgpool.cxx
+++ b/sfx2/source/control/msgpool.cxx
@@ -149,26 +149,6 @@ void SfxSlotPool::RegisterInterface( SfxInterface& rInterface )
else
_pGroups->Append(pDef->GetGroupId());
}
-#if 0
- const TypeId &rTypeId = pDef->GetType()->Type();
- if ( /*rTypeId != TYPE(SfxVoidItem) &&*/ rTypeId != 0 )
- {
- USHORT nPos;
- for ( nPos = 0; nPos < _pTypes->Count(); ++nPos )
- {
- if ( _pTypes->GetObject(nPos)->nId == pDef->GetSlotId() )
- {
- DBG_ASSERT( rTypeId == _pTypes->GetObject(nPos)->nType,
- "same slot id with unequal item types" );
- }
- else if ( _pTypes->GetObject(nPos)->nId > pDef->GetSlotId() )
- break;
- }
- if ( nPos >= _pTypes->Count() ||
- _pTypes->GetObject(nPos)->nId > pDef->GetSlotId() )
- _pTypes->Append( new SfxSlotType_Impl( pDef->GetSlotId(), rTypeId ) );
- }
-#endif
}
}