diff options
Diffstat (limited to 'slideshow/test/slidetest.cxx')
-rw-r--r-- | slideshow/test/slidetest.cxx | 17 |
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 |