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

coverity#1093225 Dereference after null check

Change-Id: I34a7b79b4a7b5d86c3d39fd995ed3bd998eeeab8
üst 6b1d3559
......@@ -1619,6 +1619,8 @@ void PNGReaderImpl::ImplSetAlphaPixel( sal_uInt32 nY, sal_uInt32 nX,
nX >>= mnPreviewShift;
mpAcc->SetPixel( nY, nX, rBitmapColor );
if (!mpMaskAcc)
return;
mpMaskAcc->SetPixelIndex( nY, nX, ~nAlpha );
}
......
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