summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/node.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx
index 6ffd0fb2531f..0e7d6a46e28a 100644
--- a/starmath/source/node.cxx
+++ b/starmath/source/node.cxx
@@ -2343,10 +2343,12 @@ SmTextNode::SmTextNode( SmNodeType eNodeType, const SmToken &rNodeToken, sal_uIn
}
-SmTextNode::SmTextNode( const SmToken &rNodeToken, sal_uInt16 nFontDescP ) :
- SmVisibleNode(NTEXT, rNodeToken)
+SmTextNode::SmTextNode( const SmToken &rNodeToken, sal_uInt16 nFontDescP )
+ : SmVisibleNode(NTEXT, rNodeToken)
+ , nFontDesc(nFontDescP)
+ , nSelectionStart(0)
+ , nSelectionEnd(0)
{
- nFontDesc = nFontDescP;
}