diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-17 09:41:38 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-17 09:43:17 +0100 |
commit | 6907b67d3d3208eb54289db2476132188d86dfec (patch) | |
tree | 7f52e380c468cb7e875d45cb2950b955cbafa886 /vcl/source/gdi | |
parent | 078803a802c86eb772a77074475b5fd3db9b66ce (diff) |
coverity#708633 Uninitialized pointer field
Change-Id: Ia629e4d41f163be0c6206943b11a4db083d713c5
Diffstat (limited to 'vcl/source/gdi')
-rw-r--r-- | vcl/source/gdi/pngwrite.cxx | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/vcl/source/gdi/pngwrite.cxx b/vcl/source/gdi/pngwrite.cxx index ff836c59578d..4b29431a92ac 100644 --- a/vcl/source/gdi/pngwrite.cxx +++ b/vcl/source/gdi/pngwrite.cxx @@ -95,13 +95,25 @@ private: }; PNGWriterImpl::PNGWriterImpl( const BitmapEx& rBmpEx, - const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >* pFilterData ) : - mnCompLevel ( PNG_DEF_COMPRESSION ), - mbStatus ( true ), - mpAccess ( NULL ), - mpMaskAccess ( NULL ), - mpZCodec ( new ZCodec( DEFAULT_IN_BUFSIZE, DEFAULT_OUT_BUFSIZE, MAX_MEM_USAGE ) ), - mnCRC(0UL) + const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >* pFilterData ) + : mnCompLevel(PNG_DEF_COMPRESSION) + , mnInterlaced(0) + , mnMaxChunkSize(0) + , mbStatus(true) + , mpAccess(NULL) + , mpMaskAccess(NULL) + , mpZCodec(new ZCodec(DEFAULT_IN_BUFSIZE, DEFAULT_OUT_BUFSIZE, MAX_MEM_USAGE)) + , mpDeflateInBuf(NULL) + , mpPreviousScan(NULL) + , mpCurrentScan(NULL) + , mnDeflateInSize(0) + , mnWidth(0) + , mnHeight(0) + , mnBitsPerPixel(0) + , mnFilterType(0) + , mnBBP(0) + , mbTrueAlpha(false) + , mnCRC(0UL) { if ( !rBmpEx.IsEmpty() ) { |