diff options
Diffstat (limited to 'sw/qa/extras/odfexport')
-rw-r--r-- | sw/qa/extras/odfexport/data/tdf130314.docx | bin | 0 -> 31668 bytes | |||
-rw-r--r-- | sw/qa/extras/odfexport/odfexport.cxx | 6 |
2 files changed, 6 insertions, 0 deletions
diff --git a/sw/qa/extras/odfexport/data/tdf130314.docx b/sw/qa/extras/odfexport/data/tdf130314.docx Binary files differnew file mode 100644 index 000000000000..592ffbf5b3b4 --- /dev/null +++ b/sw/qa/extras/odfexport/data/tdf130314.docx diff --git a/sw/qa/extras/odfexport/odfexport.cxx b/sw/qa/extras/odfexport/odfexport.cxx index 08166b3c2ccb..6c1f2d6ccff8 100644 --- a/sw/qa/extras/odfexport/odfexport.cxx +++ b/sw/qa/extras/odfexport/odfexport.cxx @@ -226,6 +226,12 @@ DECLARE_ODFEXPORT_TEST(testTdf43569, "tdf43569_conditionalfield.doc") CPPUNIT_ASSERT(xFields->hasMoreElements()); } +DECLARE_ODFEXPORT_TEST(testTdf130314, "tdf130314.docx") +{ + // Without the fix in place, this test would have hung + CPPUNIT_ASSERT_EQUAL(2, getPages()); +} + DECLARE_ODFEXPORT_TEST(testTdf103567, "tdf103567.odt") { CPPUNIT_ASSERT_EQUAL(1, getShapes()); |