diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-04-28 16:14:07 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-04-28 18:06:15 +0300 |
commit | c921717bbe4102e6ff86e914209a844639c510a0 (patch) | |
tree | b76cfcd70dbb597b66dc1795456abf49d0711f96 /sw | |
parent | 00566c14c115bbdf36a66a7e58b6b7da01db64b8 (diff) |
I think we don't need to register the 'child windows' for non-desktop
Change-Id: I49be529a1b203685718019c3d4531e39064471b9
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/uibase/uiview/view0.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
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) |