diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-01-29 23:14:45 -0600 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-01-29 23:36:53 -0600 |
commit | 7a56caa4bdcdb1db1d50801b4f37aa2220105147 (patch) | |
tree | 5b99f400d84a87430a8c8f9ee832af0ff93d26b3 /sc/source | |
parent | 05bd05a65ffd8247595ee95758d9e3132d9fa677 (diff) |
coverity#1000865 : Uninitialized scalar field
Change-Id: I215cb372df9a3b52985e8d378bbb980c3d6eb597
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/filter/xml/XMLTrackedChangesContext.cxx | 41 |
1 files changed, 21 insertions, 20 deletions
diff --git a/sc/source/filter/xml/XMLTrackedChangesContext.cxx b/sc/source/filter/xml/XMLTrackedChangesContext.cxx index bbe03bc13fa3..a369c9ae4d1a 100644 --- a/sc/source/filter/xml/XMLTrackedChangesContext.cxx +++ b/sc/source/filter/xml/XMLTrackedChangesContext.cxx @@ -1103,25 +1103,26 @@ void ScXMLChangeTextPContext::EndElement() pChangeCellContext->SetText(sText.makeStringAndClear()); } -ScXMLChangeCellContext::ScXMLChangeCellContext( ScXMLImport& rImport, - sal_uInt16 nPrfx, - const OUString& rLName, - const uno::Reference<xml::sax::XAttributeList>& xAttrList, - ScCellValue& rOldCell, OUString& rAddress, - OUString& rFormula, OUString& rFormulaNmsp, - formula::FormulaGrammar::Grammar& rGrammar, - OUString& rTempInputString, double& fDateTimeValue, sal_uInt16& nType, - sal_uInt8& nMatrixFlag, sal_Int32& nMatrixCols, sal_Int32& nMatrixRows ) : - SvXMLImportContext( rImport, nPrfx, rLName ), - mrOldCell(rOldCell), - rInputString(rTempInputString), - pEditTextObj(NULL), - rDateTimeValue(fDateTimeValue), - rType(nType), - bEmpty(sal_True), - bFirstParagraph(sal_True), - bString(sal_True), - bFormula(false) +ScXMLChangeCellContext::ScXMLChangeCellContext( ScXMLImport& rImport, + sal_uInt16 nPrfx, + const OUString& rLName, + const uno::Reference<xml::sax::XAttributeList>& xAttrList, + ScCellValue& rOldCell, OUString& rAddress, + OUString& rFormula, OUString& rFormulaNmsp, + formula::FormulaGrammar::Grammar& rGrammar, + OUString& rTempInputString, double& fDateTimeValue, sal_uInt16& nType, + sal_uInt8& nMatrixFlag, sal_Int32& nMatrixCols, sal_Int32& nMatrixRows ) + : SvXMLImportContext( rImport, nPrfx, rLName ) + , mrOldCell(rOldCell) + , rInputString(rTempInputString) + , pEditTextObj(NULL) + , rDateTimeValue(fDateTimeValue) + , fValue(0.0) + , rType(nType) + , bEmpty(sal_True) + , bFirstParagraph(sal_True) + , bString(sal_True) + , bFormula(false) { sal_Bool bIsMatrix(false); sal_Bool bIsCoveredMatrix(false); @@ -1131,7 +1132,7 @@ ScXMLChangeCellContext::ScXMLChangeCellContext( ScXMLImport& rImport, const OUString& sAttrName(xAttrList->getNameByIndex( i )); OUString aLocalName; sal_uInt16 nPrefix(GetScImport().GetNamespaceMap().GetKeyByAttrName( - sAttrName, &aLocalName )); + sAttrName, &aLocalName )); const OUString& sValue(xAttrList->getValueByIndex( i )); if (nPrefix == XML_NAMESPACE_TABLE) |