diff options
author | Noel Grandin <noel@peralex.com> | 2020-11-13 15:15:47 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-11-13 21:01:27 +0100 |
commit | 8182a3e03cf9eb50e43347a288bacefbed98c497 (patch) | |
tree | 45ce3eb4bc7bf3ee2e56de8ae4965d55fe6be062 /sd/qa/unit/import-tests.cxx | |
parent | e0df85554b533fab67a5a91193024e4876c5ec02 (diff) |
fix some tools::Long fallout
Change-Id: I8c15b0ee8400c3b540154bc38c51cbf04b6c3850
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105794
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/qa/unit/import-tests.cxx')
-rw-r--r-- | sd/qa/unit/import-tests.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sd/qa/unit/import-tests.cxx b/sd/qa/unit/import-tests.cxx index 6e6b08d2bad2..acac88729506 100644 --- a/sd/qa/unit/import-tests.cxx +++ b/sd/qa/unit/import-tests.cxx @@ -1795,10 +1795,10 @@ void SdImportTest::testTdf103473() SdrTextObj *const pObj = dynamic_cast<SdrTextObj *const>(pPage->GetObj(0)); CPPUNIT_ASSERT(pObj); ::tools::Rectangle aRect = pObj->GetGeoRect(); - CPPUNIT_ASSERT_EQUAL(3629L, aRect.Left()); - CPPUNIT_ASSERT_EQUAL(4431L, aRect.Top()); - CPPUNIT_ASSERT_EQUAL(8353L, aRect.Right()); - CPPUNIT_ASSERT_EQUAL(9155L, aRect.Bottom()); + CPPUNIT_ASSERT_EQUAL(tools::Long(3629), aRect.Left()); + CPPUNIT_ASSERT_EQUAL(tools::Long(4431), aRect.Top()); + CPPUNIT_ASSERT_EQUAL(tools::Long(8353), aRect.Right()); + CPPUNIT_ASSERT_EQUAL(tools::Long(9155), aRect.Bottom()); xDocShRef->DoClose(); } @@ -2226,8 +2226,8 @@ bool SdImportTest::checkPattern(sd::DrawDocShellRef const & rDocRef, int nShapeN ReadDIB(aBitmap, aBitmapStream, true); } } - CPPUNIT_ASSERT_EQUAL(8L, aBitmap.GetSizePixel().Width()); - CPPUNIT_ASSERT_EQUAL(8L, aBitmap.GetSizePixel().Height()); + CPPUNIT_ASSERT_EQUAL(tools::Long(8), aBitmap.GetSizePixel().Width()); + CPPUNIT_ASSERT_EQUAL(tools::Long(8), aBitmap.GetSizePixel().Height()); return checkPatternValues(rExpected, aBitmap); } |