summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorjan Iversen <jani@libreoffice.org>2018-01-07 11:38:11 +0100
committerjan Iversen <jani@libreoffice.org>2018-01-07 14:20:06 +0100
commit8fad35be9fe598c447fb0a76c086b59a15045c8b (patch)
treebe09f2b0b52c8a5bd4b3744548c57b455632dbca /sw
parent46eeb01972bd5260ebfadb9a6cb2880e7bb547ad (diff)
sw, obey HAVE_FEATURE_AVMEDIA
added check for HAVE_FEATURE_AVMEDIA Change-Id: Ida2987564536c6d9f2b85b2599253b9252fb3881
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/app/swmodule.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/uibase/app/swmodule.cxx b/sw/source/uibase/app/swmodule.cxx
index b4c271d66852..9b901012e86c 100644
--- a/sw/source/uibase/app/swmodule.cxx
+++ b/sw/source/uibase/app/swmodule.cxx
@@ -374,8 +374,10 @@ void SwDLL::RegisterControls()
SvxCTLTextTbxCtrl::RegisterControl(SID_ATTR_PARA_LEFT_TO_RIGHT, pMod);
SvxCTLTextTbxCtrl::RegisterControl(SID_ATTR_PARA_RIGHT_TO_LEFT, pMod);
+#if HAVE_FEATURE_AVMEDIA
::avmedia::MediaToolBoxControl::RegisterControl(SID_AVMEDIA_TOOLBOX, pMod);
::avmedia::MediaPlayer::RegisterChildWindow(false, pMod);
+#endif
::sfx2::sidebar::SidebarChildWindow::RegisterChildWindow(false, pMod);