[Libreoffice-commits] core.git: i18nlangtag/source
Tor Lillqvist
tml at collabora.com
Fri Sep 13 14:08:51 PDT 2013
i18nlangtag/source/languagetag/languagetag.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit eb35c23d03b5171736ea73de756bbc11e40c2a73
Author: Tor Lillqvist <tml at collabora.com>
Date: Sat Sep 14 00:05:01 2013 +0300
WaE: equalsIgnoreAsciiCaseAscii -> equalsIgnoreAsciiCase [loplugin]
rewrite call of rtl::OUString::equalsIgnoreAsciiCaseAscii with string literal
argument as call of rtl::OUString::equalsIgnoreAsciiCase [loplugin]
Change-Id: Ia4dcbf6f5233a5aa91c609902da0a1037bcc3a48
diff --git a/i18nlangtag/source/languagetag/languagetag.cxx b/i18nlangtag/source/languagetag/languagetag.cxx
index cfbb6ec..5987ffe 100644
--- a/i18nlangtag/source/languagetag/languagetag.cxx
+++ b/i18nlangtag/source/languagetag/languagetag.cxx
@@ -1524,7 +1524,7 @@ LanguageTag::Extraction LanguageTag::simpleExtract( const OUString& rBcp47,
// Known and handled grandfathered; ugly but effective ...
// Note that nLen must have matched above.
// Strictly not a variant, but so far we treat it as such.
- if (rBcp47.equalsIgnoreAsciiCaseAscii( "en-GB-oed"))
+ if (rBcp47.equalsIgnoreAsciiCase( "en-GB-oed"))
{
rLanguage = "en";
rScript = OUString();
More information about the Libreoffice-commits
mailing list