summaryrefslogtreecommitdiff
path: root/vcl/qa/cppunit/GraphicTest.cxx
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-10-19 15:12:38 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-10-19 21:34:46 +0200
commit3aef606f2758172a27718a06fea0ff9080e4d80f (patch)
treead323c90301d80bbb3b68163d8b87e5402b687ed /vcl/qa/cppunit/GraphicTest.cxx
parent5afba3e12c8d4eb1ebb8e087134eb87593bb017a (diff)
use tools::Long in vcl
Change-Id: Ice1055021e8568634e9a66ba89d3bb4ef4e731df Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104522 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/qa/cppunit/GraphicTest.cxx')
-rw-r--r--vcl/qa/cppunit/GraphicTest.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/qa/cppunit/GraphicTest.cxx b/vcl/qa/cppunit/GraphicTest.cxx
index 04a0559473ea..353f195eac43 100644
--- a/vcl/qa/cppunit/GraphicTest.cxx
+++ b/vcl/qa/cppunit/GraphicTest.cxx
@@ -153,9 +153,9 @@ bool checkBitmap(Graphic& rGraphic)
Bitmap aBitmap(rGraphic.GetBitmapEx().GetBitmap());
{
Bitmap::ScopedReadAccess pReadAccess(aBitmap);
- for (long y = 0; y < rGraphic.GetSizePixel().Height(); y++)
+ for (tools::Long y = 0; y < rGraphic.GetSizePixel().Height(); y++)
{
- for (long x = 0; x < rGraphic.GetSizePixel().Width(); x++)
+ for (tools::Long x = 0; x < rGraphic.GetSizePixel().Width(); x++)
{
if (pReadAccess->HasPalette())
{