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

coverity#1441102 silence Copy-paste error

Change-Id: I389984fa56a8709416f9d525e4a879993b432bea
Reviewed-on: https://gerrit.libreoffice.org/63077
Tested-by: Jenkins
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 77b51290
......@@ -923,7 +923,7 @@ sal_uLong PictReader::ReadPixMapEtc( BitmapEx &rBitmap, bool bBaseAddr, bool bCo
if (nRowBytes < 8 || nPackType == 1)
{
if (nHeight > pPict->remainingSize() / (sizeof(sal_uInt16) * nWidth))
if (nHeight > pPict->remainingSize() / (sizeof(sal_uInt8) * nRowBytes))
return 0xffffffff;
}
else
......
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