diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2020-06-16 09:31:16 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2020-06-16 13:26:35 +0200 |
commit | 12a8b07ba426ef06c987b2ad6b3bcd5344ec3798 (patch) | |
tree | 7f395cadd9ca6f2e946901a1eb331e2fd26a0ae5 /xmloff | |
parent | 009899190ef1e606cac82ab4de2ce0d8438eb09e (diff) |
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@collabora.com>
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/core/xmlimp.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
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 |