diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/rc/resmgr.cxx | 6 |
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() ); } } |