diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-05-22 22:32:28 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-05-22 22:33:36 +0200 |
commit | 7e656661684669b6d34d3f813d53fad9d9ffd047 (patch) | |
tree | 6f7dc7cf94ad7ee726375e4f27dc7db89e13ee96 /sw | |
parent | d3e7913eb981e728360f18f0ebe79e3057fc3315 (diff) |
++I_hate_sal_Int32
Change-Id: Id6943713ade8a77f3f72aabf2e74635875cf5249
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 b7ef2c63592e..4defe5d4d36d 100644 --- a/sw/qa/extras/ooxmltok/ooxmltok.cxx +++ b/sw/qa/extras/ooxmltok/ooxmltok.cxx @@ -255,7 +255,7 @@ xray graphic.Size uno::Reference<text::XTextDocument> textDocument(mxComponent, uno::UNO_QUERY); uno::Reference<drawing::XDrawPageSupplier> drawPageSupplier(textDocument, uno::UNO_QUERY); uno::Reference<drawing::XDrawPage> drawPage = drawPageSupplier->getDrawPage(); - CPPUNIT_ASSERT_EQUAL( 1, drawPage->getCount()); + CPPUNIT_ASSERT_EQUAL( sal_Int32( 1 ), drawPage->getCount()); uno::Reference<drawing::XShape> image; drawPage->getByIndex(0) >>= image; uno::Reference<beans::XPropertySet> imageProperties(image, uno::UNO_QUERY); @@ -282,7 +282,7 @@ xray image.FillColor uno::Reference<beans::XPropertySet> imageProperties(image, uno::UNO_QUERY); sal_Int32 fillColor; imageProperties->getPropertyValue( "FillColor" ) >>= fillColor; - CPPUNIT_ASSERT_EQUAL( 0xc0504d, fillColor ); + CPPUNIT_ASSERT_EQUAL( sal_Int32( 0xc0504d ), fillColor ); } CPPUNIT_TEST_SUITE_REGISTRATION(Test); |