diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2020-11-13 09:04:59 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2020-11-13 11:16:08 +0100 |
commit | f2dfa6bec9895892b58e22682ecdc5865fc249a3 (patch) | |
tree | c7d2d514f01ecf96fc7dfc53c5867c7a0b9e7052 /slideshow/test | |
parent | 6532bdc0a27eb31dcacf02e3bb1a587270a48b6f (diff) |
Fix (some of) fallouts from tools::Long change to 64 bit on _WIN64
Change-Id: I297d43c594c5d8c3378e8b7f29ad798e89e4ebaf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105776
Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'slideshow/test')
-rw-r--r-- | slideshow/test/slidetest.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/slideshow/test/slidetest.cxx b/slideshow/test/slidetest.cxx index 469ed059260d..b5e0cd687f56 100644 --- a/slideshow/test/slidetest.cxx +++ b/slideshow/test/slidetest.cxx @@ -317,13 +317,13 @@ public: mpLayerManager->removeShape(pShape4); CPPUNIT_ASSERT_EQUAL_MESSAGE( "Shape 1 must have refcount of 1", - tools::Long(1), mpTestShape.use_count() ); + 1L, mpTestShape.use_count() ); CPPUNIT_ASSERT_EQUAL_MESSAGE( "Shape 2 must have refcount of ", - tools::Long(1), pShape2.use_count() ); + 1L, pShape2.use_count() ); CPPUNIT_ASSERT_EQUAL_MESSAGE( "Shape 3 must have refcount of 1", - tools::Long(1), pShape3.use_count() ); + 1L, pShape3.use_count() ); CPPUNIT_ASSERT_EQUAL_MESSAGE( "Shape 4 must have refcount of", - tools::Long(1), pShape4.use_count() ); + 1L, pShape4.use_count() ); mpLayerManager->addShape(mpTestShape); @@ -340,13 +340,13 @@ public: mpLayerManager->removeShape(pShape4); CPPUNIT_ASSERT_EQUAL_MESSAGE( "Shape 1 must have refcount of 1", - tools::Long(1), mpTestShape.use_count() ); + 1L, mpTestShape.use_count() ); CPPUNIT_ASSERT_EQUAL_MESSAGE( "Shape 2 must have refcount of ", - tools::Long(1), pShape2.use_count() ); + 1L, pShape2.use_count() ); CPPUNIT_ASSERT_EQUAL_MESSAGE( "Shape 3 must have refcount of 1", - tools::Long(1), pShape3.use_count() ); + 1L, pShape3.use_count() ); CPPUNIT_ASSERT_EQUAL_MESSAGE( "Shape 4 must have refcount of 1", - tools::Long(1), pShape4.use_count() ); + 1L, pShape4.use_count() ); } // hook up the test |