diff options
author | heiko tietze <tietze.heiko@gmail.com> | 2018-03-21 10:22:52 +0100 |
---|---|---|
committer | Heiko Tietze <tietze.heiko@gmail.com> | 2018-03-26 14:58:23 +0200 |
commit | 84f8e28d092676aad830a9fbae8145a57c6301bc (patch) | |
tree | 0323021aff1b11324ffe6b5af05f77dc8b54601e /unotools/source | |
parent | 01582612fe1283025685b09d23aba27435696c92 (diff) |
tdf#116315 - Cycle Case including Sentence case
Sentence case added at position #2 in the sequence
Change-Id: I99b5afb44260b1a40c7ceb906f729e339aaefd13
Reviewed-on: https://gerrit.libreoffice.org/51696
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Heiko Tietze <tietze.heiko@gmail.com>
Diffstat (limited to 'unotools/source')
-rw-r--r-- | unotools/source/i18n/caserotate.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/unotools/source/i18n/caserotate.cxx b/unotools/source/i18n/caserotate.cxx index d4921e9053ef..a242b855ec29 100644 --- a/unotools/source/i18n/caserotate.cxx +++ b/unotools/source/i18n/caserotate.cxx @@ -22,11 +22,14 @@ TransliterationFlags RotateTransliteration::getNextMode() case 0: nMode = TransliterationFlags::TITLE_CASE; break; - case 1: + case 1: //tdf#116315 + nMode = TransliterationFlags::SENTENCE_CASE; + break; + case 2: nMode = TransliterationFlags::LOWERCASE_UPPERCASE; break; default: - case 2: + case 3: nMode = TransliterationFlags::UPPERCASE_LOWERCASE; nF3ShiftCounter = -1; break; |