From 1cc1a893763c948f20463b808ea5eabe10eb7fd5 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Mon, 9 Dec 2013 09:40:14 +0100 Subject: abi#10201 RTF export: fix crash when handling table::BorderLineStyle::NONE Change-Id: I811820c0d550ce24ad2180a8917ef0087968c30b --- sw/qa/extras/rtfexport/data/abi10201.rtf | 3 +++ sw/qa/extras/rtfexport/rtfexport.cxx | 5 +++++ 2 files changed, 8 insertions(+) create mode 100644 sw/qa/extras/rtfexport/data/abi10201.rtf (limited to 'sw/qa/extras/rtfexport') 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(xCell, "BackColor")); } +DECLARE_RTFEXPORT_TEST(testAbi10201, "abi10201.rtf") +{ + // crashtest +} + #endif CPPUNIT_PLUGIN_IMPLEMENT(); -- cgit v1.2.3