diff options
author | Justin Luth <justin_luth@sil.org> | 2016-12-06 19:20:51 +0300 |
---|---|---|
committer | Justin Luth <justin_luth@sil.org> | 2016-12-07 04:56:03 +0000 |
commit | b71c09a31c245f2fc1e1ff3760206bb121869633 (patch) | |
tree | 2991b529a2e233b1de93d85538dd2546a3af854d /sw | |
parent | f7834582a7f8ce53175f60b3ca3e62475a78f277 (diff) |
tdf#104420 writerfilter: no dummy para in headers
Change-Id: I22bf2d85e01ce5a084babdc07a11ada0790f4933
Reviewed-on: https://gerrit.libreoffice.org/31710
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Justin Luth <justin_luth@sil.org>
Diffstat (limited to 'sw')
-rwxr-xr-x | sw/qa/extras/ooxmlexport/data/tdf104420_lostParagraph.docx | bin | 0 -> 103469 bytes | |||
-rw-r--r-- | sw/qa/extras/ooxmlexport/ooxmlexport9.cxx | 6 |
2 files changed, 6 insertions, 0 deletions
diff --git a/sw/qa/extras/ooxmlexport/data/tdf104420_lostParagraph.docx b/sw/qa/extras/ooxmlexport/data/tdf104420_lostParagraph.docx Binary files differnew file mode 100755 index 000000000000..b5d998833699 --- /dev/null +++ b/sw/qa/extras/ooxmlexport/data/tdf104420_lostParagraph.docx diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport9.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport9.cxx index f4bd83e39f15..57768cd47095 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport9.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport9.cxx @@ -55,6 +55,12 @@ DECLARE_OOXMLEXPORT_TEST(testTdf89377, "tdf89377_tableWithBreakBeforeParaStyle.d CPPUNIT_ASSERT_EQUAL( 3, getPages() ); } +DECLARE_OOXMLEXPORT_TEST(testTdf104420, "tdf104420_lostParagraph.docx") +{ + // the add/remove dummy paragraph was losing an entire header and paragraph + CPPUNIT_ASSERT_EQUAL( 2, getPages() ); +} + DECLARE_OOXMLEXPORT_TEST(testTdf41542_borderlessPadding, "tdf41542_borderlessPadding.odt") { // the page style's borderless padding should force this to 3 pages, not 1 |