diff options
Diffstat (limited to 'svx/source/form/fmscriptingenv.cxx')
-rw-r--r-- | svx/source/form/fmscriptingenv.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/form/fmscriptingenv.cxx b/svx/source/form/fmscriptingenv.cxx index a36cb1e3526a..e69d9974a3fb 100644 --- a/svx/source/form/fmscriptingenv.cxx +++ b/svx/source/form/fmscriptingenv.cxx @@ -727,8 +727,8 @@ namespace svxform void SAL_CALL FormScriptListener::firing( const ScriptEvent& _rEvent ) throw (RuntimeException, std::exception) { ::osl::ClearableMutexGuard aGuard( m_aMutex ); - static const OUString vbaInterOp("VBAInterop"); - if ( _rEvent.ScriptType.equals(vbaInterOp) ) + static const char vbaInterOp[] = "VBAInterop"; + if ( _rEvent.ScriptType == vbaInterOp ) return; // not handled here if ( impl_isDisposed_nothrow() ) |