summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-11-17 10:25:45 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-11-18 07:23:45 +0100
commit3fc10def9e82cccf3e2bb2aacadafcb321ad0773 (patch)
treedda1819beb5e52fbcdbdd0ce3a84dbd4dada1fac /xmloff
parent57f9fad565fed476b95cd53f2d025add577affe6 (diff)
fix XMLOFF_WARN_UNKNOWN
since (doh!) having it as a function does not correctly log the actual caller source line information. Change-Id: Iae1007414259dea372f761765e090e1ed2ddbea9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105972 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/core/xmlictxt.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/xmloff/source/core/xmlictxt.cxx b/xmloff/source/core/xmlictxt.cxx
index 5c75a964caef..175adf28c876 100644
--- a/xmloff/source/core/xmlictxt.cxx
+++ b/xmloff/source/core/xmlictxt.cxx
@@ -144,9 +144,4 @@ css::uno::Sequence< sal_Int8 > SAL_CALL SvXMLImportContext::getImplementationId(
return css::uno::Sequence<sal_Int8>();
}
-void XMLOFF_WARN_UNKNOWN(const char *area, sax_fastparser::FastAttributeList::FastAttributeIter const & rIter)
-{
- SAL_WARN(area, "unknown attribute " << SvXMLImport::getPrefixAndNameFromToken(rIter.getToken()) << " value=" << rIter.toString());
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */