[Libreoffice-commits] core.git: xmloff/source
Michael Meeks (via logerrit)
logerrit at kemper.freedesktop.org
Tue Jun 16 11:27:14 UTC 2020
xmloff/source/core/xmlimp.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 12a8b07ba426ef06c987b2ad6b3bcd5344ec3798
Author: Michael Meeks <michael.meeks at collabora.com>
AuthorDate: Tue Jun 16 09:31:16 2020 +0100
Commit: Michael Meeks <michael.meeks at collabora.com>
CommitDate: Tue Jun 16 13:26:35 2020 +0200
Add more debug for mal-formed xml.
Change-Id: I905d54ade7fdce992b0ff6e81d51915b43acd2ed
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96434
Tested-by: Jenkins
Reviewed-by: Michael Meeks <michael.meeks at collabora.com>
diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx
index 1e77eca85928..940fc20eaa73 100644
--- a/xmloff/source/core/xmlimp.cxx
+++ b/xmloff/source/core/xmlimp.cxx
@@ -783,7 +783,8 @@ rName
sal_uInt16 nPrefix =
mpNamespaceMap->GetKeyByAttrName( rName, &aLocalName );
SAL_WARN_IF( xContext->GetPrefix() != nPrefix, "xmloff.core", "SvXMLImport::endElement: popped context has wrong prefix" );
- SAL_WARN_IF( xContext->GetLocalName() != aLocalName, "xmloff.core", "SvXMLImport::endElement: popped context has wrong lname" );
+ SAL_WARN_IF( xContext->GetLocalName() != aLocalName, "xmloff.core", "SvXMLImport::endElement: popped context has wrong lname '"
+ << aLocalName << "' expected. '" << xContext->GetLocalName() << "' with impl " << getImplementationName() );
}
#endif
More information about the Libreoffice-commits
mailing list