summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--formula/source/core/api/token.cxx15
1 files changed, 10 insertions, 5 deletions
diff --git a/formula/source/core/api/token.cxx b/formula/source/core/api/token.cxx
index 150be29a7a61..875055519ddd 100644
--- a/formula/source/core/api/token.cxx
+++ b/formula/source/core/api/token.cxx
@@ -581,12 +581,17 @@ bool FormulaTokenArray::HasNameOrColRowName() const
}
-FormulaTokenArray::FormulaTokenArray()
+FormulaTokenArray::FormulaTokenArray() :
+ pCode(NULL),
+ pRPN(NULL),
+ nLen(0),
+ nRPN(0),
+ nIndex(0),
+ nError(0),
+ nRefs(0),
+ nMode(RECALCMODE_NORMAL),
+ bHyperLink(false)
{
- pCode = NULL; pRPN = NULL;
- nError = nLen = nIndex = nRPN = nRefs = 0;
- bHyperLink = false;
- ClearRecalcMode();
}
FormulaTokenArray::FormulaTokenArray( const FormulaTokenArray& rArr )