summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2016-08-17 00:45:35 +0300
committerTor Lillqvist <tml@collabora.com>2016-08-17 18:16:10 +0300
commitf07b8e63fde24c04e0f496c356319440e03b4741 (patch)
treebe099be53531f4e2e3413891ad55d65f2c005f77
parenta995d607efae4ce805f2122778456c88bc34d965 (diff)
Surround use of StarBASIC with #if HAVE_FEATURE_SCRIPTING
Change-Id: I996d5c9bf07a8cccb7790780f9772d512b155ffc
-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();
}