summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-12-02 16:01:32 +0100
committerAndras Timar <andras.timar@collabora.com>2014-12-03 08:18:44 -0800
commit5ba491c476fc434fffbae7a0413a0ec611c5bb7b (patch)
treef1b53846a919c1339f1d781961932ce9ee1ed4e1 /editeng
parentb148f73477c69dfd9ea18bdf28e745ced4e41b14 (diff)
editeng: fix build
Change-Id: I64d50f1b1554f7bbb1aadffd16089be2847b765a (cherry picked from commit d6edd18c7bda9ca6325b1abd59de0014be33a0bb)
Diffstat (limited to 'editeng')
-rw-r--r--editeng/qa/unit/core-test.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/editeng/qa/unit/core-test.cxx b/editeng/qa/unit/core-test.cxx
index 3d5bd8154cca..1f02e3a8ce28 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());