summaryrefslogtreecommitdiff
path: root/formula
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-20 15:21:23 +0200
committerNoel Grandin <noel@peralex.com>2014-02-21 11:59:09 +0200
commit2b9fe0c75ee93aa52f58dcee10c692a672b0cff7 (patch)
tree02b0753aa31ae7a09dede0bbb4ba8ed99fd1b40f /formula
parent9a20dda460e6357cb81953e5e1f546560dc795e3 (diff)
cid#707865 Uninitialized pointer field
Change-Id: I86c90a95093d6c90cbc733164a3b773468575b5b
Diffstat (limited to 'formula')
-rw-r--r--formula/source/core/api/FormulaCompiler.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/formula/source/core/api/FormulaCompiler.cxx b/formula/source/core/api/FormulaCompiler.cxx
index 1051b7367593..03028558e8e4 100644
--- a/formula/source/core/api/FormulaCompiler.cxx
+++ b/formula/source/core/api/FormulaCompiler.cxx
@@ -529,14 +529,18 @@ DBG_NAME(FormulaCompiler)
FormulaCompiler::FormulaCompiler( FormulaTokenArray& rArr )
:
pArr( &rArr ),
+ pCode( NULL ),
pStack( NULL ),
- nRecursion(0),
+ eLastOp( ocPush ),
+ nRecursion( 0 ),
nNumFmt( NUMBERFORMAT_UNDEFINED ),
+ pc( 0 ),
meGrammar( formula::FormulaGrammar::GRAM_UNSPECIFIED ),
bAutoCorrect( false ),
bCorrected( false ),
bCompileForFAP( false ),
- bIgnoreErrors( false )
+ bIgnoreErrors( false ),
+ glSubTotal( false )
{
DBG_CTOR(FormulaCompiler, NULL);