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

Stephan Bergmann sbergman at redhat.com
Thu Jun 12 06:35:13 PDT 2014


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

New commits:
commit 809c8d4c990e77cd8ba52672be7c5e77aae4e90e
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Jun 12 15:34:49 2014 +0200

    Spell out UTF-8
    
    Change-Id: Iea5f79fb12ac86d4348f46f8ad93a13aaf0f7eb6

diff --git a/sw/qa/extras/rtfexport/rtfexport.cxx b/sw/qa/extras/rtfexport/rtfexport.cxx
index ce91526..0c78227 100644
--- a/sw/qa/extras/rtfexport/rtfexport.cxx
+++ b/sw/qa/extras/rtfexport/rtfexport.cxx
@@ -320,7 +320,7 @@ DECLARE_RTFEXPORT_TEST(testMathRuns, "math-runs.rtf")
 DECLARE_RTFEXPORT_TEST(testFdo77979, "fdo77979.odt")
 {
     // font name is encoded with \fcharset of font
-    CPPUNIT_ASSERT_EQUAL(OUString("微软雅黑", 12, RTL_TEXTENCODING_UTF8),
+    CPPUNIT_ASSERT_EQUAL(OUString("\xE5\xBE\xAE\xE8\xBD\xAF\xE9\x9B\x85\xE9\xBB\x91", 12, RTL_TEXTENCODING_UTF8),
             getProperty<OUString>(getRun(getParagraph(1), 1), "CharFontName"));
 }
 


More information about the Libreoffice-commits mailing list