diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-04-03 12:34:54 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-04-03 15:30:27 +0200 |
commit | 58db3df246d7f8e8824e36894c435b40207fe07e (patch) | |
tree | 19463327283b9bec2446d1514d6f2c29230b789f /vcl | |
parent | c1959f505eb9322557dd915f2eefb49ce02f2802 (diff) |
ofz#32843 Invalid-bool-value
Change-Id: I709890b7ad441f11c23389bc6c03f0cc975677ae
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113553
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/gdi/TypeSerializer.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/gdi/TypeSerializer.cxx b/vcl/source/gdi/TypeSerializer.cxx index 8dc98c91da5d..329c9b3f0e6a 100644 --- a/vcl/source/gdi/TypeSerializer.cxx +++ b/vcl/source/gdi/TypeSerializer.cxx @@ -419,11 +419,11 @@ void TypeSerializer::writeGraphic(const Graphic& rGraphic) void TypeSerializer::readMapMode(MapMode& rMapMode) { VersionCompatRead aCompat(mrStream); - sal_uInt16 nTmp16; + sal_uInt16 nTmp16(0); Point aOrigin; Fraction aScaleX; Fraction aScaleY; - bool bSimple; + bool bSimple(true); mrStream.ReadUInt16(nTmp16); MapUnit eUnit = static_cast<MapUnit>(nTmp16); |