summaryrefslogtreecommitdiff
path: root/sc/source/ui/app/scdll.cxx
diff options
context:
space:
mode:
authorjan Iversen <jani@libreoffice.org>2017-10-09 19:09:50 +0200
committerjan Iversen <jani@libreoffice.org>2017-10-09 19:13:54 +0200
commitd9675f7a9b99b7d729b3d5318b905aaf5b2aedec (patch)
tree4f4373d419f6d6492ac9889a6483fa2cf3019c96 /sc/source/ui/app/scdll.cxx
parent9f89fce1fb913339e8f9c24feef1742195c7fa40 (diff)
sc, implement HAVE_FEATURE_AVMEDIA
iOS does not support avmedia, therefore HAVE_FEATURE_AVMEDIA is set, however not all sources test for it. Change-Id: I627d1a45420d4af093c57bc53d716d48bf3a4b00
Diffstat (limited to 'sc/source/ui/app/scdll.cxx')
-rw-r--r--sc/source/ui/app/scdll.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/ui/app/scdll.cxx b/sc/source/ui/app/scdll.cxx
index 6d557f7a2d0b..b619404a4842 100644
--- a/sc/source/ui/app/scdll.cxx
+++ b/sc/source/ui/app/scdll.cxx
@@ -17,6 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <config_features.h>
+
#include <editeng/eeitem.hxx>
#include <svx/fmobjfac.hxx>
@@ -187,7 +189,9 @@ void ScDLL::Init()
CharmapPopup::RegisterControl(SID_CHARMAP_CONTROL, pMod );
// Media Controller
+#if HAVE_FEATURE_AVMEDIA
::avmedia::MediaToolBoxControl::RegisterControl( SID_AVMEDIA_TOOLBOX, pMod );
+#endif
// Common SFX Controller
::sfx2::sidebar::SidebarChildWindow::RegisterChildWindow(false, pMod);