[Libreoffice-commits] core.git: xmloff/source

Samuel Mehrbrodt Samuel.Mehrbrodt at cib.de
Mon Mar 19 13:35:05 UTC 2018


 xmloff/source/core/xmltoken.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 7dd5c37e1e4113cac967082bf0f6b66adfbbd326
Author: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
Date:   Mon Mar 19 11:08:11 2018 +0100

    Improve error message on token inconsistency
    
    Change-Id: Ib8f4d0d008b495139defb162b1b5105e5e271c67
    Reviewed-on: https://gerrit.libreoffice.org/51536
    Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
    Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>

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;
             }


More information about the Libreoffice-commits mailing list