summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-22 09:13:13 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-22 11:39:21 +0100
commit6320d1efa39152e8fe0e9ff2f49ecdca112b5995 (patch)
tree994fefc178a42ec4fe6f157ca4ac4817233314ad /starmath
parent0526aa64c2eba08b218f3811866ab0cc507ac99b (diff)
coverity#708228 Uninitialized scalar field
Change-Id: I742c2eeaa539b9e8557821e15910d0c739e51891
Diffstat (limited to 'starmath')
-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;