diff options
-rw-r--r-- | include/sfx2/sidebar/SidebarToolBox.hxx | 3 | ||||
-rw-r--r-- | sfx2/source/sidebar/PanelTitleBar.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/sidebar/SidebarToolBox.cxx | 3 |
3 files changed, 3 insertions, 5 deletions
diff --git a/include/sfx2/sidebar/SidebarToolBox.hxx b/include/sfx2/sidebar/SidebarToolBox.hxx index 687424a437f7..6e2d053a31db 100644 --- a/include/sfx2/sidebar/SidebarToolBox.hxx +++ b/include/sfx2/sidebar/SidebarToolBox.hxx @@ -53,8 +53,7 @@ public: virtual bool Notify (NotifyEvent& rEvent) override; void SetController(const sal_uInt16 nItemId, - const css::uno::Reference<css::frame::XToolbarController>& rxController, - const OUString& rsCommandName); + const css::uno::Reference<css::frame::XToolbarController>& rxController); css::uno::Reference<css::frame::XToolbarController> GetFirstController(); 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()) |