summaryrefslogtreecommitdiff
path: root/sfx2/source/sidebar/SidebarToolBox.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/sidebar/SidebarToolBox.cxx')
-rw-r--r--sfx2/source/sidebar/SidebarToolBox.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/sidebar/SidebarToolBox.cxx b/sfx2/source/sidebar/SidebarToolBox.cxx
index 18ae5db91a76..ce02e9ebb2ed 100644
--- a/sfx2/source/sidebar/SidebarToolBox.cxx
+++ b/sfx2/source/sidebar/SidebarToolBox.cxx
@@ -140,7 +140,7 @@ void SidebarToolBox::CreateController (
const OUString sCommandName (GetItemCommand(nItemId));
aDescriptor.mxController = sfx2::sidebar::ControllerFactory::CreateToolBoxController(
- this, nItemId, sCommandName, rxFrame,
+ this, nItemId, sCommandName, rxFrame, rxFrame->getController(),
VCLUnoHelper::GetInterface(this), nItemWidth);
if (aDescriptor.mxController.is())
{