summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--starmath/source/parse.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx
index 90dfb28da6c7..9b3a7859510a 100644
--- a/starmath/source/parse.cxx
+++ b/starmath/source/parse.cxx
@@ -1247,8 +1247,7 @@ void SmParser::DoSubSup(sal_uLong nActiveGroup)
SAL_WARN( "starmath", "unknown case");
}
nIndex++;
- OSL_ENSURE(1 <= nIndex && nIndex <= 1 + SUBSUP_NUM_ENTRIES,
- "SmParser::Power() : sub-/supscript index falsch");
+ assert(1 <= nIndex && nIndex <= SUBSUP_NUM_ENTRIES);
// set sub-/supscript if not already done
if (aSubNodes[nIndex] != nullptr)