summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2013-05-17 20:32:16 +0100
committerMichael Meeks <michael.meeks@suse.com>2013-05-20 11:33:39 +0100
commit66a5cc468cef0c6db8b42b7f25367f04208e6f2e (patch)
treea9b84b17ac4f1dbd368a61ef056d23dda25af617 /sd
parent05f0eb57618d090fa45011120a907a3b1157accb (diff)
Only register and use the Sidebar if it is globally enabled.
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/app/sddll2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/app/sddll2.cxx b/sd/source/ui/app/sddll2.cxx
index d28257dcc0f7..78c78ea26b17 100644
--- a/sd/source/ui/app/sddll2.cxx
+++ b/sd/source/ui/app/sddll2.cxx
@@ -127,7 +127,7 @@ void SdDLL::RegisterControllers()
::sd::LeftPaneImpressChildWindow::RegisterChildWindow(0, pMod);
::sd::LeftPaneDrawChildWindow::RegisterChildWindow(0, pMod);
::sd::ToolPanelChildWindow::RegisterChildWindow(0, pMod);
- ::sfx2::sidebar::SidebarChildWindow::RegisterChildWindow(0, pMod);
+ ::sfx2::sidebar::SidebarChildWindow::RegisterChildWindowIfEnabled(0, pMod);
SvxFillToolBoxControl::RegisterControl(0, pMod);
SvxLineStyleToolBoxControl::RegisterControl(0, pMod);