diff options
author | Eike Rathke <erack@redhat.com> | 2013-09-19 12:43:55 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-09-19 13:08:28 +0200 |
commit | 1eccc6dedf5710cf3009c15fcbe1b44a8dd393fb (patch) | |
tree | b8e809adf22f5a717fb4f89f069c5ea06ec54b61 /i18nlangtag/source/languagetag | |
parent | 0b498f34972451cfa6e39ea15807c6a2a2afb95a (diff) |
use equalsIgnoreAsciiCaseAscii() with ASCII string
... instead of equalsIgnoreAsciiCase() that converts to OUString first
Change-Id: I20e6ac93e1af40b01285e49670770d0e4c453dfa
Diffstat (limited to 'i18nlangtag/source/languagetag')
-rw-r--r-- | i18nlangtag/source/languagetag/languagetag.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/i18nlangtag/source/languagetag/languagetag.cxx b/i18nlangtag/source/languagetag/languagetag.cxx index 7f70186f439b..20d542bce11a 100644 --- a/i18nlangtag/source/languagetag/languagetag.cxx +++ b/i18nlangtag/source/languagetag/languagetag.cxx @@ -1858,7 +1858,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.equalsIgnoreAsciiCase( "en-GB-oed")) + if (rBcp47.equalsIgnoreAsciiCaseAscii( "en-GB-oed")) { rLanguage = "en"; rScript = OUString(); |