diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2013-12-09 09:40:14 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2013-12-09 09:48:12 +0100 |
commit | 1cc1a893763c948f20463b808ea5eabe10eb7fd5 (patch) | |
tree | 7cadbd81805fbcc1026eb7b1676144ad473c4a24 /sw/qa/extras/rtfexport | |
parent | d45bc3429c859392aa9fd7932908e50b0716a39c (diff) |
abi#10201 RTF export: fix crash when handling table::BorderLineStyle::NONE
Change-Id: I811820c0d550ce24ad2180a8917ef0087968c30b
Diffstat (limited to 'sw/qa/extras/rtfexport')
-rw-r--r-- | sw/qa/extras/rtfexport/data/abi10201.rtf | 3 | ||||
-rw-r--r-- | sw/qa/extras/rtfexport/rtfexport.cxx | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/sw/qa/extras/rtfexport/data/abi10201.rtf b/sw/qa/extras/rtfexport/data/abi10201.rtf new file mode 100644 index 000000000000..08cbe0cfe743 --- /dev/null +++ b/sw/qa/extras/rtfexport/data/abi10201.rtf @@ -0,0 +1,3 @@ +{\rtf1 +{\*\do\dobxpage\dobypara\dodhgt8192\dptxbx\dptxbxmar0\dpx2914\dpy5119\dpxsize6474\dpysize221\dplinehollow0} +} diff --git a/sw/qa/extras/rtfexport/rtfexport.cxx b/sw/qa/extras/rtfexport/rtfexport.cxx index b6084cbed641..f04e315cc49b 100644 --- a/sw/qa/extras/rtfexport/rtfexport.cxx +++ b/sw/qa/extras/rtfexport/rtfexport.cxx @@ -579,6 +579,11 @@ DECLARE_RTFEXPORT_TEST(testFdo66743, "fdo66743.rtf") CPPUNIT_ASSERT_EQUAL(sal_Int32(0xd8d8d8), getProperty<sal_Int32>(xCell, "BackColor")); } +DECLARE_RTFEXPORT_TEST(testAbi10201, "abi10201.rtf") +{ + // crashtest +} + #endif CPPUNIT_PLUGIN_IMPLEMENT(); |