summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-04-22 15:13:40 +0200
committerMichael Stahl <mstahl@redhat.com>2013-04-22 15:20:59 +0200
commit784554dece1afd1008a765144a9d45bea7ee1760 (patch)
tree2f9d8a6f609a67f6c90b9c6e4c9543ca13bd753c /xmloff
parent5639cb44547b01443b772d02cb131342ec49ae20 (diff)
xmloff::token::GetXMLToken: deploy assert in consistency check
There will be serious problems if that is inconsistent. Change-Id: I41b8de66132224fb5cd2a6dcb7ff3128eb704016
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/core/xmltoken.cxx4
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