summaryrefslogtreecommitdiff
path: root/include/sfx2/minfitem.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-08-10 19:47:45 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-08-10 22:12:04 +0200
commitc54da86b850e079b4d6f0249fe7c5956ed5c400a (patch)
treeb0da769740ca4bf6d09bfa9c917e31a2986b4929 /include/sfx2/minfitem.hxx
parentab0bb71280999ef7c11c341f5269ea98019fe4c3 (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 'include/sfx2/minfitem.hxx')
-rw-r--r--include/sfx2/minfitem.hxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/sfx2/minfitem.hxx b/include/sfx2/minfitem.hxx
index 6a3eb5a65738..ce6f8b25a3dc 100644
--- a/include/sfx2/minfitem.hxx
+++ b/include/sfx2/minfitem.hxx
@@ -16,13 +16,16 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SFX2_MINFITEM_HXX
-#define INCLUDED_SFX2_MINFITEM_HXX
+
+#pragma once
#include <rtl/ustring.hxx>
#include <sal/config.h>
#include <sfx2/dllapi.h>
#include <svl/poolitem.hxx>
+#include <config_features.h>
+
+#if HAVE_FEATURE_SCRIPTING
class BasicManager;