diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-28 10:10:40 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-29 07:28:57 +0100 |
commit | a566fd1c1a50f9bcb4c69a19bdf4fb1955285d93 (patch) | |
tree | 13273efcf8aa69ce39a1860dc3d111c071e6a7b3 /sfx2/source/appl/workwin.cxx | |
parent | 411260d836e7bf6c693b9b7d16af1b36184133af (diff) |
loplugin:unusedmethods
Change-Id: I2efb5c0e5735c179314c6c5de87821cee3b033e1
Reviewed-on: https://gerrit.libreoffice.org/45386
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/appl/workwin.cxx')
-rw-r--r-- | sfx2/source/appl/workwin.cxx | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/sfx2/source/appl/workwin.cxx b/sfx2/source/appl/workwin.cxx index 8d0970ed5d81..9d41fe95ae43 100644 --- a/sfx2/source/appl/workwin.cxx +++ b/sfx2/source/appl/workwin.cxx @@ -1016,28 +1016,6 @@ void SfxWorkWindow::SetObjectBar_Impl(sal_uInt16 nPos, SfxVisibilityFlags nFlags aObjBarList.push_back( aObjBar ); } -bool SfxWorkWindow::KnowsObjectBar_Impl( sal_uInt16 nPos ) const - -/* [Description] - - Determines if a object list is available at the position in question. - This is independent for the fact whether it is actually turned on or off. -*/ - -{ - if ( pParent && IsAppWorkWinToolbox_Impl( nPos ) ) - return pParent->KnowsObjectBar_Impl( nPos ); - - for (const SfxObjectBar_Impl& rBar : aObjBarList) - { - if ( rBar.nPos == nPos ) - return true; - } - - return false; -} - - bool SfxWorkWindow::IsVisible_Impl( SfxVisibilityFlags nMode ) const { switch( nUpdateMode ) |