summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorPatrick Jaap <patrick.jaap@tu-dresden.de>2020-02-06 18:33:19 +0100
committerPatrick Jaap <patrick.jaap@tu-dresden.de>2020-02-11 15:29:27 +0100
commit6e5444959ec914f6d0979aa1e6d4d8a462d79891 (patch)
tree63d3a6b3859a89407d02a658fc3999d0e2196b34 /sw
parent020ee2fcc1a40415dca8e974cf30834667f55036 (diff)
tdf#130262 ignore negative wrap distance values in doc prop import
Change-Id: I2c06b12c958dfde09adcc2ae4c59532ffde6b6fe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88127 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com> (cherry picked from commit 8cbd7f59bb99282c4bcb60639da1263c8eb3a5e3) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88391 Reviewed-by: Patrick Jaap <patrick.jaap@tu-dresden.de>
Diffstat (limited to 'sw')
-rw-r--r--sw/qa/extras/ww8import/data/tdf130262.docbin0 -> 36864 bytes
-rw-r--r--sw/qa/extras/ww8import/ww8import.cxx5
2 files changed, 5 insertions, 0 deletions
diff --git a/sw/qa/extras/ww8import/data/tdf130262.doc b/sw/qa/extras/ww8import/data/tdf130262.doc
new file mode 100644
index 000000000000..fb60beacd79d
--- /dev/null
+++ b/sw/qa/extras/ww8import/data/tdf130262.doc
Binary files differ
diff --git a/sw/qa/extras/ww8import/ww8import.cxx b/sw/qa/extras/ww8import/ww8import.cxx
index c67f2c9385b0..468cacfd0967 100644
--- a/sw/qa/extras/ww8import/ww8import.cxx
+++ b/sw/qa/extras/ww8import/ww8import.cxx
@@ -365,6 +365,11 @@ DECLARE_WW8IMPORT_TEST(testTdf110987, "tdf110987")
CPPUNIT_ASSERT(sFilterName != "MS Word 97 Vorlage");
}
+DECLARE_WW8IMPORT_TEST(testTdf130262, "tdf130262.doc")
+{
+ // We had an infinite layout loop
+}
+
// tests should only be added to ww8IMPORT *if* they fail round-tripping in ww8EXPORT
CPPUNIT_PLUGIN_IMPLEMENT();