summaryrefslogtreecommitdiff
path: root/sw/qa
diff options
context:
space:
mode:
Diffstat (limited to 'sw/qa')
-rw-r--r--sw/qa/extras/odfexport/data/tdf130950.odtbin0 -> 28785 bytes
-rw-r--r--sw/qa/extras/odfexport/odfexport.cxx7
2 files changed, 7 insertions, 0 deletions
diff --git a/sw/qa/extras/odfexport/data/tdf130950.odt b/sw/qa/extras/odfexport/data/tdf130950.odt
new file mode 100644
index 000000000000..a669cb87b53d
--- /dev/null
+++ b/sw/qa/extras/odfexport/data/tdf130950.odt
Binary files differ
diff --git a/sw/qa/extras/odfexport/odfexport.cxx b/sw/qa/extras/odfexport/odfexport.cxx
index 8e8da439d3f3..43a9a2ab1286 100644
--- a/sw/qa/extras/odfexport/odfexport.cxx
+++ b/sw/qa/extras/odfexport/odfexport.cxx
@@ -468,6 +468,13 @@ DECLARE_ODFEXPORT_TEST(testTdf131621, "tdf131621.ott")
CPPUNIT_ASSERT_EQUAL( 1, getPages() );
}
+DECLARE_ODFEXPORT_TEST(testTdf130950, "tdf130950.odt")
+{
+ //Crashes at import time
+ CPPUNIT_ASSERT_EQUAL(1, getPages());
+ CPPUNIT_ASSERT_EQUAL(2, getShapes());
+}
+
DECLARE_ODFEXPORT_TEST(testFdo38244, "fdo38244.odt")
{
CPPUNIT_ASSERT_EQUAL(1, getPages());