editeng/qa/unit/core-test.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit d6edd18c7bda9ca6325b1abd59de0014be33a0bb Author: Michael Stahl <mst...@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()); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits