| commit | 0b072e279f5f775a4cd64d9b1275e5ab17d50f05 | [log] |
|---|---|---|
| author | Xisco Fauli <xiscofauli@libreoffice.org> | Tue Mar 02 15:26:14 2021 +0100 |
| committer | Xisco Fauli <xiscofauli@libreoffice.org> | Wed Mar 03 08:53:06 2021 +0100 |
| tree | 50007abf7eddc066724d4152ffdeb74dddc544c8 | |
| parent | a9f82c7c6ac645dd9263b435dbc7695951a70098 [diff] |
tdf138771: sw_ooxmlexport16: Add unittest Change-Id: Ia1d2020b621233231f63bd5bbaacb5e75b38b48f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111836 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
diff --git a/sw/qa/extras/ooxmlexport/data/tdf138771.docx b/sw/qa/extras/ooxmlexport/data/tdf138771.docx new file mode 100644 index 0000000..70b0355 --- /dev/null +++ b/sw/qa/extras/ooxmlexport/data/tdf138771.docx Binary files differ
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport16.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport16.cxx index f53078d..b7af0c5 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport16.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport16.cxx
@@ -84,6 +84,12 @@ CPPUNIT_ASSERT_EQUAL(1, getPages()); } DECLARE_OOXMLEXPORT_TEST(testTdf138771, "tdf138771.docx") { // Don't crash when document is imported CPPUNIT_ASSERT_EQUAL(1, getPages()); } DECLARE_OOXMLEXPORT_EXPORTONLY_TEST(testTdf134619_numberingProps, "tdf134619_numberingProps.doc") { // Get the third paragraph's numbering style's 1st level's bullet size