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

inner condition is the same as outer one

Change-Id: If573f4d21492506d631861d06842828f9abb61f4
üst 123c4f4a
......@@ -989,8 +989,6 @@ sal_uLong PictReader::ReadPixMapEtc( Bitmap &rBitmap, bool bBaseAddr, bool bColo
if ( nRowBytes < 8 || nPackType == 1 )
{
for ( ny = 0; ny < nHeight; ny++ )
{
if ( nRowBytes < 8 || nPackType == 1 )
{
for ( nx = 0; nx < nWidth; nx++ )
{
......@@ -1000,7 +998,6 @@ sal_uLong PictReader::ReadPixMapEtc( Bitmap &rBitmap, bool bBaseAddr, bool bColo
nDataSize += ( (sal_uLong)nWidth ) * 4;
}
}
}
else if ( nPackType == 2 )
{
const size_t nMaxPixels = pPict->remainingSize() / 3;
......
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