summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/drvwshrg.cxx
diff options
context:
space:
mode:
authorjan Iversen <jani@libreoffice.org>2017-10-09 19:10:13 +0200
committerjan Iversen <jani@libreoffice.org>2017-10-09 19:13:55 +0200
commit64b3b366da326ca4eeb42c8c6195f21e2c563663 (patch)
tree1c0a9267227009dadb6abb76eb9557608912c239 /sd/source/ui/view/drvwshrg.cxx
parentd9675f7a9b99b7d729b3d5318b905aaf5b2aedec (diff)
sd, implement HAVE_FEATURE_AVMEDIA
iOS does not support avmedia, therefore HAVE_FEATURE_AVMEDIA is set, however not all sources test for it. Change-Id: I7315dce08fef6e18c026d628c87d29ca201b1f8a
Diffstat (limited to 'sd/source/ui/view/drvwshrg.cxx')
-rw-r--r--sd/source/ui/view/drvwshrg.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/sd/source/ui/view/drvwshrg.cxx b/sd/source/ui/view/drvwshrg.cxx
index 934e4ef6283f..289360759599 100644
--- a/sd/source/ui/view/drvwshrg.cxx
+++ b/sd/source/ui/view/drvwshrg.cxx
@@ -17,6 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <config_features.h>
+
#include "DrawViewShell.hxx"
#include <sfx2/request.hxx>
#include <sfx2/templdlg.hxx>
@@ -75,7 +77,9 @@ void DrawViewShell::InitInterface_Impl()
GetStaticInterface()->RegisterChildWindow(SvxHlinkDlgWrapper::GetChildWindowId());
GetStaticInterface()->RegisterChildWindow(::sd::SpellDialogChildWindow::GetChildWindowId());
GetStaticInterface()->RegisterChildWindow(SID_SEARCH_DLG);
+#if HAVE_FEATURE_AVMEDIA
GetStaticInterface()->RegisterChildWindow(::avmedia::MediaPlayer::GetChildWindowId());
+#endif
GetStaticInterface()->RegisterChildWindow(::sfx2::sidebar::SidebarChildWindow::GetChildWindowId());
}
@@ -98,7 +102,9 @@ void GraphicViewShell::InitInterface_Impl()
GetStaticInterface()->RegisterChildWindow(SvxHlinkDlgWrapper::GetChildWindowId());
GetStaticInterface()->RegisterChildWindow(::sd::SpellDialogChildWindow::GetChildWindowId());
GetStaticInterface()->RegisterChildWindow(SID_SEARCH_DLG);
+#if HAVE_FEATURE_AVMEDIA
GetStaticInterface()->RegisterChildWindow(::avmedia::MediaPlayer::GetChildWindowId());
+#endif
GetStaticInterface()->RegisterChildWindow(::sfx2::sidebar::SidebarChildWindow::GetChildWindowId());
}