From 9f8f6e032a61beaddeaa3bf3bb0ed08581c15b17 Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Tue, 2 Aug 2016 18:38:53 +0900 Subject: starmath: SmRootSymbolNode must have type NROOTSYMBOL Change-Id: I1ce875fba10e0e84fc015cecdb5a36e48ee8ea0e --- starmath/inc/node.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'starmath') diff --git a/starmath/inc/node.hxx b/starmath/inc/node.hxx index a2b50d7d0127..79661339b8a0 100644 --- a/starmath/inc/node.hxx +++ b/starmath/inc/node.hxx @@ -1254,7 +1254,7 @@ inline const SmNode* SmRootNode::Argument() const inline SmRootSymbolNode* SmRootNode::Symbol() { assert( GetNumSubNodes() == 3 ); - OSL_ASSERT( GetSubNode( 1 )->GetType() == NROOTSYMBOL ); + assert( GetSubNode( 1 )->GetType() == NROOTSYMBOL ); return static_cast< SmRootSymbolNode* >( GetSubNode( 1 )); } inline const SmRootSymbolNode* SmRootNode::Symbol() const -- cgit