sw/qa/extras/rtfimport/rtfimport.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit b82ff36ecf81091fc57a0392cfdf4271c56e2745 Author: Mike Kaganski <[email protected]> AuthorDate: Wed Jan 24 19:07:14 2024 +0600 Commit: Mike Kaganski <[email protected]> CommitDate: Wed Jan 24 18:23:57 2024 +0100 Fix build ... after commit 2cc3e16f8e3f50d0fa53f15f78bba3afe29977bd (tdf#136472 adjust ooxml import to handle first header/footer, 2023-12-04), which replaced the pre-existing SAL_NEWLINE_STRING with . Change-Id: Ic42574f1d678cd538e9aa50a42b2f81d27ff8673 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162507 Tested-by: Jenkins CollaboraOffice <[email protected]> Reviewed-by: Mike Kaganski <[email protected]> diff --git a/sw/qa/extras/rtfimport/rtfimport.cxx b/sw/qa/extras/rtfimport/rtfimport.cxx index 8345e42579df..2bf871028e28 100644 --- a/sw/qa/extras/rtfimport/rtfimport.cxx +++ b/sw/qa/extras/rtfimport/rtfimport.cxx @@ -1515,7 +1515,7 @@ CPPUNIT_TEST_FIXTURE(Test, testTdf108947) uno::Reference<text::XText> xHeaderTextLeft = getProperty<uno::Reference<text::XText>>( getStyles("PageStyles")->getByName("Default Page Style"), "HeaderTextLeft"); aActual = xHeaderTextLeft->getString(); - CPPUNIT_ASSERT_EQUAL(OUString(" Header Page 2 ?"), aActual); + CPPUNIT_ASSERT_EQUAL(OUString(SAL_NEWLINE_STRING "Header Page 2 ?"), aActual); #endif }
