[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.0' - sw/source

Tor Lillqvist (via logerrit) logerrit at kemper.freedesktop.org
Mon Mar 25 15:59:22 UTC 2019


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

New commits:
commit 5eb0e0afbe70a0c9e0bdb0d1864e7ae7589098e0
Author:     Tor Lillqvist <tml at collabora.com>
AuthorDate: Mon Mar 25 17:46:13 2019 +0200
Commit:     Tor Lillqvist <tml at collabora.com>
CommitDate: Mon Mar 25 17:58:03 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 9345af5541f2..235ecc9b532c 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
 }
 
 


More information about the Libreoffice-commits mailing list