summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-07-19 00:31:50 +0200
committerMichael Stahl <mstahl@redhat.com>2014-07-19 00:32:53 +0200
commitb9dca968c6fd0ab5ca140c65b0e54d153cd34986 (patch)
tree62171ea7797ea37f527d82593c13048dc807426e
parent1e6ff8f7f8b5322bed7a1b4483f2f483b00212ba (diff)
fdo#78502: actually empty parameter to getParagraph() is not tested
Change-Id: Ia0423eaa6454480979795f9443296919c44a0051
-rw-r--r--sw/qa/extras/rtfimport/data/fdo78502.rtf1
-rw-r--r--sw/qa/extras/rtfimport/rtfimport.cxx2
2 files changed, 2 insertions, 1 deletions
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")