From ac2c1fb821b45f2382a5104b4d98dc08061ae938 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sat, 19 Oct 2019 13:24:01 +0200 Subject: Replace some uses of OUStringChar with string literals Change-Id: I763f9a3f57efcd47643ca4651e2454e95c6921c9 Reviewed-on: https://gerrit.libreoffice.org/81127 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- sw/qa/extras/uiwriter/uiwriter.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw/qa') diff --git a/sw/qa/extras/uiwriter/uiwriter.cxx b/sw/qa/extras/uiwriter/uiwriter.cxx index 2b1b04f8ae80..afbe37ce21aa 100644 --- a/sw/qa/extras/uiwriter/uiwriter.cxx +++ b/sw/qa/extras/uiwriter/uiwriter.cxx @@ -6945,7 +6945,7 @@ void SwUiWriterTest::testTdf108423() pWrtShell->AutoCorrect(corr, cChar); // The word "i" should be capitalized due to autocorrect, followed by a typographical apostrophe sal_uLong nIndex = pWrtShell->GetCursor()->GetNode().GetIndex(); - OUString sIApostrophe(u"I" + OUStringChar(0x2019)); + OUString sIApostrophe(u"I\u2019"); CPPUNIT_ASSERT_EQUAL(sIApostrophe, static_cast(pDoc->GetNodes()[nIndex])->GetText()); pWrtShell->Insert(" i"); pWrtShell->AutoCorrect(corr, cChar); -- cgit