sw/qa/extras/rtfimport/rtfimport.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 12efb01e38f94992ce746d20d40410229c431225 Author: Mike Kaganski <mike.kagan...@collabora.com> Date: Mon Dec 11 09:38:42 2017 +0200 Use platform-specific newline in unit test Change-Id: I7ff67ff952ecb2682a163866b91a9f2621dde935 Reviewed-on: https://gerrit.libreoffice.org/46210 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com> diff --git a/sw/qa/extras/rtfimport/rtfimport.cxx b/sw/qa/extras/rtfimport/rtfimport.cxx index ce96812b138e..2b1127a135d5 100644 --- a/sw/qa/extras/rtfimport/rtfimport.cxx +++ b/sw/qa/extras/rtfimport/rtfimport.cxx @@ -218,7 +218,7 @@ DECLARE_RTFIMPORT_TEST(testFdo45182, "fdo45182.rtf") uno::UNO_QUERY); uno::Reference<text::XTextRange> xTextRange(xFootnotes->getByIndex(0), uno::UNO_QUERY); // Encoding in the footnote was wrong. - OUString aExpected(u"\u017Eivnost\u00ED\n"); + OUString aExpected(u"\u017Eivnost\u00ED" SAL_NEWLINE_STRING); CPPUNIT_ASSERT_EQUAL(aExpected, xTextRange->getString()); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits