desktop/qa/desktop_lib/test_desktop_lib.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
New commits: commit 92be65d31103827bdbd82801ea203a504dce5316 Author: Stephan Bergmann <[email protected]> Date: Wed May 31 09:54:11 2017 +0200 Avoid implementation-defined behavior when mapping non-ASCII characters ...into the basic source character set (translation phase 1) and then into the execution character set (translation phase 5). Change-Id: I3d40bb9c2a64bc62c04db0fbe09408b1911893c8 diff --git a/desktop/qa/desktop_lib/test_desktop_lib.cxx b/desktop/qa/desktop_lib/test_desktop_lib.cxx index 6862dfc0ccd6..752f2d445855 100644 --- a/desktop/qa/desktop_lib/test_desktop_lib.cxx +++ b/desktop/qa/desktop_lib/test_desktop_lib.cxx @@ -1662,7 +1662,9 @@ void DesktopLOKTest::testRedlineWriter() for (boost::property_tree::ptree::value_type& rRedline : aTree.get_child("redlines")) // This failed with boost::property_tree::ptree_bad_path, as there were no description field. - CPPUNIT_ASSERT_EQUAL(std::string("Insert âtâ"), rRedline.second.get<std::string>("description")); + CPPUNIT_ASSERT_EQUAL(std::string("Insert \xE2\x80\x9Ct\xE2\x80\x9D"), rRedline.second.get<std::string>("description")); + // U+201C LEFT DOUBLE QUOTATION MARK, U+201D RIGHT DOUBLE QUOTATION + // MARK comphelper::LibreOfficeKit::setActive(false); }
_______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
