Kaydet (Commit) 20287a82 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Needless casts sal_uInt8 -> sal_Int8 -> sal_uInt8

Change-Id: I2d55c4e088cf17183ededa0719b3bdcba5baba23
üst 0d2a2527
......@@ -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 );
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment