summaryrefslogtreecommitdiff
path: root/io
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-12 10:44:07 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-03-12 11:02:18 +0000
commit51f85041ef84d2a66f316fc5284d65260d1ef440 (patch)
treeabce7cb6b9b9b99885b46326b529a1e39cb213c6 /io
parentaabee84e8c5adf174e7d40586c0c6406960abcbe (diff)
coverity#707936 Uninitialized pointer field
Change-Id: I0ae177349408fd49832056fbc4c300e8e77b2417
Diffstat (limited to 'io')
-rw-r--r--io/source/TextInputStream/TextInputStream.cxx11
1 files changed, 8 insertions, 3 deletions
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()