diff options
author | Michael Stahl <mstahl@redhat.com> | 2017-02-09 13:49:18 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-02-09 13:54:18 +0100 |
commit | 816a61c93564fa8eb33079f400f1e4bda40454a3 (patch) | |
tree | 70fbf0da4665943d48770b3ebab40b89e3c8f8ab /sd | |
parent | 3f46caf7af7c10a64bff57cfdf9856e19ae25fba (diff) |
sd: argh fix the C++ integer madness again
Change-Id: I47bf134a7ef0ebcd45ec3cc2c7cf805387ecadb9
Diffstat (limited to 'sd')
-rw-r--r-- | sd/qa/unit/import-tests.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sd/qa/unit/import-tests.cxx b/sd/qa/unit/import-tests.cxx index 3ef78f28a939..502f9f2f018d 100644 --- a/sd/qa/unit/import-tests.cxx +++ b/sd/qa/unit/import-tests.cxx @@ -1556,13 +1556,13 @@ void SdImportTest::testAoo124143() // interesting ones are custom 4, 5 drawing::GluePoint2 glue4; xGluePoints->getByIdentifier(4) >>= glue4; - CPPUNIT_ASSERT_EQUAL( 2470, glue4.Position.X); - CPPUNIT_ASSERT_EQUAL(-1810, glue4.Position.Y); + CPPUNIT_ASSERT_EQUAL(sal_Int32( 2470), glue4.Position.X); + CPPUNIT_ASSERT_EQUAL(sal_Int32(-1810), glue4.Position.Y); drawing::GluePoint2 glue5; xGluePoints->getByIdentifier(5) >>= glue5; - CPPUNIT_ASSERT_EQUAL(-2975, glue5.Position.X); - CPPUNIT_ASSERT_EQUAL(-2165, glue5.Position.Y); + CPPUNIT_ASSERT_EQUAL(sal_Int32(-2975), glue5.Position.X); + CPPUNIT_ASSERT_EQUAL(sal_Int32(-2165), glue5.Position.Y); // now check connectors uno::Reference<beans::XPropertySet> const xEllipse(getShapeFromPage(1, 0, xDocShRef)); |