From bb7ade140df807b6a0f12766a1365b8f8d0fd342 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 7 Mar 2018 13:42:58 +0200 Subject: loplugin:unusedmethods Change-Id: Id6b4edd265cb6bef31c72e2a0a440211d51c7c33 Reviewed-on: https://gerrit.libreoffice.org/50900 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sfx2/source/control/msgpool.cxx | 9 --------- 1 file changed, 9 deletions(-) (limited to 'sfx2/source') diff --git a/sfx2/source/control/msgpool.cxx b/sfx2/source/control/msgpool.cxx index 683c00ae98b4..5563a300e7d4 100644 --- a/sfx2/source/control/msgpool.cxx +++ b/sfx2/source/control/msgpool.cxx @@ -309,15 +309,6 @@ const SfxSlot* SfxSlotPool::NextSlot() // Query SlotName with help text -SfxInterface* SfxSlotPool::FirstInterface() -{ - _nCurInterface = 0; - if ( _vInterfaces.empty() ) - return nullptr; - return _pParentPool ? _pParentPool->FirstInterface() : _vInterfaces[0]; -} - - const SfxSlot* SfxSlotPool::GetUnoSlot( const OUString& rName ) const { const SfxSlot *pSlot = nullptr; -- cgit