Kaydet (Commit) 317fa411 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

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
üst 8bf87fe5
...@@ -88,7 +88,6 @@ SFX_IMPL_INTERFACE(SwView, SfxViewShell) ...@@ -88,7 +88,6 @@ SFX_IMPL_INTERFACE(SwView, SfxViewShell)
void SwView::InitInterface_Impl() void SwView::InitInterface_Impl()
{ {
#if HAVE_FEATURE_DESKTOP
GetStaticInterface()->RegisterChildWindow(SID_NAVIGATOR, true); GetStaticInterface()->RegisterChildWindow(SID_NAVIGATOR, true);
GetStaticInterface()->RegisterChildWindow(::sfx2::sidebar::SidebarChildWindow::GetChildWindowId()); GetStaticInterface()->RegisterChildWindow(::sfx2::sidebar::SidebarChildWindow::GetChildWindowId());
...@@ -108,7 +107,6 @@ void SwView::InitInterface_Impl() ...@@ -108,7 +107,6 @@ void SwView::InitInterface_Impl()
GetStaticInterface()->RegisterObjectBar(SFX_OBJECTBAR_TOOLS, SfxVisibilityFlags::Standard|SfxVisibilityFlags::Server, GetStaticInterface()->RegisterObjectBar(SFX_OBJECTBAR_TOOLS, SfxVisibilityFlags::Standard|SfxVisibilityFlags::Server,
ToolbarId::Tools_Toolbox); ToolbarId::Tools_Toolbox);
#endif
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment