diff options
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()) |