summaryrefslogtreecommitdiff
path: root/sw/qa/extras
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2018-01-07 23:53:02 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2018-01-08 06:57:35 +0100
commit4f65853df16a599fe81576bbccbca6ea78488d54 (patch)
tree6c572bfccbd76914fe2949fcffc5810d62b1b13b /sw/qa/extras
parentdbf83d315acc454b576355f2e5bd8412586827ac (diff)
tdf#114882: don't try to close SDT when processing inner objects
Change-Id: Ib7e59e1a6c82d2d35a8466312a2571f76f2338b7 Reviewed-on: https://gerrit.libreoffice.org/47546 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sw/qa/extras')
-rw-r--r--sw/qa/extras/ooxmlexport/data/tdf114882.docxbin0 -> 14888 bytes
-rw-r--r--sw/qa/extras/ooxmlexport/ooxmlexport11.cxx5
2 files changed, 5 insertions, 0 deletions
diff --git a/sw/qa/extras/ooxmlexport/data/tdf114882.docx b/sw/qa/extras/ooxmlexport/data/tdf114882.docx
new file mode 100644
index 000000000000..8663f6b15557
--- /dev/null
+++ b/sw/qa/extras/ooxmlexport/data/tdf114882.docx
Binary files differ
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport11.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport11.cxx
index 00c362340ce5..46e31f89b6c8 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport11.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport11.cxx
@@ -197,6 +197,11 @@ DECLARE_OOXMLEXPORT_TEST(testTdf113399, "tdf113399.doc")
CPPUNIT_ASSERT_EQUAL(static_cast<sal_Int32>(0), nPaddingValue);
}
+DECLARE_OOXMLEXPORT_TEST(testTdf114882, "tdf114882.docx")
+{
+ // fastserializer must not fail assertion because of mismatching elements
+}
+
CPPUNIT_PLUGIN_IMPLEMENT();
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */