[Libreoffice-commits] core.git: vcl/source

Julien Nabet serval2412 at yahoo.fr
Fri Jun 14 14:34:50 PDT 2013


 vcl/source/gdi/pngread.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 3ae9f3ad1fb584d9b266dd8b09bc4d2c441557c4
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Fri Jun 14 23:34:08 2013 +0200

    cppcheck: fix uninitMemberVar in pngread (vcl)
    
    Change-Id: I3ae05baa652c239322554ef76bda5061d8cc0968

diff --git a/vcl/source/gdi/pngread.cxx b/vcl/source/gdi/pngread.cxx
index 777cb36..c9e9b9d 100644
--- a/vcl/source/gdi/pngread.cxx
+++ b/vcl/source/gdi/pngread.cxx
@@ -168,7 +168,11 @@ PNGReaderImpl::PNGReaderImpl( SvStream& rPNGStream )
     mpScanCurrent   ( NULL ),
     mpColorTable    ( (sal_uInt8*) mpDefaultColorTable ),
     mnPass ( 0 ),
+    mbTransparent( false ),
+    mbAlphaChannel( false ),
+    mbRGBTriple( false ),
     mbPalette( false ),
+    mbGrayScale( false ),
     mbzCodecInUse   ( false ),
     mbStatus( true ),
     mbIDAT( false ),


More information about the Libreoffice-commits mailing list