summaryrefslogtreecommitdiff
path: root/sw/qa/extras
diff options
context:
space:
mode:
authorJustin Luth <justin.luth@collabora.com>2020-08-26 18:22:51 +0300
committerJustin Luth <justin_luth@sil.org>2020-09-21 18:41:37 +0200
commitd08bbf4a1b1a62ef1f52665f52ed8880792c64ef (patch)
tree847642aff4fc3ec239d15944510f8ff792ec7a1b /sw/qa/extras
parentf08ddf3d3df0ef12fef36e96ffe6f5b9a7fda9e3 (diff)
tdf#132149 ww8export: always check for break at end of paragraph
Make sure to check if the next node has a page-break at the end of a split paragraph. Change-Id: Ib103d7b2f653f9ae5772ff536c041afb445903b4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101344 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Reviewed-by: Justin Luth <justin_luth@sil.org>
Diffstat (limited to 'sw/qa/extras')
-rw-r--r--sw/qa/extras/ooxmlexport/ooxmlexport15.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport15.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport15.cxx
index 6606befccaf1..09f847b64b2a 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport15.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport15.cxx
@@ -525,8 +525,8 @@ DECLARE_OOXMLEXPORT_TEST(testTdf132149_pgBreak, "tdf132149_pgBreak.odt")
assertXPath(pDump, "//page[2]/header", 0);
//Page break is not lost. This SHOULD be on page 4, but sadly it is not.
- //assertXPathContent(pDump, "//page[5]/header", "First Page Style");
- //CPPUNIT_ASSERT(getXPathContent(pDump, "//page[5]/body/txt").startsWith("Lorem ipsum"));
+ assertXPathContent(pDump, "//page[5]/header/txt", "First Page Style");
+ CPPUNIT_ASSERT(getXPathContent(pDump, "//page[5]/body/txt").startsWith("Lorem ipsum"));
}
DECLARE_OOXMLEXPORT_TEST(testTdf135949_anchoredBeforeBreak, "tdf135949_anchoredBeforeBreak.docx")