diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2014-05-24 15:14:06 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-05-24 15:46:43 +0200 |
commit | 347c4f4355624bd820091d125c035dd7a501d018 (patch) | |
tree | b37bdcdc6c10c5cad453f000209a3d1c90c60cd2 | |
parent | d5cbe627426cd28f48cdab9cdab5a33baeed4ed1 (diff) |
cppcheck: redundantAssignment
Change-Id: I433a4b39f6e0d2db135b998b4b4f1e9621e30659
-rw-r--r-- | filter/source/graphicfilter/ipbm/ipbm.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/filter/source/graphicfilter/ipbm/ipbm.cxx b/filter/source/graphicfilter/ipbm/ipbm.cxx index 57ad5002b2b9..e9b48098f702 100644 --- a/filter/source/graphicfilter/ipbm/ipbm.cxx +++ b/filter/source/graphicfilter/ipbm/ipbm.cxx @@ -461,7 +461,6 @@ bool PBMReader::ImplReadBody() mpAcc->SetPixel( nHeight, nWidth++, BitmapColor( static_cast< sal_uInt8 >( ( nRGB[ 0 ] * 255 ) / mnMaxVal ), static_cast< sal_uInt8 >( ( nRGB[ 1 ] * 255 ) / mnMaxVal ), static_cast< sal_uInt8 >( ( nRGB[ 2 ] * 255 ) / mnMaxVal ) ) ); - nCount = 0; nRGB[ 0 ] = nRGB[ 1 ] = nRGB[ 2 ] = 0; if ( nWidth == mnWidth ) { |