| commit | 47ce1d70a287c2e652603ba6810a6bb6745338bf | [log] |
|---|---|---|
| author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | Wed Nov 06 10:56:08 2019 +0100 |
| committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | Wed Nov 06 12:47:06 2019 +0100 |
| tree | 69b04a38dc4fa5da9f355e1f5a244fcbbf01861c | |
| parent | 83e97fef3fa4de900eda35d02168fcae01c85eed [diff] |
tdf#121661 Add test Change-Id: I0da9ab59bbfdb5d7dfb717ac2bcff3ac74686907 Reviewed-on: https://gerrit.libreoffice.org/82130 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
diff --git a/sw/qa/extras/ooxmlexport/data/tdf121661.docx b/sw/qa/extras/ooxmlexport/data/tdf121661.docx new file mode 100644 index 0000000..dfd2f29 --- /dev/null +++ b/sw/qa/extras/ooxmlexport/data/tdf121661.docx Binary files differ
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport14.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport14.cxx index 93d8968..c7f022d 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport14.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport14.cxx
@@ -100,6 +100,14 @@ DECLARE_OOXMLIMPORT_TEST(testTdf125038c, "tdf125038c.docx") CPPUNIT_ASSERT_EQUAL(OUString("email: test@test.test"), aActual); } DECLARE_OOXMLEXPORT_TEST(testTdf121661, "tdf121661.docx") { xmlDocPtr pXmlSettings = parseExport("word/settings.xml"); if (!pXmlSettings) return; assertXPath(pXmlSettings, "/w:settings/w:hyphenationZone", "val", "851"); } CPPUNIT_PLUGIN_IMPLEMENT(); /* vim:set shiftwidth=4 softtabstop=4 expandtab: */