summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu2
-rw-r--r--unotools/source/i18n/caserotate.cxx7
2 files changed, 6 insertions, 3 deletions
diff --git a/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu b/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu
index 19eb401cdead..70a80e8b31da 100644
--- a/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu
+++ b/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu
@@ -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">
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;