diff options
author | PriyankaGaikwad <priyanka.gaikwad@synerzip.com> | 2013-11-22 19:05:32 +0530 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-11-25 05:14:54 -0600 |
commit | c6e333e73b811a65526628effb21636f4f420cc5 (patch) | |
tree | dfc5d552c8de3d044e21b1ff252ad6463926def9 /sw/qa | |
parent | 82b5172954261e030a42bd6b3f4acc99807d0ee5 (diff) |
Fixed for libreoffice crashes while opening file.
Change-Id: I85a16e4ef8d75f19250115d5522046a968d5fc91
Reviewed-on: https://gerrit.libreoffice.org/6760
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/qa')
-rw-r--r-- | sw/qa/extras/ooxmlimport/data/file_crash.docx | bin | 0 -> 17243 bytes | |||
-rw-r--r-- | sw/qa/extras/ooxmlimport/ooxmlimport.cxx | 5 |
2 files changed, 5 insertions, 0 deletions
diff --git a/sw/qa/extras/ooxmlimport/data/file_crash.docx b/sw/qa/extras/ooxmlimport/data/file_crash.docx Binary files differnew file mode 100644 index 000000000000..7a233aba5c47 --- /dev/null +++ b/sw/qa/extras/ooxmlimport/data/file_crash.docx diff --git a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx index ea6f8e609b86..8f6e9311c7f8 100644 --- a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx +++ b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx @@ -1555,6 +1555,11 @@ DECLARE_OOXMLIMPORT_TEST(testFdo70457, "fdo70457.docx") CPPUNIT_ASSERT_EQUAL(sal_Int32(4500), getProperty<sal_Int32>(getShape(1), "RotateAngle")); } +DECLARE_OOXMLIMPORT_TEST(testLOCrash,"file_crash.docx") +{ + //The problem was libreoffice crash while opening the file. + getParagraph(1,"Contents"); +} #endif CPPUNIT_PLUGIN_IMPLEMENT(); |