diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-08-06 16:04:39 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-08-06 21:15:31 +0200 |
commit | cc21480a25f1a289c7dd1bc536699fcae1457fc8 (patch) | |
tree | 1104825fee8a7c17495881a569ad5f8966f96a94 /svx/source/form | |
parent | 030cdbc7f8782eb196f09661bc2f116d790de9be (diff) |
make --disable-scripting compile
Change-Id: Ie2be232e062389b74408dd9f001b1cf4db7db7d6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120123
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx/source/form')
-rw-r--r-- | svx/source/form/fmscriptingenv.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/svx/source/form/fmscriptingenv.cxx b/svx/source/form/fmscriptingenv.cxx index 73ad3f83eceb..cdff131df959 100644 --- a/svx/source/form/fmscriptingenv.cxx +++ b/svx/source/form/fmscriptingenv.cxx @@ -793,6 +793,7 @@ namespace svxform impl_registerOrRevoke_throw( _rxManager, false ); } +#if HAVE_FEATURE_SCRIPTING namespace { class NewStyleUNOScript @@ -830,7 +831,7 @@ namespace svxform m_rObjectShell.CallXScript( m_sScriptCode, _rArguments, _rSynchronousResult, aOutArgsIndex, aOutArgs, true, aCaller.hasValue() ? &aCaller : nullptr ); } } - +#endif void FormScriptingEnvironment::doFireScriptEvent( const ScriptEvent& _rEvent, Any* _pSynchronousResult ) { |