diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2012-02-21 01:06:12 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2012-02-21 01:07:21 +0900 |
commit | 30063974396f43ef30bc6b81f0260d3fb09d17cd (patch) | |
tree | aafd11745407f9579c855b3dd9c70c40c1360f73 /unotools | |
parent | c306532e0bed1df36abf5d7ad6f0363056e69739 (diff) |
Prefer equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("..."))
to equalsIgnoreAsciiCaseAscii("...")
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/source/i18n/localedatawrapper.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unotools/source/i18n/localedatawrapper.cxx b/unotools/source/i18n/localedatawrapper.cxx index 9d55ce38b31c..977b7b94e1e6 100644 --- a/unotools/source/i18n/localedatawrapper.cxx +++ b/unotools/source/i18n/localedatawrapper.cxx @@ -1088,8 +1088,8 @@ void LocaleDataWrapper::getDigitGroupingImpl() if (!aGrouping[0]) { i18n::LanguageCountryInfo aLCInfo( getLanguageCountryInfo()); - if (aLCInfo.Country.equalsIgnoreAsciiCaseAscii( "IN") || // India - aLCInfo.Country.equalsIgnoreAsciiCaseAscii( "BT")) // Bhutan + if (aLCInfo.Country.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("IN")) || // India + aLCInfo.Country.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("BT")) ) // Bhutan { aGrouping[0] = 3; aGrouping[1] = 2; |