summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@suse.cz>2012-09-21 10:29:39 +0200
committerMiklos Vajna <vmiklos@suse.cz>2012-09-21 10:31:52 +0200
commit49eaecd04bab1239b93cb576bf1c6bdb3620f52e (patch)
tree7895fa129b315f8c3cb4008c54127db4ad9cc16b /sw
parent7b72d933f99613a0ff2105416c26c3c5baa7888c (diff)
n#779834 testcase
Change-Id: I13bc9452385fff1bdc2577ea000ba208206a2c32
Diffstat (limited to 'sw')
-rw-r--r--sw/qa/extras/ooxmlimport/data/n779834.docxbin0 -> 22624 bytes
-rw-r--r--sw/qa/extras/ooxmlimport/ooxmlimport.cxx8
2 files changed, 8 insertions, 0 deletions
diff --git a/sw/qa/extras/ooxmlimport/data/n779834.docx b/sw/qa/extras/ooxmlimport/data/n779834.docx
new file mode 100644
index 000000000000..24b6db1a446e
--- /dev/null
+++ b/sw/qa/extras/ooxmlimport/data/n779834.docx
Binary files differ
diff --git a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
index ab39e8f75248..05d7102a1a02 100644
--- a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
+++ b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
@@ -89,6 +89,7 @@ public:
void testN778140();
void testN778828();
void testInk();
+ void testN779834();
CPPUNIT_TEST_SUITE(Test);
#if !defined(MACOSX) && !defined(WNT)
@@ -124,6 +125,7 @@ public:
CPPUNIT_TEST(testN778140);
CPPUNIT_TEST(testN778828);
CPPUNIT_TEST(testInk);
+ CPPUNIT_TEST(testN779834);
#endif
CPPUNIT_TEST_SUITE_END();
@@ -859,6 +861,12 @@ void Test::testInk()
CPPUNIT_ASSERT(xServiceInfo->supportsService("com.sun.star.drawing.OpenBezierShape"));
}
+void Test::testN779834()
+{
+ // This document simply crashed the importer.
+ load("n779834.docx");
+}
+
CPPUNIT_TEST_SUITE_REGISTRATION(Test);
CPPUNIT_PLUGIN_IMPLEMENT();