diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-23 11:00:00 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-23 14:16:07 +0100 |
commit | 612848165794c8ed982125aacae9e4c2467d0d7d (patch) | |
tree | 8ba5f85fa1cf654ddc3301d1f601a8db6c7596c0 /sc | |
parent | f056fd9852927f6c4aceb8b17b7a595238401aa0 (diff) |
coverity#708018 Uninitialized pointer field
Change-Id: Iea2f47a8a65447ebe9d25cfa1f4704426872c093
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/tool/interpr4.cxx | 37 |
1 files changed, 25 insertions, 12 deletions
diff --git a/sc/source/core/tool/interpr4.cxx b/sc/source/core/tool/interpr4.cxx index 09ea67185b76..f0f7c3a0955f 100644 --- a/sc/source/core/tool/interpr4.cxx +++ b/sc/source/core/tool/interpr4.cxx @@ -3727,18 +3727,31 @@ void ScInterpreter::ScTTT() ScInterpreter::ScInterpreter( ScFormulaCell* pCell, ScDocument* pDoc, - const ScAddress& rPos, ScTokenArray& r ) : - aCode( r ), - aPos( rPos ), - rArr( r ), - pDok( pDoc ), - mrStrPool(pDoc->GetSharedStringPool()), - pTokenMatrixMap( NULL ), - pMyFormulaCell( pCell ), - pFormatter( pDoc->GetFormatTable() ), - mnStringNoValueError( errNoValue), - bCalcAsShown( pDoc->GetDocOptions().IsCalcAsShown() ), - meVolatileType(r.IsRecalcModeAlways() ? VOLATILE : NOT_VOLATILE) + const ScAddress& rPos, ScTokenArray& r ) + : aCode(r) + , aPos(rPos) + , rArr(r) + , pDok(pDoc) + , mrStrPool(pDoc->GetSharedStringPool()) + , pJumpMatrix(NULL) + , pTokenMatrixMap(NULL) + , pMyFormulaCell(pCell) + , pFormatter(pDoc->GetFormatTable()) + , pCur(NULL) + , nGlobalError(0) + , sp(0) + , maxsp(0) + , nFuncFmtIndex(0) + , nCurFmtIndex(0) + , nRetFmtIndex(0) + , nFuncFmtType(0) + , nCurFmtType(0) + , nRetFmtType(0) + , mnStringNoValueError(errNoValue) + , glSubTotal(false) + , cPar(0) + , bCalcAsShown(pDoc->GetDocOptions().IsCalcAsShown()) + , meVolatileType(r.IsRecalcModeAlways() ? VOLATILE : NOT_VOLATILE) { MergeCalcConfig(); |