diff options
-rw-r--r-- | sc/source/core/data/simpleformulacalc.cxx | 10 |
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); |