summaryrefslogtreecommitdiffstats
path: root/i18npool/source/collator
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-12 12:20:12 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-12 12:20:12 +0100
commit2c571050006940a3a0be776efd8ad3b2854a1814 (patch)
tree923ef768e55f2ae4f056c81bc95b46bdc7b4354e /i18npool/source/collator
parentfix commit (diff)
downloadcore-2c571050006940a3a0be776efd8ad3b2854a1814.tar.gz
core-2c571050006940a3a0be776efd8ad3b2854a1814.zip
i18npool: Use appropriate OUString functions on string constants
Change-Id: I82fea345a05c0327af3b75ccfd3358f54523c082
Diffstat (limited to 'i18npool/source/collator')
-rw-r--r--i18npool/source/collator/collator_unicode.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/i18npool/source/collator/collator_unicode.cxx b/i18npool/source/collator/collator_unicode.cxx
index ac05363f7e28..457f266e4985 100644
--- a/i18npool/source/collator/collator_unicode.cxx
+++ b/i18npool/source/collator/collator_unicode.cxx
@@ -139,7 +139,7 @@ Collator_Unicode::loadCollatorAlgorithm(const OUString& rAlgorithm, const lang::
collator = new RuleBasedCollator(reinterpret_cast<const UChar *>(rule.getStr()), status); // UChar != sal_Unicode in MinGW
if (! U_SUCCESS(status)) throw RuntimeException();
}
- if (!collator && OUString::createFromAscii(LOCAL_RULE_LANGS).indexOf(rLocale.Language) >= 0) {
+ if (!collator && OUString(LOCAL_RULE_LANGS).indexOf(rLocale.Language) >= 0) {
const sal_uInt8* (*func)() = NULL;
size_t (*funclen)() = NULL;