diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-08-10 19:47:45 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-08-10 22:12:04 +0200 |
commit | c54da86b850e079b4d6f0249fe7c5956ed5c400a (patch) | |
tree | b0da769740ca4bf6d09bfa9c917e31a2986b4929 /sfx2/source/control/minfitem.cxx | |
parent | ab0bb71280999ef7c11c341f5269ea98019fe4c3 (diff) |
add some --disable-scripting fixes
Change-Id: I45f08bce8e067ead82f4c73c8150b7027c083172
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120288
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2/source/control/minfitem.cxx')
-rw-r--r-- | sfx2/source/control/minfitem.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sfx2/source/control/minfitem.cxx b/sfx2/source/control/minfitem.cxx index e14b827bdbf2..8d8f0a80ac30 100644 --- a/sfx2/source/control/minfitem.cxx +++ b/sfx2/source/control/minfitem.cxx @@ -19,6 +19,9 @@ #include <sfx2/minfitem.hxx> #include <sal/log.hxx> +#include <config_features.h> + +#if HAVE_FEATURE_SCRIPTING SfxPoolItem* SfxMacroInfoItem::CreateDefault() { SAL_WARN( "sfx", "No SfxMacroInfItem factory available"); return nullptr; } @@ -67,5 +70,6 @@ OUString SfxMacroInfoItem::GetQualifiedName() const return aMacroName; } +#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |