diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-05-18 19:50:03 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-05-18 19:50:03 +0200 |
commit | 8ba9f9cd1ea4175751b10e270cc39e481daf1972 (patch) | |
tree | 6a6b0295f1f2309ae9a1dca41d37214d8a546cb8 /sw | |
parent | 13bb6dcddcd3e19cd97fdb28e842c778e6e093b3 (diff) |
can't compare int and sal_Int32 in CPPUNIT_ASSERT_EQUAL
Change-Id: I804e8f27197314d913d2dde138391996338458aa
Diffstat (limited to 'sw')
-rw-r--r-- | sw/qa/extras/ooxmltok/ooxmltok.cxx | 4 |
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); |