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

Mike Kaganski mike.kaganski at collabora.com
Mon Dec 11 09:52:47 UTC 2017


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

New commits:
commit 12efb01e38f94992ce746d20d40410229c431225
Author: Mike Kaganski <mike.kaganski at 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 <ci at libreoffice.org>
    Reviewed-by: Mike Kaganski <mike.kaganski at 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());
 }
 


More information about the Libreoffice-commits mailing list