sw/source/uibase/uiview/view0.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 317fa411b91c7b4db4124356fc8d3bd4da1ea1e7
Author:     Tor Lillqvist <t...@collabora.com>
AuthorDate: Mon Mar 25 17:46:13 2019 +0200
Commit:     Tor Lillqvist <t...@collabora.com>
CommitDate: Mon Mar 25 18:00:36 2019 +0200

    tdf#124172: Remove DESKTOP ifdef as the code is needed for tunnelled dialogs
    
    Back in the days it could be assumed that no dialog-related code would
    be needed on non-DESKTOP platforms. That changed when we started using
    Online-style tunnelled dialogs in the iOS app.
    
    Change-Id: I30ea85493cbb89bdbce422e4b6bff6c42e393a2f

diff --git a/sw/source/uibase/uiview/view0.cxx 
b/sw/source/uibase/uiview/view0.cxx
index f902713c9d45..043c9f79a2e9 100644
--- a/sw/source/uibase/uiview/view0.cxx
+++ b/sw/source/uibase/uiview/view0.cxx
@@ -88,7 +88,6 @@ SFX_IMPL_INTERFACE(SwView, SfxViewShell)
 
 void SwView::InitInterface_Impl()
 {
-#if HAVE_FEATURE_DESKTOP
     GetStaticInterface()->RegisterChildWindow(SID_NAVIGATOR, true);
 
     
GetStaticInterface()->RegisterChildWindow(::sfx2::sidebar::SidebarChildWindow::GetChildWindowId());
@@ -108,7 +107,6 @@ void SwView::InitInterface_Impl()
 
     GetStaticInterface()->RegisterObjectBar(SFX_OBJECTBAR_TOOLS, 
SfxVisibilityFlags::Standard|SfxVisibilityFlags::Server,
                                             ToolbarId::Tools_Toolbox);
-#endif
 }
 
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to