diff options
Diffstat (limited to 'i18npool/source/transliteration/transliteration_body.cxx')
-rw-r--r-- | i18npool/source/transliteration/transliteration_body.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/i18npool/source/transliteration/transliteration_body.cxx b/i18npool/source/transliteration/transliteration_body.cxx index b168a5e37b3a..a7eae7243835 100644 --- a/i18npool/source/transliteration/transliteration_body.cxx +++ b/i18npool/source/transliteration/transliteration_body.cxx @@ -256,8 +256,8 @@ static OUString transliterate_titlecase_Impl( // now we can properly use toTitle to get the expected result for the resolved string. // The rest of the text should just become lowercase. - aRes = xCharClassImpl->toTitle( aResolvedLigature, 0, nResolvedLen, rLocale ); - aRes += xCharClassImpl->toLower( aText, 1, aText.getLength() - 1, rLocale ); + aRes = xCharClassImpl->toTitle( aResolvedLigature, 0, nResolvedLen, rLocale ) + + xCharClassImpl->toLower( aText, 1, aText.getLength() - 1, rLocale ); offset.realloc( aRes.getLength() ); sal_Int32* pOffset = std::fill_n(offset.begin(), nResolvedLen, 0); |