From 538898d6b9a70d593d9e061f83bed1bffd3987c5 Mon Sep 17 00:00:00 2001 From: Justin Luth Date: Thu, 30 Jul 2020 09:50:27 +0300 Subject: related tdf#135216 writerfilter: don't bRemove para with field So the lovely task of building up every possible exception where a paragraph has content without noticed character properties continues... Change-Id: I1df13f1ea96866b82f44cbbedd52bb525e0d3c2d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99761 Tested-by: Jenkins Reviewed-by: Justin Luth --- sw/qa/extras/ooxmlexport/ooxmlexport15.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sw') diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport15.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport15.cxx index 1700318a19dc..85e7097093d0 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport15.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport15.cxx @@ -108,6 +108,9 @@ DECLARE_OOXMLEXPORT_TEST(testTdf135216_evenOddFooter, "tdf135216_evenOddFooter.o xPageStyle.set(xPageStyles->getByName(pageStyleName), uno::UNO_QUERY); xFooter.set(getProperty>(xPageStyle, "FooterTextLeft")); CPPUNIT_ASSERT_EQUAL(OUString("even page"), xFooter->getString()); + + // The contents of paragraph 2 should be the page number (2) located on page 1. + getParagraph(2, "2"); } DECLARE_OOXMLEXPORT_TEST(testTdf133370_columnBreak, "tdf133370_columnBreak.odt") -- cgit