diff options
Diffstat (limited to 'sw')
-rw-r--r-- | sw/qa/extras/ooxmlexport/data/tdf123435.docx | bin | 0 -> 27738 bytes | |||
-rw-r--r-- | sw/qa/extras/ooxmlexport/ooxmlexport13.cxx | 10 |
2 files changed, 10 insertions, 0 deletions
diff --git a/sw/qa/extras/ooxmlexport/data/tdf123435.docx b/sw/qa/extras/ooxmlexport/data/tdf123435.docx Binary files differnew file mode 100644 index 000000000000..02d8cd1e9b63 --- /dev/null +++ b/sw/qa/extras/ooxmlexport/data/tdf123435.docx diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport13.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport13.cxx index 0a35aaa7df09..cc2a19c44cd2 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport13.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport13.cxx @@ -592,6 +592,16 @@ DECLARE_OOXMLEXPORT_TEST(testInputListExport, "tdf122186_input_list.odt") } } +DECLARE_OOXMLEXPORT_TEST(testTdf123435, "tdf123435.docx") +{ + CPPUNIT_ASSERT_EQUAL(1, getPages()); + + // Without the fix in place, it would have failed with + // - Expected: 2 + // - Actual : 1 + CPPUNIT_ASSERT_EQUAL(2, getShapes()); +} + DECLARE_OOXMLEXPORT_TEST(testTdf116371, "tdf116371.odt") { CPPUNIT_ASSERT_EQUAL(1, getShapes()); |