diff options
Diffstat (limited to 'basic/source/classes/eventatt.cxx')
-rw-r--r-- | basic/source/classes/eventatt.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/basic/source/classes/eventatt.cxx b/basic/source/classes/eventatt.cxx index d7f97ab7795c..a60c5c56d0ee 100644 --- a/basic/source/classes/eventatt.cxx +++ b/basic/source/classes/eventatt.cxx @@ -183,7 +183,7 @@ void BasicScriptListener_Impl::disposing(const EventObject& ) throw ( RuntimeExc void BasicScriptListener_Impl::firing_impl( const ScriptEvent& aScriptEvent, Any* pRet ) { - if( aScriptEvent.ScriptType.equalsAscii( "StarBasic" ) ) + if( aScriptEvent.ScriptType == "StarBasic" ) { // Full qualified name? OUString aMacro( aScriptEvent.ScriptCode ); @@ -219,7 +219,7 @@ void BasicScriptListener_Impl::firing_impl( const ScriptEvent& aScriptEvent, Any else if( pParent ) { OUString aName = p->GetName(); - if( aName.equalsAscii("Standard") ) + if( aName == "Standard" ) { // Own basic is doc standard lib xDocStandardBasic = static_cast<StarBASIC*>(p); @@ -233,11 +233,11 @@ void BasicScriptListener_Impl::firing_impl( const ScriptEvent& aScriptEvent, Any bool bSearchLib = true; StarBASICRef xLibSearchBasic; - if( aLocation.equalsAscii("application") ) + if( aLocation == "application" ) { xLibSearchBasic = xAppStandardBasic; } - else if( aLocation.equalsAscii("document") ) + else if( aLocation == "document" ) { xLibSearchBasic = xDocStandardBasic; } |