From d3158450293875051e04b0e13106ad4c112c8ba6 Mon Sep 17 00:00:00 2001 From: Noel Date: Wed, 21 Oct 2020 15:32:32 +0200 Subject: long->tools::Long in slideshow..starmath Change-Id: I18f5b7c5da513d386f8ac848835b0410ebc7d95b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104629 Reviewed-by: Dante DM Reviewed-by: Noel Grandin Tested-by: Jenkins Tested-by: Noel Grandin --- slideshow/test/slidetest.cxx | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'slideshow') 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 +#include #include #include #include @@ -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 -- cgit