summaryrefslogtreecommitdiff
path: root/vcl/workben
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-29 14:12:20 +0200
committerNoel Grandin <noel@peralex.com>2015-06-02 12:09:56 +0200
commit6ef9f7e2025a2334034e9c8f7b3422220add4742 (patch)
treea97096df0d2627574f685ed37b3abbe296833538 /vcl/workben
parentacd4ecc38fc3aa486b7eaf8d5effa4a5ea034ccd (diff)
loplugin:loopvartoosmall
Change-Id: Ib4def3435eab4625645c5afe3b151f9f430564ac
Diffstat (limited to 'vcl/workben')
-rw-r--r--vcl/workben/vcldemo.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/workben/vcldemo.cxx b/vcl/workben/vcldemo.cxx
index 7bc6270f8c2f..5d8a6c4c33d1 100644
--- a/vcl/workben/vcldemo.cxx
+++ b/vcl/workben/vcldemo.cxx
@@ -288,9 +288,9 @@ public:
rDev.SetLineColor(Color(COL_BLACK));
rDev.DrawRect(r);
- for(int i=0; i<r.GetHeight(); i+=15)
+ for(long i=0; i<r.GetHeight(); i+=15)
rDev.DrawLine(Point(r.Left(), r.Top()+i), Point(r.Right(), r.Bottom()-i));
- for(int i=0; i<r.GetWidth(); i+=15)
+ for(long i=0; i<r.GetWidth(); i+=15)
rDev.DrawLine(Point(r.Left()+i, r.Bottom()), Point(r.Right()-i, r.Top()));
// Should draw a white-line across the middle