summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmloff/source/core/xmltoken.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmloff/source/core/xmltoken.cxx b/xmloff/source/core/xmltoken.cxx
index e28178afdda5..4893fade61ab 100644
--- a/xmloff/source/core/xmltoken.cxx
+++ b/xmloff/source/core/xmltoken.cxx
@@ -3322,7 +3322,8 @@ namespace xmloff { namespace token {
while (pEntry < pEntryEnd)
{
assert(nPos == static_cast<sal_uInt16>(pEntry->eToken));
- // "xmloff::GetXMLToken: inconsistency in the token list!"
+ // Inconsistency in the token list!
+ // The positions in xmltoken.hxx and xmltoken.cxx need to match.
++pEntry;
++nPos;
}