diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-04 11:03:01 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-04 12:34:13 +0100 |
commit | c27a31710813ef0d44f8c1059177104c6996f2d9 (patch) | |
tree | f52867cf9b233fbfd5385b7fa14f57b895145629 /vcl/source | |
parent | f750ee1d70fb445f14023187b442191ee079c3b4 (diff) |
coverity#1093230 Dereference before null check
Change-Id: Id273eaf3c4fe25df9af723fbc7f774c3c61ab3de
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/gdi/pngread.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/pngread.cxx b/vcl/source/gdi/pngread.cxx index 6198c482cb12..8a17b16f554a 100644 --- a/vcl/source/gdi/pngread.cxx +++ b/vcl/source/gdi/pngread.cxx @@ -1331,7 +1331,7 @@ void PNGReaderImpl::ImplDrawScanline( sal_uInt32 nXStart, sal_uInt32 nXAdd ) // BMP_FORMAT_32BIT_TC_RGBA // only use DirectScanline when we have no preview shifting stuff and accesses to content and alpha const bool bDoDirectScanline( - bCkeckDirectScanline && !nXStart && 1 == nXAdd && !mnPreviewShift && mpAcc && mpMaskAcc); + bCkeckDirectScanline && !nXStart && 1 == nXAdd && !mnPreviewShift && mpMaskAcc); const bool bCustomColorTable(mpColorTable != mpDefaultColorTable); if(bDoDirectScanline) |