From 51f85041ef84d2a66f316fc5284d65260d1ef440 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 12 Mar 2014 10:44:07 +0000 Subject: coverity#707936 Uninitialized pointer field Change-Id: I0ae177349408fd49832056fbc4c300e8e77b2417 --- io/source/TextInputStream/TextInputStream.cxx | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'io') diff --git a/io/source/TextInputStream/TextInputStream.cxx b/io/source/TextInputStream/TextInputStream.cxx index 3485877a0cb3..b94c24dd149f 100644 --- a/io/source/TextInputStream/TextInputStream.cxx +++ b/io/source/TextInputStream/TextInputStream.cxx @@ -117,10 +117,15 @@ public: }; OTextInputStream::OTextInputStream() - : mSeqSource( READ_BYTE_COUNT ), mpBuffer( NULL ), mnBufferSize( 0 ) - , mnCharsInBuffer( 0 ), mbReachedEOF( sal_False ) + : mbEncodingInitialized(false) + , mConvText2Unicode(NULL) + , mContextText2Unicode(NULL) + , mSeqSource(READ_BYTE_COUNT) + , mpBuffer(NULL) + , mnBufferSize(0) + , mnCharsInBuffer(0) + , mbReachedEOF(sal_False) { - mbEncodingInitialized = false; } OTextInputStream::~OTextInputStream() -- cgit v1.2.3