vcl/source/gdi/TypeSerializer.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 58db3df246d7f8e8824e36894c435b40207fe07e
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Sat Apr 3 12:34:54 2021 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Sat Apr 3 15:30:27 2021 +0200

    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 <caol...@redhat.com>

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);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to