[Libreoffice-commits] core.git: Branch 'feature/msforms' - sw/qa

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Mar 8 10:13:03 UTC 2019


 sw/qa/extras/globalfilter/globalfilter.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f9bdc711e231a49c9e7ef14bcb1f30744274c1ea
Author:     Tamás Zolnai <tamas.zolnai at collabora.com>
AuthorDate: Thu Mar 7 23:05:00 2019 +0100
Commit:     Tamás Zolnai <tamas.zolnai at collabora.com>
CommitDate: Fri Mar 8 10:05:54 2019 +0100

    Fix unit test
    
    Change-Id: I69233a3b51186817a10859a1e53375c1181a6e2b

diff --git a/sw/qa/extras/globalfilter/globalfilter.cxx b/sw/qa/extras/globalfilter/globalfilter.cxx
index 3dcdae6446b1..fd55bc0dc747 100644
--- a/sw/qa/extras/globalfilter/globalfilter.cxx
+++ b/sw/qa/extras/globalfilter/globalfilter.cxx
@@ -1080,7 +1080,7 @@ void Test::testTextFormField()
         // In the first paragraph we have an empty text form field with the placeholder spaces
         const uno::Reference< text::XTextRange > xPara = getParagraph(1);
         sal_Unicode vEnSpaces[5] = {8194, 8194, 8194, 8194, 8194};
-        CPPUNIT_ASSERT_EQUAL_MESSAGE(sFailedMessage.getStr(), OUString(vEnSpaces), xPara->getString());
+        CPPUNIT_ASSERT_EQUAL_MESSAGE(sFailedMessage.getStr(), OUString(vEnSpaces, 5), xPara->getString());
 
         // In the second paragraph we have a set text
         const uno::Reference< text::XTextRange > xPara2 = getParagraph(2);


More information about the Libreoffice-commits mailing list