summaryrefslogtreecommitdiff
path: root/include/svl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-31 20:44:37 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-01 10:38:23 +0100
commitb3ef6e07f8c3fd686208264d9514a63c8475915c (patch)
treeb4e07ca594498f0ef2339a01d93d9384f9887ea6 /include/svl
parent6bcabfeb5ca2e0a6e4566f926f82e15e2ef6f318 (diff)
coverity#708187 Uninitialized pointer field
Change-Id: Ie508844977481fab035d20f16c06c95d1f8a21d6
Diffstat (limited to 'include/svl')
-rw-r--r--include/svl/filerec.hxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/svl/filerec.hxx b/include/svl/filerec.hxx
index 637dc7c8e9de..321dd44f22d0 100644
--- a/include/svl/filerec.hxx
+++ b/include/svl/filerec.hxx
@@ -239,8 +239,14 @@ protected:
sal_uInt8 _nPreTag; // aus dem Header gelesenes Pre-Tag
// Drei-Phasen-Ctor f"ur Subklassen
- SfxMiniRecordReader() {}
- void Construct_Impl( SvStream *pStream, sal_uInt8 nTag )
+ SfxMiniRecordReader()
+ : _pStream(NULL)
+ , _nEofRec(0)
+ , _bSkipped(false)
+ , _nPreTag(0)
+ {
+ }
+ void Construct_Impl( SvStream *pStream, sal_uInt8 nTag )
{
_pStream = pStream;
_bSkipped = false;