sw/qa/extras/ooxmlexport/data/tdf48569.odt |binary sw/qa/extras/ooxmlexport/ooxmlexport8.cxx | 7 +++++++ 2 files changed, 7 insertions(+)
New commits: commit 214071d946e5074bf95557edc696c913ae869be1 Author: Xisco Fauli <xiscofa...@libreoffice.org> AuthorDate: Fri Apr 17 17:32:07 2020 +0200 Commit: Xisco FaulĂ <xiscofa...@libreoffice.org> CommitDate: Fri Apr 17 21:02:52 2020 +0200 tdf#48569: sw: Add unittest Change-Id: I54ae1a8f59b02007de01b33f958d01dd98c24407 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92459 Tested-by: Jenkins Reviewed-by: Xisco FaulĂ <xiscofa...@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 000000000000..3ae5ac3939e9 Binary files /dev/null and b/sw/qa/extras/ooxmlexport/data/tdf48569.odt differ diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport8.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport8.cxx index 9db6f8f09974..63a05d48cd9b 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport8.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport8.cxx @@ -85,6 +85,13 @@ DECLARE_OOXMLEXPORT_TEST(testN751054, "n751054.docx") 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. _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits