summaryrefslogtreecommitdiff
path: root/tools/source/rc/resmgr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tools/source/rc/resmgr.cxx')
-rw-r--r--tools/source/rc/resmgr.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/tools/source/rc/resmgr.cxx b/tools/source/rc/resmgr.cxx
index bc4e4ad65119..5a70c10e95f1 100644
--- a/tools/source/rc/resmgr.cxx
+++ b/tools/source/rc/resmgr.cxx
@@ -266,11 +266,7 @@ namespace
{
bool isAlreadyPureenUS(const com::sun::star::lang::Locale &rLocale)
{
- return (
- rLocale.Language.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("en")) &&
- rLocale.Country.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("US")) &&
- rLocale.Variant.isEmpty()
- );
+ return ( rLocale.Language == "en" && rLocale.Country == "US" && rLocale.Variant.isEmpty() );
}
}