summaryrefslogtreecommitdiffstats
path: root/scripting
diff options
context:
space:
mode:
Diffstat (limited to 'scripting')
-rw-r--r--scripting/source/basprov/basprov.cxx2
-rw-r--r--scripting/source/stringresource/stringresource.cxx2
2 files changed, 2 insertions, 2 deletions
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;