From ce1276a4c4a9f16cbe5075e0a5a09712c4b3212c Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Fri, 25 Jan 2019 17:22:40 +0100 Subject: [PATCH] tdf#42949 Fix IWYU warnings in xmlreader/ Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I9e64ad0a20654e2b97de5b23302ce2cab1a09c00 Reviewed-on: https://gerrit.libreoffice.org/66975 Tested-by: Jenkins Reviewed-by: Miklos Vajna --- xmlreader/IwyuFilter_xmlreader.yaml | 2 ++ xmlreader/source/span.cxx | 1 - xmlreader/source/xmlreader.cxx | 2 -- 3 files changed, 2 insertions(+), 3 deletions(-) create mode 100644 xmlreader/IwyuFilter_xmlreader.yaml diff --git a/xmlreader/IwyuFilter_xmlreader.yaml b/xmlreader/IwyuFilter_xmlreader.yaml new file mode 100644 index 000000000000..bb9f26a1e585 --- /dev/null +++ b/xmlreader/IwyuFilter_xmlreader.yaml @@ -0,0 +1,2 @@ +--- +assumeFilename: xmlreader/source/xmlreader.cxx diff --git a/xmlreader/source/span.cxx b/xmlreader/source/span.cxx index b2d78a87fb74..29433c561fb7 100644 --- a/xmlreader/source/span.cxx +++ b/xmlreader/source/span.cxx @@ -22,7 +22,6 @@ #include #include -#include #include #include #include diff --git a/xmlreader/source/xmlreader.cxx b/xmlreader/source/xmlreader.cxx index 58f3ec88ebb6..1651f857e411 100644 --- a/xmlreader/source/xmlreader.cxx +++ b/xmlreader/source/xmlreader.cxx @@ -21,11 +21,9 @@ #include #include -#include #include #include -#include #include #include #include