summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--starmath/source/parse.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx
index 63886e5a51d8..4977a828e282 100644
--- a/starmath/source/parse.cxx
+++ b/starmath/source/parse.cxx
@@ -339,7 +339,7 @@ bool IsDelimiter( const OUString &rTxt, sal_Int32 nPos )
void SmParser::Replace( sal_Int32 nPos, sal_Int32 nLen, const OUString &rText )
{
- OSL_ENSURE( nPos + nLen <= m_aBufferString.getLength(), "argument mismatch" );
+ assert( nPos + nLen <= m_aBufferString.getLength() );
m_aBufferString = m_aBufferString.replaceAt( nPos, nLen, rText );
sal_Int32 nChg = rText.getLength() - nLen;