[Libreoffice-commits] .: sw/qa
Lubos Lunak
llunak at kemper.freedesktop.org
Tue May 22 13:33:45 PDT 2012
sw/qa/extras/ooxmltok/ooxmltok.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 7e656661684669b6d34d3f813d53fad9d9ffd047
Author: LuboÅ¡ LuÅák <l.lunak at suse.cz>
Date: Tue May 22 22:32:28 2012 +0200
++I_hate_sal_Int32
Change-Id: Id6943713ade8a77f3f72aabf2e74635875cf5249
diff --git a/sw/qa/extras/ooxmltok/ooxmltok.cxx b/sw/qa/extras/ooxmltok/ooxmltok.cxx
index b7ef2c6..4defe5d 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);
More information about the Libreoffice-commits
mailing list