diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-09-12 20:45:00 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-09-12 21:12:20 +0100 |
commit | 45ccb2c8e5a2fde4316d750764652fbe1b20ae24 (patch) | |
tree | 8eb72ac0648cec12e6156aafe419ac9c68c7b11e /oox | |
parent | 70c1cf031dd8179f8eeb33faf842df4d001bf149 (diff) |
coverity#1323913 Uninitialized pointer field
Change-Id: Ibcaac09b90f5f2bfa466b94dbb91bb75ae32e7ff
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/ole/vbaexport.cxx | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/oox/source/ole/vbaexport.cxx b/oox/source/ole/vbaexport.cxx index 00880027d836..88f74b4ce02b 100644 --- a/oox/source/ole/vbaexport.cxx +++ b/oox/source/ole/vbaexport.cxx @@ -62,10 +62,15 @@ void exportUTF16String(SvStream& rStrm, const OUString& rString) } -VBACompressionChunk::VBACompressionChunk(SvStream& rCompressedStream, const sal_uInt8* pData, sal_Size nChunkSize): - mrCompressedStream(rCompressedStream), - mpUncompressedData(pData), - mnChunkSize(nChunkSize) +VBACompressionChunk::VBACompressionChunk(SvStream& rCompressedStream, const sal_uInt8* pData, sal_Size nChunkSize) + : mrCompressedStream(rCompressedStream) + , mpUncompressedData(pData) + , mpCompressedChunkStream(0) + , mnChunkSize(nChunkSize) + , mnCompressedCurrent(0) + , mnCompressedEnd(0) + , mnDecompressedCurrent(0) + , mnDecompressedEnd(0) { } |