[Libreoffice-commits] core.git: i18nlangtag/source

Tor Lillqvist tml at collabora.com
Thu Sep 19 05:51:09 PDT 2013


 i18nlangtag/source/languagetag/languagetag.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8d0249a128e0823a2ab30f1c7f67f6b1326cffbb
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 8399865..154e70e 100644
--- a/i18nlangtag/source/languagetag/languagetag.cxx
+++ b/i18nlangtag/source/languagetag/languagetag.cxx
@@ -1883,7 +1883,7 @@ LanguageTagImpl::Extraction LanguageTagImpl::simpleExtract( const OUString& rBcp
             // 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