From c921717bbe4102e6ff86e914209a844639c510a0 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 28 Apr 2014 16:14:07 +0300 Subject: I think we don't need to register the 'child windows' for non-desktop Change-Id: I49be529a1b203685718019c3d4531e39064471b9 --- sw/source/core/uibase/uiview/view0.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sw') diff --git a/sw/source/core/uibase/uiview/view0.cxx b/sw/source/core/uibase/uiview/view0.cxx index 6bc6c1995783..a681c09dfd5a 100644 --- a/sw/source/core/uibase/uiview/view0.cxx +++ b/sw/source/core/uibase/uiview/view0.cxx @@ -92,6 +92,7 @@ SFX_IMPL_INTERFACE(SwView, SfxViewShell, SW_RES(RID_TOOLS_TOOLBOX) ) void SwView::InitInterface_Impl() { +#if HAVE_FEATURE_DESKTOP GetStaticInterface()->RegisterChildWindow(SID_NAVIGATOR, true); GetStaticInterface()->RegisterChildWindow(::sfx2::sidebar::SidebarChildWindow::GetChildWindowId()); @@ -113,6 +114,7 @@ void SwView::InitInterface_Impl() GetStaticInterface()->RegisterObjectBar(SFX_OBJECTBAR_TOOLS|SFX_VISIBILITY_STANDARD|SFX_VISIBILITY_SERVER, SW_RES(RID_TOOLS_TOOLBOX)); +#endif } TYPEINIT1(SwView,SfxViewShell) -- cgit