summaryrefslogtreecommitdiff
path: root/basic/source/runtime/basrdll.cxx
diff options
context:
space:
mode:
authorjan Iversen <jani@libreoffice.org>2018-01-08 11:52:17 +0100
committerjan Iversen <jani@libreoffice.org>2018-01-08 13:18:36 +0100
commitee4b074ce26029092d0e5f27c22a358abe101312 (patch)
treeca40adc5ac677e61488bb4ed98103fc2be1f4bb6 /basic/source/runtime/basrdll.cxx
parent3dc21da3b01811e9e26890e3a30ea73589f36ea1 (diff)
basic, solve link problems
When not using scripting, there were a number of unresolved symbols. First aproach did not work, so this commit is the more extensive. Change-Id: Iaf78bde10d9a43862d58d1aa8f46b14aa075eddb
Diffstat (limited to 'basic/source/runtime/basrdll.cxx')
-rw-r--r--basic/source/runtime/basrdll.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/basic/source/runtime/basrdll.cxx b/basic/source/runtime/basrdll.cxx
index d84e3953284e..e7a639a5a069 100644
--- a/basic/source/runtime/basrdll.cxx
+++ b/basic/source/runtime/basrdll.cxx
@@ -29,6 +29,7 @@
#include <unotools/resmgr.hxx>
#include <strings.hrc>
#include <sbxbase.hxx>
+#include <config_features.h>
struct BasicDLL::Impl
{
@@ -85,6 +86,7 @@ void BasicDLL::BasicBreak()
{
BasicDLL* pThis = BASIC_DLL;
DBG_ASSERT( pThis, "BasicDLL::EnableBreak: No instance yet!" );
+#if HAVE_FEATURE_SCRIPTING
if ( pThis )
{
// bJustStopping: if there's someone pressing STOP like crazy umpteen times,
@@ -99,6 +101,7 @@ void BasicDLL::BasicBreak()
bJustStopping = false;
}
}
+#endif
}
SbxAppData& GetSbxData_Impl()