summaryrefslogtreecommitdiff
path: root/desktop/qa
diff options
context:
space:
mode:
authorStephan Bergmann <stephan.bergmann@allotropia.de>2023-11-29 19:13:35 +0100
committerStephan Bergmann <stephan.bergmann@allotropia.de>2023-11-29 22:58:26 +0100
commit83a5eedb7010c236267fcca5cfac4978b9900801 (patch)
treea4839dce1711a07527871fdcf37e35b14fa6de63 /desktop/qa
parentc9bae2d26ed065bad1e490815a7606435cf63556 (diff)
Extended loplugin:ostr: desktop
Change-Id: I4d61b086c2152fec137fd979677729647bb6fd16 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160123 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Diffstat (limited to 'desktop/qa')
-rw-r--r--desktop/qa/desktop_lib/test_desktop_lib.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/qa/desktop_lib/test_desktop_lib.cxx b/desktop/qa/desktop_lib/test_desktop_lib.cxx
index d33ffb95e13f..b3410bd8eb49 100644
--- a/desktop/qa/desktop_lib/test_desktop_lib.cxx
+++ b/desktop/qa/desktop_lib/test_desktop_lib.cxx
@@ -2993,8 +2993,8 @@ void DesktopLOKTest::testTextSelectionHandles()
CPPUNIT_ASSERT_EQUAL("1898, 1418, 0, 275"_ostr, m_aTextSelectionEnd);
// deselect & check
- m_aTextSelectionStart = "";
- m_aTextSelectionEnd = "";
+ m_aTextSelectionStart = ""_ostr;
+ m_aTextSelectionEnd = ""_ostr;
pDocument->pClass->postKeyEvent(pDocument, LOK_KEYEVENT_KEYINPUT, 0, com::sun::star::awt::Key::ESCAPE);
Scheduler::ProcessEventsToIdle();
pText = pDocument->pClass->getTextSelection(pDocument, "text/plain;charset=utf-8", nullptr);