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>
This commit is contained in:
heiko tietze 2018-03-21 10:22:52 +01:00 committed by Heiko Tietze
parent 01582612fe
commit 84f8e28d09
2 changed files with 6 additions and 3 deletions

View File

@ -2646,7 +2646,7 @@
<value xml:lang="en-US">Cycle Case</value>
</prop>
<prop oor:name="TooltipLabel" oor:type="xs:string">
<value xml:lang="en-US">Cycle Case (Title Case, UPPERCASE, lowercase)</value>
<value xml:lang="en-US">Cycle Case (Title Case, Sentence case, UPPERCASE, lowercase)</value>
</prop>
</node>
<node oor:name=".uno:ChangeCaseToHalfWidth" oor:op="replace">

View File

@ -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;