| commit | 214071d946e5074bf95557edc696c913ae869be1 | [log] |
|---|---|---|
| author | Xisco Fauli <xiscofauli@libreoffice.org> | Fri Apr 17 17:32:07 2020 +0200 |
| committer | Xisco FaulĂ <xiscofauli@libreoffice.org> | Fri Apr 17 21:02:52 2020 +0200 |
| tree | acd71bf74c79c302e5e3dfe51c74c7d05a9ef8af | |
| parent | 3e20ba18f46ed8e01a523c34fbd87cfbfe01a4d8 [diff] |
tdf#48569: sw: Add unittest Change-Id: I54ae1a8f59b02007de01b33f958d01dd98c24407 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92459 Tested-by: Jenkins Reviewed-by: Xisco FaulĂ <xiscofauli@libreoffice.org>
diff --git a/sw/qa/extras/ooxmlexport/data/tdf48569.odt b/sw/qa/extras/ooxmlexport/data/tdf48569.odt new file mode 100644 index 0000000..3ae5ac3 --- /dev/null +++ b/sw/qa/extras/ooxmlexport/data/tdf48569.odt Binary files differ
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport8.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport8.cxx index 9db6f8f..63a05d4 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport8.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport8.cxx
@@ -85,6 +85,13 @@ CPPUNIT_ASSERT(eValue != text::TextContentAnchorType_AS_CHARACTER); } DECLARE_OOXMLEXPORT_TEST(testTdf48569, "tdf48569.odt") { // File crashing while saving in LO text::TextContentAnchorType eValue = getProperty<text::TextContentAnchorType>(getShape(1), "AnchorType"); CPPUNIT_ASSERT_EQUAL(text::TextContentAnchorType_AS_CHARACTER, eValue); } DECLARE_OOXMLEXPORT_TEST(testN750935, "n750935.docx") { // Some page break types were ignores, resulting in less pages.