diff options
author | Szabolcs Dezsi <dezsiszabi@hotmail.com> | 2012-04-06 19:49:53 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2012-04-06 20:03:42 +0200 |
commit | d6bc02f8c4cd0f50f0a2631ac7634dab408efc1f (patch) | |
tree | b5a12df1fcae025715633469b75ab4c9b6f6d279 /tools/source/rc/resmgr.cxx | |
parent | 0e1c0587617e0a6e4295a13599e97cdf6d1d2ea9 (diff) |
Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Diffstat (limited to 'tools/source/rc/resmgr.cxx')
-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() ); } } |