summaryrefslogtreecommitdiff
path: root/sd/source/ui/func
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-08-06 16:04:39 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-08-06 21:15:31 +0200
commitcc21480a25f1a289c7dd1bc536699fcae1457fc8 (patch)
tree1104825fee8a7c17495881a569ad5f8966f96a94 /sd/source/ui/func
parent030cdbc7f8782eb196f09661bc2f116d790de9be (diff)
make --disable-scripting compile
Change-Id: Ie2be232e062389b74408dd9f001b1cf4db7db7d6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120123 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd/source/ui/func')
-rw-r--r--sd/source/ui/func/fuexecuteinteraction.cxx3
1 files changed, 3 insertions, 0 deletions
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 <fuexecuteinteraction.hxx>
#include <app.hrc>
+#include <config_features.h>
#include <avmedia/mediawindow.hxx>
#include <basic/sbstar.hxx>
#include <config_features.h>
@@ -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;