diff options
author | Pierre-André Jacquod <pjacquod@alumni.ethz.ch> | 2011-09-29 17:35:54 +0200 |
---|---|---|
committer | Pierre-André Jacquod <pjacquod@alumni.ethz.ch> | 2011-10-07 15:57:31 +0200 |
commit | 03fda3dba945648c693e0c2bc58b4bae75c62402 (patch) | |
tree | 314e5a97c7d311d1267630caba6d0e54d051e9e7 /vcl/win | |
parent | a99322071afd45c17df973a965e459111c93f36b (diff) |
cppcheck scope reduction of var in vcl/... salbmp.cxx
Diffstat (limited to 'vcl/win')
-rw-r--r-- | vcl/win/source/gdi/salbmp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/win/source/gdi/salbmp.cxx b/vcl/win/source/gdi/salbmp.cxx index 7661fa5f6ed1..67d61a743d6c 100644 --- a/vcl/win/source/gdi/salbmp.cxx +++ b/vcl/win/source/gdi/salbmp.cxx @@ -545,13 +545,13 @@ void WinSalBitmap::ImplDecodeRLEBuffer( const BYTE* pSrcBuf, BYTE* pDstBuf, HPBYTE pLast = pDIB + rSizePixel.Height() * nWidthAl - 1; sal_uLong nCountByte; sal_uLong nRunByte; - sal_uLong nX = 0; sal_uLong i; BYTE cTmp; bool bEndDecoding = FALSE; if( pRLE && pDIB ) { + sal_uLong nX = 0; do { if( ( nCountByte = *pRLE++ ) == 0 ) |