summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/parse.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx
index 7d02badf4e46..b7a0cf0aeba2 100644
--- a/starmath/source/parse.cxx
+++ b/starmath/source/parse.cxx
@@ -1508,10 +1508,7 @@ void SmParser::DoTerm(bool bGroupNumberIdent)
DoFontAttribut();
SmNode* pTmp = popOrZero(m_aNodeStack);
-
- // check if casting in following line is ok
- OSL_ENSURE(pTmp && !pTmp->IsVisible(), "Sm : Ooops...");
-
+ assert(pTmp && !pTmp->IsVisible());
aStack.push(static_cast<SmStructureNode *>(pTmp));
}