summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-12-02 07:54:10 +0200
committerMichael Stahl <mstahl@redhat.com>2014-12-02 17:51:45 +0100
commit0254d9ece49917d691c92d898de46ec40e2b8cd4 (patch)
treed7ebc1400432ee08a9990237f5e65f07188c08e2 /editeng
parenta757e1b1300dde12fb865c1efd64bfd2bef00e2c (diff)
Adapt to int/sal_Int32 mismatch on 32-bit build
Change-Id: Ifef81d53bee4241be3c0dd6b7ddb2c1bbf419b5e (cherry picked from commit 9bdde8b420265c7e77f4b310fb4c1214b715aa72)
Diffstat (limited to 'editeng')
-rw-r--r--editeng/qa/unit/core-test.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/qa/unit/core-test.cxx b/editeng/qa/unit/core-test.cxx
index ae4a946bcd0f..4674311c09b4 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(static_cast<sal_Int32>(2), aEngine.GetParagraphCount());
// embolden 2nd paragraph
pSet.reset(new SfxItemSet(aEngine.GetEmptyItemSet()));