diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2019-11-06 10:56:08 +0100 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2019-11-06 12:47:06 +0100 |
commit | 47ce1d70a287c2e652603ba6810a6bb6745338bf (patch) | |
tree | 69b04a38dc4fa5da9f355e1f5a244fcbbf01861c /sw | |
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>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/qa/extras/ooxmlexport/data/tdf121661.docx | bin | 0 -> 20885 bytes | |||
-rw-r--r-- | sw/qa/extras/ooxmlexport/ooxmlexport14.cxx | 8 |
2 files changed, 8 insertions, 0 deletions
diff --git a/sw/qa/extras/ooxmlexport/data/tdf121661.docx b/sw/qa/extras/ooxmlexport/data/tdf121661.docx Binary files differnew file mode 100644 index 000000000000..dfd2f291e339 --- /dev/null +++ b/sw/qa/extras/ooxmlexport/data/tdf121661.docx 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: 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: */ |