From d6bc02f8c4cd0f50f0a2631ac7634dab408efc1f Mon Sep 17 00:00:00 2001 From: Szabolcs Dezsi Date: Fri, 6 Apr 2012 19:49:53 +0200 Subject: Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator --- scripting/source/basprov/basprov.cxx | 2 +- scripting/source/stringresource/stringresource.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'scripting') diff --git a/scripting/source/basprov/basprov.cxx b/scripting/source/basprov/basprov.cxx index bb89385e4946..cbcc6d777950 100644 --- a/scripting/source/basprov/basprov.cxx +++ b/scripting/source/basprov/basprov.cxx @@ -299,7 +299,7 @@ namespace basprov { // Provider has been created with application context for user // or share - if ( !m_sScriptingContext.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "user" ) ) ) + if ( m_sScriptingContext != "user" ) { m_bIsUserCtx = false; } diff --git a/scripting/source/stringresource/stringresource.cxx b/scripting/source/stringresource/stringresource.cxx index f4274daf085d..6ecd09df6d63 100644 --- a/scripting/source/stringresource/stringresource.cxx +++ b/scripting/source/stringresource/stringresource.cxx @@ -1788,7 +1788,7 @@ void StringResourcePersistenceImpl::implScanLocaleNames( const Sequence< ::rtl:: } } } - else if( !bDefaultFound && aExtension.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "default" ) ) ) + else if( !bDefaultFound && aExtension == "default" ) { //rtl::OUString aName = aInetObj.getBase(); Locale aLocale; -- cgit