diff options
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/core/xmltoken.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/core/xmltoken.cxx b/xmloff/source/core/xmltoken.cxx index 264770d55045..7c6d110b2e9c 100644 --- a/xmloff/source/core/xmltoken.cxx +++ b/xmloff/source/core/xmltoken.cxx @@ -3205,8 +3205,8 @@ namespace xmloff { namespace token { sal_uInt16 nPos = 0; while ( pEntry < pEntryEnd ) { - OSL_ENSURE( nPos == (sal_uInt16)(pEntry->eToken), - "xmloff::GetXMLToken: inconsistency in the token list!" ); + assert(nPos == static_cast<sal_uInt16>(pEntry->eToken)); + // "xmloff::GetXMLToken: inconsistency in the token list!" ++pEntry, ++nPos; } #endif |