diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-02-12 11:38:53 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-02-12 11:54:08 +0100 |
commit | 39e755dd5c06823f4abda1453a195fdac74ae995 (patch) | |
tree | f053192dc6836f587b052e6526a252759f1e85fb /vcl | |
parent | fc27fec0543009dbb6c6ca002283564215aae4b1 (diff) |
Some cppcheck cleaning
Change-Id: I65b2b9b0001843b2153d228b994f08f5b5565880
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/filter/igif/gifread.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/vcl/source/filter/igif/gifread.cxx b/vcl/source/filter/igif/gifread.cxx index 63bce662f205..011be8c4a81e 100644 --- a/vcl/source/filter/igif/gifread.cxx +++ b/vcl/source/filter/igif/gifread.cxx @@ -37,8 +37,10 @@ GIFReader::GIFReader( SvStream& rStm ) : aGPalette ( 256 ), aLPalette ( 256 ), rIStm ( rStm ), + pDecomp ( NULL ), pAcc8 ( NULL ), pAcc1 ( NULL ), + nYAcc ( 0 ), nLastPos ( rStm.Tell() ), nLogWidth100 ( 0UL ), nLogHeight100 ( 0UL ), @@ -455,7 +457,7 @@ void GIFReader::FillImages( HPBYTE pBytes, sal_uLong nCount ) { if( bInterlaced ) { - long nT1, nT2; + long nT1; // falls Interlaced, werden die Zeilen kopiert if( nLastInterCount ) @@ -493,7 +495,7 @@ void GIFReader::FillImages( HPBYTE pBytes, sal_uLong nCount ) if( nT1 >= nImageHeight ) { - nT2 = nImageY - ( ( nImageHeight + 7 ) >> 3 ); + long nT2 = nImageY - ( ( nImageHeight + 7 ) >> 3 ); nT1 = ( nT2 << 3 ) + 4; nLastInterCount = 3; |