[Libreoffice-commits] core.git: Branch 'libreoffice-4-3' - editeng/qa

Michael Stahl mstahl at redhat.com
Tue Dec 2 07:06:34 PST 2014


 editeng/qa/unit/core-test.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit d6edd18c7bda9ca6325b1abd59de0014be33a0bb
Author: Michael Stahl <mstahl at redhat.com>
Date:   Tue Dec 2 16:01:32 2014 +0100

    editeng: fix build
    
    Change-Id: I64d50f1b1554f7bbb1aadffd16089be2847b765a

diff --git a/editeng/qa/unit/core-test.cxx b/editeng/qa/unit/core-test.cxx
index 0264f45..0869344 100644
--- a/editeng/qa/unit/core-test.cxx
+++ b/editeng/qa/unit/core-test.cxx
@@ -578,7 +578,7 @@ void Test::testSectionAttributes()
     {
         aEngine.Clear();
         aEngine.SetText("one\ntwo");
-        CPPUNIT_ASSERT_EQUAL(2, aEngine.GetParagraphCount());
+        CPPUNIT_ASSERT_EQUAL(sal_Int32(2), aEngine.GetParagraphCount());
 
         // embolden 2nd paragraph
         pSet.reset(new SfxItemSet(aEngine.GetEmptyItemSet()));
@@ -591,7 +591,7 @@ void Test::testSectionAttributes()
 
         // now delete & join the paragraphs - this is fdo#85496 scenario
         aEngine.QuickDelete(ESelection(0,0,1,3));
-        CPPUNIT_ASSERT_EQUAL(1, aEngine.GetParagraphCount());
+        CPPUNIT_ASSERT_EQUAL(sal_Int32(1), aEngine.GetParagraphCount());
 
         boost::scoped_ptr<EditTextObject> pEditText(aEngine.CreateTextObject());
         CPPUNIT_ASSERT_MESSAGE("Failed to create text object.", pEditText.get());


More information about the Libreoffice-commits mailing list