diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-04-22 15:13:40 +0200 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2013-04-25 16:16:44 +0300 |
commit | 3acaa6748d569acfd69b8f2ac22d35d168861c11 (patch) | |
tree | ce99fa320271e372a4fda1be24112772935db918 /xmloff | |
parent | 39f549573f4de90b0005c2a59b45ff198afe3d62 (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.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/core/xmltoken.cxx b/xmloff/source/core/xmltoken.cxx index 5c8014671b18..425673213fc4 100644 --- a/xmloff/source/core/xmltoken.cxx +++ b/xmloff/source/core/xmltoken.cxx @@ -3183,8 +3183,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 |