diff options
author | Jan Holesovsky <kendy@collabora.com> | 2016-04-06 09:19:45 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2016-04-06 09:24:41 +0200 |
commit | 3f4c85b80069f0cf7cd23cba26c9ba8c2449e0a1 (patch) | |
tree | f3d1a63840e1bf043f131ea125783947c6751a2c /sfx2 | |
parent | cd3835495e2167ff90e5cdd0869138b3e2239aff (diff) |
SidebarToolBox: Remove unused param.
Change-Id: I47d4ffe68f09156987e545511be469991dd6105d
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/sidebar/PanelTitleBar.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/sidebar/SidebarToolBox.cxx | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/sfx2/source/sidebar/PanelTitleBar.cxx b/sfx2/source/sidebar/PanelTitleBar.cxx index 4dac533bc4bf..c91cef31254f 100644 --- a/sfx2/source/sidebar/PanelTitleBar.cxx +++ b/sfx2/source/sidebar/PanelTitleBar.cxx @@ -93,7 +93,7 @@ void PanelTitleBar::SetMoreOptionsCommand(const OUString& rsCommandName, rxFrame, rxController, VCLUnoHelper::GetInterface(maToolBox.get()), 0)); - maToolBox->SetController(mnMenuItemIndex, xController, msMoreOptionsCommand); + maToolBox->SetController(mnMenuItemIndex, xController); maToolBox->SetOutStyle(TOOLBOX_STYLE_FLAT); maToolBox->SetQuickHelpText( mnMenuItemIndex, diff --git a/sfx2/source/sidebar/SidebarToolBox.cxx b/sfx2/source/sidebar/SidebarToolBox.cxx index faebed984d86..ab4f89d92b55 100644 --- a/sfx2/source/sidebar/SidebarToolBox.cxx +++ b/sfx2/source/sidebar/SidebarToolBox.cxx @@ -157,8 +157,7 @@ Reference<frame::XToolbarController> SidebarToolBox::GetControllerForItemId (con } void SidebarToolBox::SetController(const sal_uInt16 nItemId, - const css::uno::Reference<css::frame::XToolbarController>& rxController, - const OUString& /*rsCommandName*/) + const css::uno::Reference<css::frame::XToolbarController>& rxController) { ControllerContainer::iterator iController (maControllers.find(nItemId)); if (iController != maControllers.end()) |