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 /include | |
parent | 05f0eb57618d090fa45011120a907a3b1157accb (diff) |
Only register and use the Sidebar if it is globally enabled.
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/sidebar/SidebarChildWindow.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sfx2/sidebar/SidebarChildWindow.hxx b/include/sfx2/sidebar/SidebarChildWindow.hxx index 194f09893bac..0d9739d78cf1 100644 --- a/include/sfx2/sidebar/SidebarChildWindow.hxx +++ b/include/sfx2/sidebar/SidebarChildWindow.hxx @@ -39,6 +39,8 @@ public: SfxBindings* pBindings, SfxChildWinInfo* pInfo); + static void RegisterChildWindowIfEnabled (sal_Bool bVisible=sal_False, SfxModule *pMod=NULL, sal_uInt16 nFlags=0); + SFX_DECL_CHILDWINDOW_WITHID(SidebarChildWindow); static sal_Int32 GetDefaultWidth (Window* pWindow); |