[Libreoffice-commits] core.git: sw/qa
Michael Stahl
mstahl at redhat.com
Thu Feb 9 13:41:59 UTC 2017
sw/qa/extras/odfexport/odfexport.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit c37a53315bf4517eb9170a2f8a9fdaa0648525f7
Author: Michael Stahl <mstahl at redhat.com>
Date: Thu Feb 9 14:38:05 2017 +0100
sw: even more integers acting up
Change-Id: I55f6d49ca831ca421e7615c096cd7ac7147caf62
diff --git a/sw/qa/extras/odfexport/odfexport.cxx b/sw/qa/extras/odfexport/odfexport.cxx
index 44729d8..e513aaa 100644
--- a/sw/qa/extras/odfexport/odfexport.cxx
+++ b/sw/qa/extras/odfexport/odfexport.cxx
@@ -117,10 +117,10 @@ DECLARE_ODFEXPORT_TEST(testTdf103567, "tdf103567.odt")
// contour wrap polygon
css::drawing::PointSequenceSequence const pointss(
getProperty<css::drawing::PointSequenceSequence>(xShape, "ContourPolyPolygon"));
- CPPUNIT_ASSERT_EQUAL(1, pointss.getLength());
+ CPPUNIT_ASSERT_EQUAL(sal_Int32(1), pointss.getLength());
// for some reason this property exists with 199 points if it wasn't
// imported, that would be a fail
- CPPUNIT_ASSERT_EQUAL(5, pointss[0].getLength());
+ CPPUNIT_ASSERT_EQUAL(sal_Int32(5), pointss[0].getLength());
CPPUNIT_ASSERT_EQUAL(sal_Int32( 0), pointss[0][0].X);
CPPUNIT_ASSERT_EQUAL(sal_Int32(2672), pointss[0][0].Y);
CPPUNIT_ASSERT_EQUAL(sal_Int32( 0), pointss[0][1].X);
More information about the Libreoffice-commits
mailing list