Kaydet (Commit) 8ba9f9cd authored tarafından Markus Mohrhard's avatar Markus Mohrhard

can't compare int and sal_Int32 in CPPUNIT_ASSERT_EQUAL

Change-Id: I804e8f27197314d913d2dde138391996338458aa
üst 13bb6dcd
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment