Kaydet (Commit) d0908389 authored tarafından Caolán McNamara's avatar Caolán McNamara

pict filter depends on truncating 1-foo to 16bit unsigned

Change-Id: Ie271d6080833005d5ef9ab57d8e8036fb9df49db
üst 3bbe31a1
...@@ -884,7 +884,7 @@ sal_uLong PictReader::ReadPixMapEtc( Bitmap &rBitmap, bool bBaseAddr, bool bColo ...@@ -884,7 +884,7 @@ sal_uLong PictReader::ReadPixMapEtc( Bitmap &rBitmap, bool bBaseAddr, bool bColo
} }
else else
{ {
nCount = ( 1 - ( ( (sal_uInt16)nFlagCounterByte ) | 0xff00 ) ); nCount = static_cast<sal_uInt16>( 1 - ( ( (sal_uInt16)nFlagCounterByte ) | 0xff00 ) );
pPict->ReadUChar( nDat ); pPict->ReadUChar( nDat );
for ( i = 0; i < nCount; i++ ) for ( i = 0; i < nCount; i++ )
{ {
......
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