[Libreoffice-commits] core.git: starmath/inc
Takeshi Abe
tabe at fixedpoint.jp
Wed Aug 3 08:09:43 UTC 2016
starmath/inc/node.hxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 9f8f6e032a61beaddeaa3bf3bb0ed08581c15b17
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date: Tue Aug 2 18:38:53 2016 +0900
starmath: SmRootSymbolNode must have type NROOTSYMBOL
Change-Id: I1ce875fba10e0e84fc015cecdb5a36e48ee8ea0e
diff --git a/starmath/inc/node.hxx b/starmath/inc/node.hxx
index a2b50d7..7966133 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
More information about the Libreoffice-commits
mailing list