summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-01-14 23:01:41 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-01-16 09:14:32 +0000
commit42c261a9e459408653dd5dae548dcc5ba619cef1 (patch)
tree43b60361164d1069254f2d2197f656cfb7ba03ec /sw
parentbe13badc357b5639b8f76198dc9ff33fa6dabe88 (diff)
rhbz#1180114: writerfilter: don't crash on w:customXmlDelRangeStart etc.
We can't do anything sensible with these CustomXML elements but now we have to handle them because. (regression from 9dbf817fe5c5253fba0831aefa17575ae0ba3af1) Change-Id: If4247890ff9961a77434587802670d28608a7922 (cherry picked from commit f22964e0e622af1168e241f933e5cf98e093ec2b) Reviewed-on: https://gerrit.libreoffice.org/13913 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/qa/extras/ooxmlimport/data/rhbz1180114.docxbin0 -> 3435 bytes
-rw-r--r--sw/qa/extras/ooxmlimport/ooxmlimport.cxx5
2 files changed, 5 insertions, 0 deletions
diff --git a/sw/qa/extras/ooxmlimport/data/rhbz1180114.docx b/sw/qa/extras/ooxmlimport/data/rhbz1180114.docx
new file mode 100644
index 000000000000..23009ebbdc82
--- /dev/null
+++ b/sw/qa/extras/ooxmlimport/data/rhbz1180114.docx
Binary files differ
diff --git a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
index 27fe3d627b77..471095cb4c91 100644
--- a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
+++ b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
@@ -744,6 +744,11 @@ DECLARE_OOXMLIMPORT_TEST(testN779834, "n779834.docx")
// This document simply crashed the importer.
}
+DECLARE_OOXMLIMPORT_TEST(testRHBZ1180114, "rhbz1180114.docx")
+{
+ // This document simply crashed the importer.
+}
+
DECLARE_OOXMLIMPORT_TEST(testN779627, "n779627.docx")
{
/*