From 2b9fe0c75ee93aa52f58dcee10c692a672b0cff7 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 20 Feb 2014 15:21:23 +0200 Subject: [PATCH] cid#707865 Uninitialized pointer field Change-Id: I86c90a95093d6c90cbc733164a3b773468575b5b --- formula/source/core/api/FormulaCompiler.cxx | 8 ++++++-- 1 file 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);