summaryrefslogtreecommitdiff
path: root/sfx2/source/control/msgpool.cxx
diff options
context:
space:
mode:
authorElton Chung <elton@layerjet.com>2012-02-05 18:47:50 +0800
committerIvan Timofeev <timofeev.i.s@gmail.com>2012-02-05 21:40:30 +0400
commit9c2f7056a82c4d7719715ca1c77f8dd4c17aa24c (patch)
treefcfff781b70e6423b5b5c32831eae1ca251be6b7 /sfx2/source/control/msgpool.cxx
parent4fa8d043f8336e7b35130934498f8a4b357967d3 (diff)
Remove unused code
Diffstat (limited to 'sfx2/source/control/msgpool.cxx')
-rw-r--r--sfx2/source/control/msgpool.cxx10
1 files changed, 0 insertions, 10 deletions
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;