From d9675f7a9b99b7d729b3d5318b905aaf5b2aedec Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Mon, 9 Oct 2017 19:09:50 +0200 Subject: 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 --- sc/source/ui/view/tabvwshg.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sc/source/ui/view/tabvwshg.cxx') 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 + #include #include #include @@ -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) -- cgit