summaryrefslogtreecommitdiff
path: root/sc/CppunitTest_sc_tableautoformatfield.mk
diff options
context:
space:
mode:
Diffstat (limited to 'sc/CppunitTest_sc_tableautoformatfield.mk')
-rw-r--r--sc/CppunitTest_sc_tableautoformatfield.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/CppunitTest_sc_tableautoformatfield.mk b/sc/CppunitTest_sc_tableautoformatfield.mk
index 23cab33b98cc..94b311049ed4 100644
--- a/sc/CppunitTest_sc_tableautoformatfield.mk
+++ b/sc/CppunitTest_sc_tableautoformatfield.mk
@@ -103,7 +103,8 @@ $(eval $(call gb_CppunitTest_use_components,sc_tableautoformatfield,\
sc/util/sc \
sc/util/scd \
sc/util/scfilt \
- sc/util/vbaobj \
+ $(if $(filter TRUE,$(DISABLE_SCRIPTING)),, \
+ sc/util/vbaobj) \
scripting/source/basprov/basprov \
scripting/util/scriptframe \
sfx2/util/sfx \