diff options
Diffstat (limited to 'sfx2/source/sidebar/SidebarChildWindow.cxx')
-rw-r--r-- | sfx2/source/sidebar/SidebarChildWindow.cxx | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sfx2/source/sidebar/SidebarChildWindow.cxx b/sfx2/source/sidebar/SidebarChildWindow.cxx index 2a75ff4936ba..10afde2af123 100644 --- a/sfx2/source/sidebar/SidebarChildWindow.cxx +++ b/sfx2/source/sidebar/SidebarChildWindow.cxx @@ -23,7 +23,6 @@ #include "sfx2/sfxsids.hrc" #include "helpid.hrc" #include "sfx2/dockwin.hxx" -#include "sfx2/viewfrm.hxx" #include <sfx2/sidebar/ResourceDefinitions.hrc> @@ -75,13 +74,6 @@ sal_Int32 SidebarChildWindow::GetDefaultWidth (Window* pWindow) return 0; } -void SidebarChildWindow::RegisterChildWindowIfEnabled (sal_Bool bVisible, - SfxModule *pMod, - sal_uInt16 nFlags) -{ - if ( SfxViewFrame::IsSidebarEnabled() ) - RegisterChildWindow( bVisible, pMod, nFlags ); -} } } // end of namespace sfx2::sidebar |