From 7f6a5b433988e80f7d404c67d6320116ecb28c06 Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Sat, 26 Jan 2019 09:54:59 +0100 Subject: tdf#42949 Fix IWYU warnings in unoidl/ Found with bin/find-unneeded-includes Only removal proposals are dealt with here. When rechecking make sure to add -I/$SRCDIR/workdir/YaccTarget/unoidl/source/ to the IWYU cmd to get correct results Change-Id: Ie3c97d2152ebba80d7c84607bf82b9bed2790eae Reviewed-on: https://gerrit.libreoffice.org/67520 Tested-by: Jenkins Reviewed-by: Miklos Vajna --- unoidl/source/legacyprovider.cxx | 1 - unoidl/source/sourceprovider-parser-requires.hxx | 2 -- unoidl/source/sourceprovider-parser.y | 1 + unoidl/source/sourceprovider-scanner.l | 1 + unoidl/source/sourcetreeprovider.cxx | 3 --- unoidl/source/unoidl-read.cxx | 2 -- unoidl/source/unoidl-write.cxx | 1 - 7 files changed, 2 insertions(+), 9 deletions(-) (limited to 'unoidl') diff --git a/unoidl/source/legacyprovider.cxx b/unoidl/source/legacyprovider.cxx index 5dc418196cfd..ac133319a63d 100644 --- a/unoidl/source/legacyprovider.cxx +++ b/unoidl/source/legacyprovider.cxx @@ -10,7 +10,6 @@ #include #include -#include #include #include diff --git a/unoidl/source/sourceprovider-parser-requires.hxx b/unoidl/source/sourceprovider-parser-requires.hxx index 95a6052e0252..74b04d450d2b 100644 --- a/unoidl/source/sourceprovider-parser-requires.hxx +++ b/unoidl/source/sourceprovider-parser-requires.hxx @@ -14,10 +14,8 @@ #include -#include #include #include -#include #define YYLTYPE int diff --git a/unoidl/source/sourceprovider-parser.y b/unoidl/source/sourceprovider-parser.y index af8d0ec193bd..94573b1ea147 100644 --- a/unoidl/source/sourceprovider-parser.y +++ b/unoidl/source/sourceprovider-parser.y @@ -17,6 +17,7 @@ #include #include +#include #include #include diff --git a/unoidl/source/sourceprovider-scanner.l b/unoidl/source/sourceprovider-scanner.l index a4f636829784..014966a1c60e 100644 --- a/unoidl/source/sourceprovider-scanner.l +++ b/unoidl/source/sourceprovider-scanner.l @@ -35,6 +35,7 @@ #include "rtl/ustring.hxx" #include "rtl/textenc.h" #include "sal/types.h" +#include #include "sourceprovider-parser-requires.hxx" #include "sourceprovider-parser.hxx" diff --git a/unoidl/source/sourcetreeprovider.cxx b/unoidl/source/sourcetreeprovider.cxx index 31294ba1ac06..0d88c8e0565a 100644 --- a/unoidl/source/sourcetreeprovider.cxx +++ b/unoidl/source/sourcetreeprovider.cxx @@ -12,7 +12,6 @@ #include #include -#include #include #include @@ -22,8 +21,6 @@ #include #include -#include "sourceprovider-parser-requires.hxx" -#include #include "sourceprovider-scanner.hxx" #include "sourcetreeprovider.hxx" diff --git a/unoidl/source/unoidl-read.cxx b/unoidl/source/unoidl-read.cxx index 30eb7b4e5994..6414fb376a1c 100644 --- a/unoidl/source/unoidl-read.cxx +++ b/unoidl/source/unoidl-read.cxx @@ -10,7 +10,6 @@ #include #include -#include #include #include #include @@ -18,7 +17,6 @@ #include #include -#include #include #include #include diff --git a/unoidl/source/unoidl-write.cxx b/unoidl/source/unoidl-write.cxx index 1626dbe19ea5..ef3d888b66d6 100644 --- a/unoidl/source/unoidl-write.cxx +++ b/unoidl/source/unoidl-write.cxx @@ -11,7 +11,6 @@ #include #include -#include #include #include #include -- cgit