diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-10 20:25:20 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-10 21:13:01 +0100 |
commit | 74676ec5838e0d408ce37052a1359981ab1555ef (patch) | |
tree | 373427b4528205d29a444b05fdbe586ba8c99b21 /sc | |
parent | d2712feb7f828870f2aac3bf42c3c3ce19aeceae (diff) |
coverity#1130486 Uninitialized scalar field
Change-Id: I53722c446d5cc651f4e912f21c3e35e40f0e0c7a
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/excel/xilink.cxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sc/source/filter/excel/xilink.cxx b/sc/source/filter/excel/xilink.cxx index 6bcbdc30a404..4891dbdaf146 100644 --- a/sc/source/filter/excel/xilink.cxx +++ b/sc/source/filter/excel/xilink.cxx @@ -325,11 +325,12 @@ const ScMatrix& XclImpExtName::MOper::GetCache() const return *mxCached; } -XclImpExtName::XclImpExtName( XclImpSupbook& rSupbook, XclImpStream& rStrm, XclSupbookType eSubType, ExcelToSc* pFormulaConv ) : - mpMOper(NULL) +XclImpExtName::XclImpExtName( XclImpSupbook& rSupbook, XclImpStream& rStrm, XclSupbookType eSubType, ExcelToSc* pFormulaConv ) + : mpMOper(NULL) + , mnStorageId(0) { - sal_uInt16 nFlags; - sal_uInt8 nLen; + sal_uInt16 nFlags(0); + sal_uInt8 nLen(0); rStrm >> nFlags >> mnStorageId >> nLen ; maName = rStrm.ReadUniString( nLen ); |