summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
Diffstat (limited to 'svx')
-rw-r--r--svx/source/form/fmscriptingenv.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/svx/source/form/fmscriptingenv.cxx b/svx/source/form/fmscriptingenv.cxx
index b79d42151394..f66be66fbe02 100644
--- a/svx/source/form/fmscriptingenv.cxx
+++ b/svx/source/form/fmscriptingenv.cxx
@@ -790,7 +790,9 @@ namespace svxform
throw(css::frame::TerminationVetoException, css::uno::RuntimeException, std::exception) override
{
mbQuitBlocked = true;
+#if HAVE_FEATURE_SCRIPTING
StarBASIC::Stop();
+#endif
throw css::frame::TerminationVetoException();
}