diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-22 10:54:20 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-22 11:39:22 +0100 |
commit | 10382948e636072cd31900f8ae8c74f29887633a (patch) | |
tree | 797c9a70dce47cab947d1e5ac224d97191621490 /svtools/source/svrtf | |
parent | bbe00527f0529ce8b2295df4a914a954e090c2d2 (diff) |
coverity#708335 Uninitialized scalar field
Change-Id: I14ce77fe16acdf6491ce49cdbe7550ef303f0ff9
Diffstat (limited to 'svtools/source/svrtf')
-rw-r--r-- | svtools/source/svrtf/svparser.cxx | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/svtools/source/svrtf/svparser.cxx b/svtools/source/svrtf/svparser.cxx index 0ecdca449ba0..670b5b123faf 100644 --- a/svtools/source/svrtf/svparser.cxx +++ b/svtools/source/svrtf/svparser.cxx @@ -40,8 +40,17 @@ struct SvParser_Impl rtl_TextToUnicodeConverter hConv; rtl_TextToUnicodeContext hContext; - SvParser_Impl() : - nTokenValue(0), nToken(0), nSaveToken(0), hConv( 0 ), hContext( (rtl_TextToUnicodeContext)1 ) + SvParser_Impl() + : nFilePos(0) + , nlLineNr(0) + , nlLinePos(0) + , nTokenValue(0) + , bTokenHasValue(false) + , nToken(0) + , nNextCh(0) + , nSaveToken(0) + , hConv( 0 ) + , hContext( (rtl_TextToUnicodeContext)1 ) { } |