diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-03-05 02:00:40 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-03-05 02:05:30 +0200 |
commit | e42515549eae51fa625b2d8789f20a5065365ac5 (patch) | |
tree | 2af9385edcdd9a87361f8869349c6f4f57f82119 /svx | |
parent | af9618b29f186c3991d9225cc50b55dc78612f27 (diff) |
Sprinkle DISABLE_SCRIPTING ifdefs
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/form/fmscriptingenv.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/svx/source/form/fmscriptingenv.cxx b/svx/source/form/fmscriptingenv.cxx index d604cb22bc4e..1f7b5bf3351a 100644 --- a/svx/source/form/fmscriptingenv.cxx +++ b/svx/source/form/fmscriptingenv.cxx @@ -437,6 +437,10 @@ namespace svxform //-------------------------------------------------------------------- void FormScriptingEnvironment::doFireScriptEvent( const ScriptEvent& _rEvent, Any* _pSyncronousResult ) { +#ifdef DISABLE_SCRIPTING + (void) _rEvent; + (void) _pSyncronousResult; +#else SolarMutexClearableGuard aSolarGuard; ::osl::ClearableMutexGuard aGuard( m_aMutex ); @@ -513,6 +517,7 @@ namespace svxform SolarMutexGuard aSolarGuarsReset; xObjectShell = NULL; } +#endif } //-------------------------------------------------------------------- |