diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-29 08:26:12 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-29 10:29:46 +0100 |
commit | 20287a82c5ba9971c9ce4da04949a181000f1e22 (patch) | |
tree | caf2e4268ccedec18cc5853a14435f9f5e4c150e /filter | |
parent | 0d2a2527a87174a3234fa734815acb3d40a64d28 (diff) |
Needless casts sal_uInt8 -> sal_Int8 -> sal_uInt8
Change-Id: I2d55c4e088cf17183ededa0719b3bdcba5baba23
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/graphicfilter/icgm/bitmap.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/filter/source/graphicfilter/icgm/bitmap.cxx b/filter/source/graphicfilter/icgm/bitmap.cxx index 09f5adc0c4fe..f9242c784877 100644 --- a/filter/source/graphicfilter/icgm/bitmap.cxx +++ b/filter/source/graphicfilter/icgm/bitmap.cxx @@ -144,9 +144,9 @@ void CGMBitmap::ImplGetBitmap( CGMBitmapDescriptor& rDesc ) nxC = nxCount; for ( nx = 0; --nxC; nx++ ) { - aBitmapColor.SetRed( (sal_Int8)*pTemp++ ); - aBitmapColor.SetGreen( (sal_Int8)*pTemp++ ); - aBitmapColor.SetBlue( (sal_Int8)*pTemp++ ); + aBitmapColor.SetRed( *pTemp++ ); + aBitmapColor.SetGreen( *pTemp++ ); + aBitmapColor.SetBlue( *pTemp++ ); rDesc.mpAcc->SetPixel( ny, nx, aBitmapColor ); } } |