diff options
author | Michael Meeks <michael.meeks@suse.com> | 2013-05-17 20:32:16 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2013-05-20 11:33:39 +0100 |
commit | 66a5cc468cef0c6db8b42b7f25367f04208e6f2e (patch) | |
tree | a9b84b17ac4f1dbd368a61ef056d23dda25af617 /sd | |
parent | disable sidebar menu option if it is disabled. (diff) | |
download | core-66a5cc468cef0c6db8b42b7f25367f04208e6f2e.tar.gz core-66a5cc468cef0c6db8b42b7f25367f04208e6f2e.zip |
Only register and use the Sidebar if it is globally enabled.
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/app/sddll2.cxx | 2 |
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); |