summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2014-01-27 00:14:01 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-01-27 00:15:51 -0600
commit9bdf5e9d107a09bad5d03189e76f20cb0bbcd15c (patch)
treebd988bd9d810eaad1c0d36fbdebf10554ed5a007
parent61ca90050badefdfbd9d5282317d03deb3339870 (diff)
coverity#1038497 : Uninitialized scalar field
Change-Id: I814eb68a74812b83dd98e80cf286fc11e6f57fab
-rw-r--r--sc/source/core/data/simpleformulacalc.cxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/sc/source/core/data/simpleformulacalc.cxx b/sc/source/core/data/simpleformulacalc.cxx
index 8702c3b9e75a..b1d56f36f55d 100644
--- a/sc/source/core/data/simpleformulacalc.cxx
+++ b/sc/source/core/data/simpleformulacalc.cxx
@@ -15,10 +15,12 @@
ScSimpleFormulaCalculator::ScSimpleFormulaCalculator( ScDocument* pDoc, const ScAddress& rAddr,
- const OUString& rFormula, formula::FormulaGrammar::Grammar eGram ):
- mbCalculated(false),
- maAddr(rAddr),
- mpDoc(pDoc)
+ const OUString& rFormula, formula::FormulaGrammar::Grammar eGram )
+ : mnFormatType(0)
+ , mnFormatIndex(0)
+ , mbCalculated(false)
+ , maAddr(rAddr)
+ , mpDoc(pDoc)
{
// compile already here
ScCompiler aComp(pDoc, rAddr);