summaryrefslogtreecommitdiff
path: root/vcl/source/bitmap/dibtools.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-08-30 11:28:07 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-08-30 17:53:56 +0200
commit34f54a86d02513c1859ca9529da7b2d3a3eb9bb1 (patch)
treec7c157d1d7e05a699b0abaa4d2e1683819a6d33a /vcl/source/bitmap/dibtools.cxx
parent0c7b733c2b9f2454717f94e2ae3b483e1bd3e830 (diff)
ofz: MemorySanitizer: use-of-uninitialized-value
Change-Id: I931c104c2b0072146580996b6adc0bb36f328083 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121294 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source/bitmap/dibtools.cxx')
-rw-r--r--vcl/source/bitmap/dibtools.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/bitmap/dibtools.cxx b/vcl/source/bitmap/dibtools.cxx
index 17e5c51c88ca..6665d09daa41 100644
--- a/vcl/source/bitmap/dibtools.cxx
+++ b/vcl/source/bitmap/dibtools.cxx
@@ -1771,7 +1771,7 @@ bool ReadDIBBitmapEx(
tools::GenericTypeSerializer aSerializer(rIStm);
aSerializer.readColor(aTransparentColor);
- bRetval = !rIStm.GetError();
+ bRetval = rIStm.good();
if(bRetval)
{