diff options
author | Justin Luth <justin.luth@collabora.com> | 2020-07-30 09:50:27 +0300 |
---|---|---|
committer | Justin Luth <justin_luth@sil.org> | 2020-08-08 19:31:50 +0200 |
commit | 538898d6b9a70d593d9e061f83bed1bffd3987c5 (patch) | |
tree | d357dbc78ac3e884d1b01d496279335a91a27359 /sw | |
parent | c8b7a833c8f195facf225d062adc762a07ea55b9 (diff) |
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 <justin_luth@sil.org>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/qa/extras/ooxmlexport/ooxmlexport15.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
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<uno::Reference<text::XText>>(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") |