sw/qa/extras/ooxmlexport/data/tdf121661.docx |binary
 sw/qa/extras/ooxmlexport/ooxmlexport14.cxx   |    8 ++++++++
 2 files changed, 8 insertions(+)

New commits:
commit 47ce1d70a287c2e652603ba6810a6bb6745338bf
Author:     Samuel Mehrbrodt <[email protected]>
AuthorDate: Wed Nov 6 10:56:08 2019 +0100
Commit:     Samuel Mehrbrodt <[email protected]>
CommitDate: Wed Nov 6 12:47:06 2019 +0100

    tdf#121661 Add test
    
    Change-Id: I0da9ab59bbfdb5d7dfb717ac2bcff3ac74686907
    Reviewed-on: https://gerrit.libreoffice.org/82130
    Tested-by: Jenkins
    Reviewed-by: Samuel Mehrbrodt <[email protected]>

diff --git a/sw/qa/extras/ooxmlexport/data/tdf121661.docx 
b/sw/qa/extras/ooxmlexport/data/tdf121661.docx
new file mode 100644
index 000000000000..dfd2f291e339
Binary files /dev/null and b/sw/qa/extras/ooxmlexport/data/tdf121661.docx differ
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport14.cxx 
b/sw/qa/extras/ooxmlexport/ooxmlexport14.cxx
index 93d896837a36..c7f022d68311 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: [email protected]"), 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: */
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to