diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2017-12-11 09:38:42 +0200 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2017-12-11 10:50:29 +0100 |
commit | 12efb01e38f94992ce746d20d40410229c431225 (patch) | |
tree | 94517acfd811608f6cb880fd53fe6f033642a371 /sw/qa/extras | |
parent | 50b0f93f3e15962125fdf6e8944b4140a208c727 (diff) |
Use platform-specific newline in unit test
Change-Id: I7ff67ff952ecb2682a163866b91a9f2621dde935
Reviewed-on: https://gerrit.libreoffice.org/46210
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sw/qa/extras')
-rw-r--r-- | sw/qa/extras/rtfimport/rtfimport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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()); } |