summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--basic/Library_sb.mk8
-rw-r--r--basic/source/runtime/runtime.cxx7
2 files changed, 11 insertions, 4 deletions
diff --git a/basic/Library_sb.mk b/basic/Library_sb.mk
index 8076f0995873..b0e6e454a99b 100644
--- a/basic/Library_sb.mk
+++ b/basic/Library_sb.mk
@@ -93,18 +93,18 @@ $(eval $(call gb_Library_add_exception_objects,sb,\
basic/source/runtime/props \
basic/source/runtime/stdobj \
basic/source/runtime/stdobj1 \
- basic/source/runtime/runtime \
basic/source/classes/errobject \
))
endif
$(eval $(call gb_Library_add_exception_objects,sb,\
- basic/source/runtime/basrdll \
basic/source/classes/global \
- basic/source/runtime/methods \
- basic/source/runtime/methods1 \
basic/source/classes/sbintern \
basic/source/comp/basiccharclass \
+ basic/source/runtime/basrdll \
+ basic/source/runtime/methods \
+ basic/source/runtime/methods1 \
+ basic/source/runtime/runtime \
basic/source/sbx/sbxarray \
basic/source/sbx/sbxbool \
basic/source/sbx/sbxbyte \
diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx
index 5d3f992cf56a..35627045eda8 100644
--- a/basic/source/runtime/runtime.cxx
+++ b/basic/source/runtime/runtime.cxx
@@ -81,6 +81,8 @@ using namespace com::sun::star::script;
using namespace ::com::sun::star;
+#if HAVE_FEATURE_SCRIPTING
+
static void lcl_clearImpl( SbxVariableRef const & refVar, SbxDataType const & eType );
static void lcl_eraseImpl( SbxVariableRef const & refVar, bool bVBAEnabled );
@@ -376,6 +378,8 @@ SbiDllMgr* SbiInstance::GetDllMgr()
return pDllMgr.get();
}
+#endif
+
// #39629 create NumberFormatter with the help of a static method now
std::shared_ptr<SvNumberFormatter> const & SbiInstance::GetNumberFormatter()
{
@@ -468,6 +472,7 @@ std::shared_ptr<SvNumberFormatter> SbiInstance::PrepareNumberFormatter( sal_uInt
return pNumberFormatter;
}
+#if HAVE_FEATURE_SCRIPTING
// Let engine run. If Flags == BasicDebugFlags::Continue, take Flags over
@@ -4762,4 +4767,6 @@ void SbiRuntime::StepSTATIC( sal_uInt32 nOp1, sal_uInt32 nOp2 )
StepSTATIC_Impl( aName, t, nOp2 );
}
+#endif
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */