summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-05-18 19:50:03 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-05-18 19:50:03 +0200
commit8ba9f9cd1ea4175751b10e270cc39e481daf1972 (patch)
tree6a6b0295f1f2309ae9a1dca41d37214d8a546cb8
parent13bb6dcddcd3e19cd97fdb28e842c778e6e093b3 (diff)
can't compare int and sal_Int32 in CPPUNIT_ASSERT_EQUAL
Change-Id: I804e8f27197314d913d2dde138391996338458aa
-rw-r--r--sw/qa/extras/ooxmltok/ooxmltok.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/qa/extras/ooxmltok/ooxmltok.cxx b/sw/qa/extras/ooxmltok/ooxmltok.cxx
index 1238192745b6..2b639e0959ae 100644
--- a/sw/qa/extras/ooxmltok/ooxmltok.cxx
+++ b/sw/qa/extras/ooxmltok/ooxmltok.cxx
@@ -259,8 +259,8 @@ xray graphic.Size
uno::Reference<graphic::XGraphic> graphic;
imageProperties->getPropertyValue( "Graphic" ) >>= graphic;
uno::Reference<awt::XBitmap> bitmap(graphic, uno::UNO_QUERY);
- CPPUNIT_ASSERT_EQUAL( 120, bitmap->getSize().Width );
- CPPUNIT_ASSERT_EQUAL( 106, bitmap->getSize().Height );
+ CPPUNIT_ASSERT_EQUAL( static_cast<sal_Int32>(120), bitmap->getSize().Width );
+ CPPUNIT_ASSERT_EQUAL( static_cast<sal_Int32>(106), bitmap->getSize().Height );
}
CPPUNIT_TEST_SUITE_REGISTRATION(Test);