summaryrefslogtreecommitdiff
path: root/sw/qa/extras/uiwriter/uiwriter6.cxx
diff options
context:
space:
mode:
authorOliver Specht <oliver.specht@cib.de>2024-04-11 08:56:17 +0200
committerThorsten Behrens <thorsten.behrens@allotropia.de>2024-04-15 19:05:14 +0200
commitb1170251fbca5b6b243902cf10695ab4c4c5642b (patch)
treed956b2d2dfa072b180a8e906685a052447ea5825 /sw/qa/extras/uiwriter/uiwriter6.cxx
parent6f99187ec29e8716e1fb9ffa18b1830048608fbc (diff)
Improve case rotation in sentence case
Rotating case (Shift+F3) applies sentence case only if multiple words are already selected or selects sentence if SENTENCE_CASE is going to be applied. Change-Id: I9e8536d7744a344d7ad54150783e91e843e0e81e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165986 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
Diffstat (limited to 'sw/qa/extras/uiwriter/uiwriter6.cxx')
-rw-r--r--sw/qa/extras/uiwriter/uiwriter6.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/sw/qa/extras/uiwriter/uiwriter6.cxx b/sw/qa/extras/uiwriter/uiwriter6.cxx
index dbc115356cca..e4303419a599 100644
--- a/sw/qa/extras/uiwriter/uiwriter6.cxx
+++ b/sw/qa/extras/uiwriter/uiwriter6.cxx
@@ -742,10 +742,6 @@ CPPUNIT_TEST_FIXTURE(SwUiWriterTest6, testTdf157988)
dispatchCommand(mxComponent, ".uno:ChangeCaseRotateCase", {});
- CPPUNIT_ASSERT(getParagraph(1)->getString().startsWith("Integer sodalesSODALES"));
-
- dispatchCommand(mxComponent, ".uno:ChangeCaseRotateCase", {});
-
CPPUNIT_ASSERT(getParagraph(1)->getString().startsWith("Integer sodales tincidunt"));
dispatchCommand(mxComponent, ".uno:ChangeCaseRotateCase", {});
@@ -764,10 +760,6 @@ CPPUNIT_TEST_FIXTURE(SwUiWriterTest6, testTdf157988)
dispatchCommand(mxComponent, ".uno:ChangeCaseRotateCase", {});
- CPPUNIT_ASSERT(getParagraph(1)->getString().startsWith("Integer sodalesSODALES"));
-
- dispatchCommand(mxComponent, ".uno:ChangeCaseRotateCase", {});
-
CPPUNIT_ASSERT(getParagraph(1)->getString().startsWith("Integer sodales tincidunt"));
dispatchCommand(mxComponent, ".uno:ChangeCaseRotateCase", {});