diff options
Diffstat (limited to 'sw/qa')
-rw-r--r-- | sw/qa/extras/ww8export/data/tdf129247.docx | bin | 0 -> 18550 bytes | |||
-rw-r--r-- | sw/qa/extras/ww8export/ww8export2.cxx | 7 |
2 files changed, 7 insertions, 0 deletions
diff --git a/sw/qa/extras/ww8export/data/tdf129247.docx b/sw/qa/extras/ww8export/data/tdf129247.docx Binary files differnew file mode 100644 index 000000000000..a5ea1c1c1601 --- /dev/null +++ b/sw/qa/extras/ww8export/data/tdf129247.docx diff --git a/sw/qa/extras/ww8export/ww8export2.cxx b/sw/qa/extras/ww8export/ww8export2.cxx index 46cae102045d..2146edd7079b 100644 --- a/sw/qa/extras/ww8export/ww8export2.cxx +++ b/sw/qa/extras/ww8export/ww8export2.cxx @@ -469,6 +469,13 @@ DECLARE_WW8EXPORT_TEST(testTdf70838b_verticalRotation, "tdf70838b_verticalRotati CPPUNIT_ASSERT_MESSAGE("Line is taller, not wider", aLine.GetHeight() > aLine.GetWidth()); } +DECLARE_WW8EXPORT_TEST( testTdf129247, "tdf129247.docx" ) +{ + CPPUNIT_ASSERT_EQUAL(1, getPages()); + // Without the fix in place, the checkbox wouldn't be exported + CPPUNIT_ASSERT_EQUAL(1, getShapes()); +} + DECLARE_WW8EXPORT_TEST( testActiveXCheckbox, "checkbox_control.odt" ) { CPPUNIT_ASSERT_EQUAL(2, getShapes()); |