summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-01-13 09:26:16 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-01-13 09:16:59 +0100
commitd5047c4a1cbae1cb2b57ed435ecd63e6817506d3 (patch)
tree1065eef1ad9f0bfea732d58a3a554da0f36cff7c /sfx2
parent748e354af826f2439982b69ffa99dce68378d1f1 (diff)
loplugin:unusedmethods
Change-Id: I4eae284cf763b260dd9349bf8d31f46612916de1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86654 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/sidebar/SidebarToolBox.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/sfx2/source/sidebar/SidebarToolBox.cxx b/sfx2/source/sidebar/SidebarToolBox.cxx
index 32c3876da73c..8acd83f0aae0 100644
--- a/sfx2/source/sidebar/SidebarToolBox.cxx
+++ b/sfx2/source/sidebar/SidebarToolBox.cxx
@@ -192,14 +192,6 @@ void SidebarToolBox::SetController(const sal_uInt16 nItemId,
RegisterHandlers();
}
-css::uno::Reference<css::frame::XToolbarController> SidebarToolBox::GetFirstController()
-{
- if (maControllers.empty())
- return css::uno::Reference<css::frame::XToolbarController>();
-
- return maControllers.begin()->second;
-}
-
void SidebarToolBox::RegisterHandlers()
{
if ( ! mbAreHandlersRegistered)