From cc21480a25f1a289c7dd1bc536699fcae1457fc8 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 6 Aug 2021 16:04:39 +0100 Subject: make --disable-scripting compile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ie2be232e062389b74408dd9f001b1cf4db7db7d6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120123 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- sd/source/ui/func/fuexecuteinteraction.cxx | 3 +++ sd/source/ui/slideshow/slideshowimpl.cxx | 2 ++ 2 files changed, 5 insertions(+) (limited to 'sd') diff --git a/sd/source/ui/func/fuexecuteinteraction.cxx b/sd/source/ui/func/fuexecuteinteraction.cxx index 8b037c41bed5..981fc8bac024 100644 --- a/sd/source/ui/func/fuexecuteinteraction.cxx +++ b/sd/source/ui/func/fuexecuteinteraction.cxx @@ -20,6 +20,7 @@ #include #include +#include #include #include #include @@ -195,6 +196,7 @@ void FuExecuteInteraction::DoExecute(SfxRequest&) } break; +#if HAVE_FEATURE_SCRIPTING case presentation::ClickAction_MACRO: { // Execute macro @@ -223,6 +225,7 @@ void FuExecuteInteraction::DoExecute(SfxRequest&) } } break; +#endif default: break; diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx index dc3b3bef239a..6e4e30ad7183 100644 --- a/sd/source/ui/slideshow/slideshowimpl.cxx +++ b/sd/source/ui/slideshow/slideshowimpl.cxx @@ -1509,6 +1509,7 @@ void SlideshowImpl::click( const Reference< XShape >& xShape ) } break; +#if HAVE_FEATURE_SCRIPTING case presentation::ClickAction_MACRO: { const OUString aMacro( pEvent->maStrBookmark ); @@ -1537,6 +1538,7 @@ void SlideshowImpl::click( const Reference< XShape >& xShape ) } } break; +#endif case ClickAction_VERB: { -- cgit