diff options
author | Michael Meeks <michael.meeks@suse.com> | 2013-08-20 18:26:05 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2013-08-20 19:30:59 +0000 |
commit | 1c7af455ab9345304a7ac48ce2e0310de2ac8a75 (patch) | |
tree | 4c71062081ca1990f45c33c6a3ed0ed14278bd34 /i18npool/source/transliteration | |
parent | c3164e42dcdf879ed53e235db13f498eb730bae9 (diff) |
Re-work 8bit characters in source code, or remove them.
Change-Id: I93e14d4936c0ffbe03425d4a54bb0e09bc62b3e3
Reviewed-on: https://gerrit.libreoffice.org/5550
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@suse.com>
Tested-by: Michael Meeks <michael.meeks@suse.com>
Diffstat (limited to 'i18npool/source/transliteration')
-rw-r--r-- | i18npool/source/transliteration/transliteration_body.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/i18npool/source/transliteration/transliteration_body.cxx b/i18npool/source/transliteration/transliteration_body.cxx index 1eb07f7ba577..0ab4f0b11250 100644 --- a/i18npool/source/transliteration/transliteration_body.cxx +++ b/i18npool/source/transliteration/transliteration_body.cxx @@ -276,14 +276,14 @@ static OUString transliterate_titlecase_Impl( Reference< XComponentContext > xContext = ::comphelper::getProcessComponentContext(); CharacterClassificationImpl aCharClassImpl( xContext ); - // because aCharClassImpl.toTitle does not handle ligatures or but will raise + // because aCharClassImpl.toTitle does not handle ligatures or Beta but will raise // an exception we need to handle the first chara manually... // we don't want to change surrogates by accident, thuse we use proper code point iteration sal_Int32 nPos = 0; sal_uInt32 cFirstChar = aText.iterateCodePoints( &nPos ); - OUString aResolvedLigature( &cFirstChar, 1 ); //lcl_ResolveLigature( cFirstChar ) ); - // toUpper can be used to properly resolve ligatures and characters like + OUString aResolvedLigature( &cFirstChar, 1 ); + // toUpper can be used to properly resolve ligatures and characters like Beta aResolvedLigature = aCharClassImpl.toUpper( aResolvedLigature, 0, aResolvedLigature.getLength(), rLocale ); // since toTitle will leave all-uppercase text unchanged we first need to // use toLower to bring possible 2nd and following charas in lowercase |