diff options
author | jan Iversen <jani@libreoffice.org> | 2017-10-09 19:09:50 +0200 |
---|---|---|
committer | jan Iversen <jani@libreoffice.org> | 2017-10-09 19:13:54 +0200 |
commit | d9675f7a9b99b7d729b3d5318b905aaf5b2aedec (patch) | |
tree | 4f4373d419f6d6492ac9889a6483fa2cf3019c96 /sc/source/ui/view/tabvwshg.cxx | |
parent | 9f89fce1fb913339e8f9c24feef1742195c7fa40 (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/view/tabvwshg.cxx')
-rw-r--r-- | sc/source/ui/view/tabvwshg.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/ui/view/tabvwshg.cxx b/sc/source/ui/view/tabvwshg.cxx index 596d0e94e2ee..4c8ef350625a 100644 --- a/sc/source/ui/view/tabvwshg.cxx +++ b/sc/source/ui/view/tabvwshg.cxx @@ -17,6 +17,8 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <config_features.h> + #include <tools/urlobj.hxx> #include <svx/fmglob.hxx> #include <svx/svdouno.hxx> @@ -84,10 +86,12 @@ void ScTabViewShell::InsertURLButton( const OUString& rName, const OUString& rUR xPropSet->setPropertyValue("ButtonType", uno::Any(form::FormButtonType_URL) ); +#if HAVE_FEATURE_AVMEDIA if ( ::avmedia::MediaWindow::isMediaURL( rURL, ""/*TODO?*/ ) ) { xPropSet->setPropertyValue("DispatchURLInternal", uno::Any(true) ); } +#endif Point aPos; if (pInsPos) |