summaryrefslogtreecommitdiff
path: root/sfx2/source/sidebar/PanelTitleBar.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/sidebar/PanelTitleBar.cxx')
-rw-r--r--sfx2/source/sidebar/PanelTitleBar.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sfx2/source/sidebar/PanelTitleBar.cxx b/sfx2/source/sidebar/PanelTitleBar.cxx
index 479bd2e86206..4dac533bc4bf 100644
--- a/sfx2/source/sidebar/PanelTitleBar.cxx
+++ b/sfx2/source/sidebar/PanelTitleBar.cxx
@@ -69,7 +69,8 @@ void PanelTitleBar::dispose()
}
void PanelTitleBar::SetMoreOptionsCommand(const OUString& rsCommandName,
- const css::uno::Reference<css::frame::XFrame>& rxFrame)
+ const css::uno::Reference<css::frame::XFrame>& rxFrame,
+ const css::uno::Reference<css::frame::XController>& rxController)
{
if (!rsCommandName.equals(msMoreOptionsCommand))
{
@@ -89,7 +90,7 @@ void PanelTitleBar::SetMoreOptionsCommand(const OUString& rsCommandName,
maToolBox.get(),
mnMenuItemIndex,
msMoreOptionsCommand,
- rxFrame,
+ rxFrame, rxController,
VCLUnoHelper::GetInterface(maToolBox.get()),
0));
maToolBox->SetController(mnMenuItemIndex, xController, msMoreOptionsCommand);