diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-02-20 03:07:28 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-02-20 04:26:48 +0100 |
commit | 2da8bfe2da964cd43e1c709890fddd3c05dcecd1 (patch) | |
tree | ddbfec31f7dcaa1648f62b38e22b5c71d0eb1908 /vcl/source/gdi/bitmap3.cxx | |
parent | 59253eb3193b9d175a906a6cbe9b870509ef8644 (diff) |
make these variables const, they are just loop boundaries
Change-Id: I66c67c424c43515043e4119ea6bfad0d7f31ccb1
Diffstat (limited to 'vcl/source/gdi/bitmap3.cxx')
-rw-r--r-- | vcl/source/gdi/bitmap3.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/gdi/bitmap3.cxx b/vcl/source/gdi/bitmap3.cxx index 845b40118d65..eae1227e96cc 100644 --- a/vcl/source/gdi/bitmap3.cxx +++ b/vcl/source/gdi/bitmap3.cxx @@ -1306,10 +1306,10 @@ sal_Bool Bitmap::ImplScaleSuper( boost::scoped_array<long> pMapFX(new long[ nDstW ]); boost::scoped_array<long> pMapFY(new long[ nDstH ]); sal_uInt8 cR0, cG0, cB0, cR1, cG1, cB1; - long nStartX = 0 , nStartY = 0; - long nEndX = nDstW - 1L; - long nEndY = nDstH - 1L; - long nMax = 1 << 7L; + const long nStartX = 0, nStartY = 0; + const long nEndX = nDstW - 1L; + const long nEndY = nDstH - 1L; + const long nMax = 1 << 7L; if( pAcc && pWAcc ) { |