[Libreoffice-commits] core.git: sw/qa

Michael Stahl mstahl at redhat.com
Fri Jul 18 15:37:20 PDT 2014


 sw/qa/extras/rtfimport/data/fdo78502.rtf |    1 +
 sw/qa/extras/rtfimport/rtfimport.cxx     |    2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

New commits:
commit b9dca968c6fd0ab5ca140c65b0e54d153cd34986
Author: Michael Stahl <mstahl at redhat.com>
Date:   Sat Jul 19 00:31:50 2014 +0200

    fdo#78502: actually empty parameter to getParagraph() is not tested
    
    Change-Id: Ia0423eaa6454480979795f9443296919c44a0051

diff --git a/sw/qa/extras/rtfimport/data/fdo78502.rtf b/sw/qa/extras/rtfimport/data/fdo78502.rtf
index 37749e8..2a1baf3 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 ea9742a..06b6593 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")


More information about the Libreoffice-commits mailing list