summaryrefslogtreecommitdiff
path: root/sax/source
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2021-04-18 16:17:27 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-04-18 20:12:29 +0200
commitceef618f77e3d7d2f1b904aa66ed503da0059010 (patch)
tree0cc46bd65b9369fd492a9b7654a94d14c006677d /sax/source
parent9cff36d37df95bb9d2b552259c718459b2f81682 (diff)
reduce log noise
Change-Id: I1172470ededff6cacc0d35f069e7afb9c97a425e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114245 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sax/source')
-rw-r--r--sax/source/fastparser/fastparser.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sax/source/fastparser/fastparser.cxx b/sax/source/fastparser/fastparser.cxx
index f35e56e8ab7f..aa3bb66c18f8 100644
--- a/sax/source/fastparser/fastparser.cxx
+++ b/sax/source/fastparser/fastparser.cxx
@@ -1319,7 +1319,8 @@ void FastSaxParserImpl::addUnknownElementWithPrefix(const xmlChar **attributes,
OString aQualifiedName = (rPrefix.isEmpty())? rLocalName : rPrefix + ":" + rLocalName;
xAttributes->addUnknown( aNamespaceURI, aQualifiedName,
OString( XML_CAST( attributes[ i + 3 ] ), attributes[ i + 4 ] - attributes[ i + 3 ] ));
- SAL_WARN("xmloff", "unknown element " << aQualifiedName << " " << aNamespaceURI);
+ // ignore an element that otherwise generates a lot of noise in the logs
+ SAL_WARN_IF(aQualifiedName != "x14ac:dyDescent", "xmloff", "unknown element " << aQualifiedName << " " << aNamespaceURI);
}
void FastSaxParserImpl::callbackEndElement()