diff options
Diffstat (limited to 'i18npool/source')
-rw-r--r-- | i18npool/source/indexentry/indexentrysupplier_asian.cxx | 2 | ||||
-rw-r--r-- | i18npool/source/localedata/LocaleNode.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/i18npool/source/indexentry/indexentrysupplier_asian.cxx b/i18npool/source/indexentry/indexentrysupplier_asian.cxx index 3c25ffae61aa..4cb4d7e3c353 100644 --- a/i18npool/source/indexentry/indexentrysupplier_asian.cxx +++ b/i18npool/source/indexentry/indexentrysupplier_asian.cxx @@ -89,7 +89,7 @@ IndexEntrySupplier_asian::getIndexCharacter( const OUString& rIndexEntry, if ( rLocale.Language == "zh" && OUString( "TW HK MO" ).indexOf(rLocale.Country) >= 0 ) func=(sal_uInt16** (*)(sal_Int16*))osl_getFunctionSymbol(hModule, OUString(get+rLocale.Language+"_TW_"+rAlgorithm).pData); if (!func) - func=(sal_uInt16** (*)(sal_Int16*))osl_getFunctionSymbol(hModule, OUString(get+rLocale.Language+OUString('_')+rAlgorithm).pData); + func=(sal_uInt16** (*)(sal_Int16*))osl_getFunctionSymbol(hModule, OUString(get+rLocale.Language+"_"+rAlgorithm).pData); } #else if ( rLocale.Language == "zh" && OUString( "TW HK MO" ).indexOf(rLocale.Country) >= 0 ) { diff --git a/i18npool/source/localedata/LocaleNode.cxx b/i18npool/source/localedata/LocaleNode.cxx index 681bf479a6b4..07f7d100bf5f 100644 --- a/i18npool/source/localedata/LocaleNode.cxx +++ b/i18npool/source/localedata/LocaleNode.cxx @@ -710,7 +710,7 @@ void LCFormatNode::generateCode (const OFileWriter &of) const // Ensure only one default per usage and type. if (bDefault) { - OUString aKey( aUsage + OUString( ',') + aType); + OUString aKey( aUsage + "," + aType); if (!aDefaultsSet.insert( aKey).second) { OUString aStr( "Duplicated default for usage=\""); |