summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--starmath/inc/node.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/starmath/inc/node.hxx b/starmath/inc/node.hxx
index b81a9484b835..68282d0951b7 100644
--- a/starmath/inc/node.hxx
+++ b/starmath/inc/node.hxx
@@ -701,8 +701,10 @@ class SmTableNode : public SmStructureNode
long nFormulaBaseline;
public:
SmTableNode(const SmToken &rNodeToken)
- : SmStructureNode(NTABLE, rNodeToken)
- {}
+ : SmStructureNode(NTABLE, rNodeToken)
+ , nFormulaBaseline(0)
+ {
+ }
using SmNode::GetLeftMost;
virtual SmNode * GetLeftMost() SAL_OVERRIDE;