diff options
-rw-r--r-- | starmath/source/node.cxx | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx index a76e7c53bbd8..3d218811b715 100644 --- a/starmath/source/node.cxx +++ b/starmath/source/node.cxx @@ -125,13 +125,18 @@ void SmTmpDevice::SetFont(const Font &rNewFont) SmNode::SmNode(SmNodeType eNodeType, const SmToken &rNodeToken) + : aNodeToken( rNodeToken ) + , eType( eNodeType ) + , eScaleMode( SCALE_NONE ) + , eRectHorAlign( RHA_LEFT ) + , nFlags( 0 ) + , nAttributes( 0 ) + , bIsPhantom( false ) + , bIsDebug( false ) + , bIsSelected( false ) + , nAccIndex( -1 ) + , aParentNode( NULL ) { - eType = eNodeType; - eScaleMode = SCALE_NONE; - aNodeToken = rNodeToken; - nAccIndex = -1; - SetSelected(false); - aParentNode = NULL; } |