[Libreoffice-commits] core.git: sw/qa

Stephan Bergmann sbergman at redhat.com
Thu Sep 21 11:08:34 UTC 2017


 sw/qa/extras/rtfexport/rtfexport2.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d3040663f0a1f4a9c88cb129e4c5c06416614218
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Sep 21 13:07:59 2017 +0200

    Clean up construction of one non-ASCII-literal OUString
    
    ...in preparation of a change coming there soon
    
    Change-Id: I8861dbd47d0e514cd1c5dc0bb978724ae687f01c

diff --git a/sw/qa/extras/rtfexport/rtfexport2.cxx b/sw/qa/extras/rtfexport/rtfexport2.cxx
index e921c6e801a2..7b5d82da3f8e 100644
--- a/sw/qa/extras/rtfexport/rtfexport2.cxx
+++ b/sw/qa/extras/rtfexport/rtfexport2.cxx
@@ -1507,7 +1507,7 @@ DECLARE_RTFEXPORT_TEST(testFdo85889mac, "fdo85889-mac.rtf")
 
 DECLARE_RTFEXPORT_TEST(testFdo72031, "fdo72031.rtf")
 {
-    OUString aExpected("\xc3\x85", 2, RTL_TEXTENCODING_UTF8);
+    OUString aExpected(u"\u00C5");
     CPPUNIT_ASSERT_EQUAL(aExpected, getRun(getParagraph(1), 1)->getString());
 }
 


More information about the Libreoffice-commits mailing list