summaryrefslogtreecommitdiff
path: root/i18npool/source/collator/collator_unicode.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'i18npool/source/collator/collator_unicode.cxx')
-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 c05a9cb025c6..dd273e687f21 100644
--- a/i18npool/source/collator/collator_unicode.cxx
+++ b/i18npool/source/collator/collator_unicode.cxx
@@ -403,7 +403,7 @@ Collator_Unicode::loadCollatorAlgorithm(const OUString& rAlgorithm, const lang::
uppercase itself, so we don't have to bother with that.
*/
icu::Locale icuLocale( LanguageTagIcu::getIcuLocale( LanguageTag( rLocale),
- "", rAlgorithm.isEmpty() ? OUString("") : "collation=" + rAlgorithm));
+ u"", rAlgorithm.isEmpty() ? OUString("") : "collation=" + rAlgorithm));
// FIXME: apparently we get here in LOKit case only. When the language is Japanese, we pass "ja@collation=phonetic (alphanumeric first)" to ICU
// and ICU does not like this (U_ILLEGAL_ARGUMENT_ERROR). Subsequently LOKit crashes, because collator is nullptr.