summaryrefslogtreecommitdiff
path: root/xmloff/source/style/ImageStyle.cxx
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-11-02 15:37:28 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-11-02 17:39:10 +0100
commit28be7b98070b7475cc675e76f075c941133cb790 (patch)
tree3237d5ca81cd7cc835a1200f5ae41e1008174b13 /xmloff/source/style/ImageStyle.cxx
parent3940cf7d716f3e469f47d3c831a799e58edf2eb8 (diff)
create common macro and method for logging unknown attributes
instead of repeating the code everywhere Change-Id: Idb94054b392ed256e64259cdb17d1522bf3c52b1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105184 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source/style/ImageStyle.cxx')
-rw-r--r--xmloff/source/style/ImageStyle.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/style/ImageStyle.cxx b/xmloff/source/style/ImageStyle.cxx
index b9be2e5318d0..59b4095c24e2 100644
--- a/xmloff/source/style/ImageStyle.cxx
+++ b/xmloff/source/style/ImageStyle.cxx
@@ -129,7 +129,7 @@ bool XMLImageStyle::importXML(uno::Reference<xml::sax::XFastAttributeList> const
// ignore
break;
default:
- SAL_WARN("xmloff.style", "unknown attribute " << SvXMLImport::getPrefixAndNameFromToken(aIter.getToken()) << "=" << aStrValue);
+ XMLOFF_WARN_UNKNOWN("xmloff.style", aIter);
}
}