summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-10-21 15:32:32 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-10-22 08:08:55 +0200
commitd3158450293875051e04b0e13106ad4c112c8ba6 (patch)
treee47e91d847b62254c24372804b7cca4135e5e57e /slideshow
parent7dc6fc32eb618da6defb8a9f330978fa019677b8 (diff)
long->tools::Long in slideshow..starmath
Change-Id: I18f5b7c5da513d386f8ac848835b0410ebc7d95b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104629 Reviewed-by: Dante DM <dante19031999@gmail.com> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Jenkins Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/test/slidetest.cxx17
1 files changed, 9 insertions, 8 deletions
diff --git a/slideshow/test/slidetest.cxx b/slideshow/test/slidetest.cxx
index 1ba6e71638d1..469ed059260d 100644
--- a/slideshow/test/slidetest.cxx
+++ b/slideshow/test/slidetest.cxx
@@ -18,6 +18,7 @@
*/
#include <sal/types.h>
+#include <tools/long.hxx>
#include <cppunit/TestAssert.h>
#include <cppunit/TestFixture.h>
#include <cppunit/extensions/HelperMacros.h>
@@ -316,13 +317,13 @@ public:
mpLayerManager->removeShape(pShape4);
CPPUNIT_ASSERT_EQUAL_MESSAGE( "Shape 1 must have refcount of 1",
- long(1), mpTestShape.use_count() );
+ tools::Long(1), mpTestShape.use_count() );
CPPUNIT_ASSERT_EQUAL_MESSAGE( "Shape 2 must have refcount of ",
- long(1), pShape2.use_count() );
+ tools::Long(1), pShape2.use_count() );
CPPUNIT_ASSERT_EQUAL_MESSAGE( "Shape 3 must have refcount of 1",
- long(1), pShape3.use_count() );
+ tools::Long(1), pShape3.use_count() );
CPPUNIT_ASSERT_EQUAL_MESSAGE( "Shape 4 must have refcount of",
- long(1), pShape4.use_count() );
+ tools::Long(1), pShape4.use_count() );
mpLayerManager->addShape(mpTestShape);
@@ -339,13 +340,13 @@ public:
mpLayerManager->removeShape(pShape4);
CPPUNIT_ASSERT_EQUAL_MESSAGE( "Shape 1 must have refcount of 1",
- long(1), mpTestShape.use_count() );
+ tools::Long(1), mpTestShape.use_count() );
CPPUNIT_ASSERT_EQUAL_MESSAGE( "Shape 2 must have refcount of ",
- long(1), pShape2.use_count() );
+ tools::Long(1), pShape2.use_count() );
CPPUNIT_ASSERT_EQUAL_MESSAGE( "Shape 3 must have refcount of 1",
- long(1), pShape3.use_count() );
+ tools::Long(1), pShape3.use_count() );
CPPUNIT_ASSERT_EQUAL_MESSAGE( "Shape 4 must have refcount of 1",
- long(1), pShape4.use_count() );
+ tools::Long(1), pShape4.use_count() );
}
// hook up the test