sw/qa/extras/ooxmlexport/data/tdf88126.docx |binary sw/qa/extras/ooxmlexport/ooxmlexport15.cxx | 6 ++++++ 2 files changed, 6 insertions(+)
New commits: commit 60dbe21f59a45889c433727d0862c9a4274d94d2 Author: Xisco Fauli <xiscofa...@libreoffice.org> AuthorDate: Fri Oct 30 14:40:00 2020 +0100 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Fri Oct 30 16:33:46 2020 +0100 tdf#88126: sw_ooxmlexport15: Add unittest Change-Id: If150e6f7c9a0ccd203674c3c00fb40231b3d6a8c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105069 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> diff --git a/sw/qa/extras/ooxmlexport/data/tdf88126.docx b/sw/qa/extras/ooxmlexport/data/tdf88126.docx new file mode 100644 index 000000000000..9d4d2d5d0f8c Binary files /dev/null and b/sw/qa/extras/ooxmlexport/data/tdf88126.docx differ diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport15.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport15.cxx index a9618eb20145..c2466dc809e6 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport15.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport15.cxx @@ -105,6 +105,12 @@ DECLARE_OOXMLEXPORT_TEST(testTdf133334_followPgStyle, "tdf133334_followPgStyle.o CPPUNIT_ASSERT_EQUAL(2, getPages()); } +DECLARE_OOXMLEXPORT_TEST(testTdf88126, "tdf88126.docx") +{ + // Without the fix in place, this test would have hung + CPPUNIT_ASSERT_EQUAL(11, getPages()); +} + DECLARE_OOXMLEXPORT_EXPORTONLY_TEST(testTdf118701, "tdf118701.docx") { // This was 6, related to moving inline images after the page breaks _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits