From 9c2f7056a82c4d7719715ca1c77f8dd4c17aa24c Mon Sep 17 00:00:00 2001 From: Elton Chung Date: Sun, 5 Feb 2012 18:47:50 +0800 Subject: Remove unused code --- sfx2/source/control/msgpool.cxx | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'sfx2/source/control/msgpool.cxx') diff --git a/sfx2/source/control/msgpool.cxx b/sfx2/source/control/msgpool.cxx index 8b6cee9291b5..76b0e5e14dee 100644 --- a/sfx2/source/control/msgpool.cxx +++ b/sfx2/source/control/msgpool.cxx @@ -301,16 +301,6 @@ SfxInterface* SfxSlotPool::FirstInterface() //-------------------------------------------------------------------- -SfxInterface* SfxSlotPool::NextInterface() -{ - _nCurInterface++; - sal_uInt16 nFirstInterface = _pParentPool ? _pParentPool->_pInterfaces->size() : 0; - if ( _nCurInterface < nFirstInterface ) - return (*_pParentPool->_pInterfaces)[_nCurInterface]; - sal_uInt16 nInterface = _nCurInterface - nFirstInterface; - return nInterface < _pInterfaces->size() ? (*_pInterfaces)[nInterface] : 0; -} - const SfxSlot* SfxSlotPool::GetUnoSlot( const String& rName ) { const SfxSlot *pSlot = NULL; -- cgit