sw/qa/extras/ooxmlexport/data/tdf132305.docx |binary sw/qa/extras/ooxmlexport/ooxmlexport4.cxx | 6 ++++++ 2 files changed, 6 insertions(+)
New commits: commit 781a1a82231ee4b95733dfb76249224948d6d894 Author: Xisco Fauli <xiscofa...@libreoffice.org> AuthorDate: Tue Apr 28 16:07:59 2020 +0200 Commit: Xisco FaulĂ <xiscofa...@libreoffice.org> CommitDate: Tue Apr 28 19:03:49 2020 +0200 tdf#132305: sw: Add unittest Change-Id: I32ad69404b4d6cd25ec887567bb4733a59f267da Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93079 Tested-by: Jenkins Reviewed-by: Xisco FaulĂ <xiscofa...@libreoffice.org> diff --git a/sw/qa/extras/ooxmlexport/data/tdf132305.docx b/sw/qa/extras/ooxmlexport/data/tdf132305.docx new file mode 100644 index 000000000000..e6b9ad6b70d0 Binary files /dev/null and b/sw/qa/extras/ooxmlexport/data/tdf132305.docx differ diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport4.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport4.cxx index 12f6cb0677d7..ef3f5e6fc259 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport4.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport4.cxx @@ -625,6 +625,12 @@ DECLARE_OOXMLEXPORT_EXPORTONLY_TEST(test_OpeningBrace, "2120112713_OpenBrace.doc assertXPath(pXmlDoc, "/w:document/w:body/w:p[1]/m:oMath[1]/m:d[1]/m:dPr[1]/m:begChr[1]","val",""); } +DECLARE_OOXMLEXPORT_EXPORTONLY_TEST(test_Tdf132305, "tdf132305.docx") +{ + xmlDocPtr pXmlDoc = parseExport("word/document.xml"); + assertXPath(pXmlDoc, "/w:document/w:body/w:p[1]/m:oMath[1]/m:bar/m:barPr/m:pos","val","top"); +} + // Checks that all runs of the field have text properties. // Old behaviour: only first run has text properties of the field // _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits