From b9dca968c6fd0ab5ca140c65b0e54d153cd34986 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Sat, 19 Jul 2014 00:31:50 +0200 Subject: [PATCH] fdo#78502: actually empty parameter to getParagraph() is not tested Change-Id: Ia0423eaa6454480979795f9443296919c44a0051 --- sw/qa/extras/rtfimport/data/fdo78502.rtf | 1 + sw/qa/extras/rtfimport/rtfimport.cxx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/sw/qa/extras/rtfimport/data/fdo78502.rtf b/sw/qa/extras/rtfimport/data/fdo78502.rtf index 37749e80033a..2a1baf3e3550 100644 --- a/sw/qa/extras/rtfimport/data/fdo78502.rtf +++ b/sw/qa/extras/rtfimport/data/fdo78502.rtf @@ -8,4 +8,5 @@ {\listname ;} \listid297210762 } } +foo \par } diff --git a/sw/qa/extras/rtfimport/rtfimport.cxx b/sw/qa/extras/rtfimport/rtfimport.cxx index ea9742a3f5cc..06b659385ab7 100644 --- a/sw/qa/extras/rtfimport/rtfimport.cxx +++ b/sw/qa/extras/rtfimport/rtfimport.cxx @@ -1044,7 +1044,7 @@ DECLARE_RTFIMPORT_TEST(testFdo58646line, "fdo58646line.rtf") DECLARE_RTFIMPORT_TEST(testFdo78502, "fdo78502.rtf") { // ";" separators were inserted as text - getParagraph(1, ""); + getParagraph(1, "foo"); } DECLARE_RTFIMPORT_TEST(testFdo58646, "fdo58646.rtf")