summaryrefslogtreecommitdiff
path: root/unoidl
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2019-01-26 09:54:59 +0100
committerMiklos Vajna <vmiklos@collabora.com>2019-02-13 12:11:01 +0100
commit7f6a5b433988e80f7d404c67d6320116ecb28c06 (patch)
tree728e4350656bd3e57d842666a585164bc35fb828 /unoidl
parent8e2d16b337fbd1602af26bd9b40d7e86cee5202e (diff)
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 <vmiklos@collabora.com>
Diffstat (limited to 'unoidl')
-rw-r--r--unoidl/source/legacyprovider.cxx1
-rw-r--r--unoidl/source/sourceprovider-parser-requires.hxx2
-rw-r--r--unoidl/source/sourceprovider-parser.y1
-rw-r--r--unoidl/source/sourceprovider-scanner.l1
-rw-r--r--unoidl/source/sourcetreeprovider.cxx3
-rw-r--r--unoidl/source/unoidl-read.cxx2
-rw-r--r--unoidl/source/unoidl-write.cxx1
7 files changed, 2 insertions, 9 deletions
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 <sal/config.h>
#include <cassert>
-#include <cstring>
#include <vector>
#include <registry/reader.hxx>
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 <vector>
-#include <rtl/string.hxx>
#include <rtl/ustring.hxx>
#include <sal/types.h>
-#include <unoidl/unoidl.hxx>
#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 <sal/config.h>
#include <rtl/ustrbuf.hxx>
+#include <unoidl/unoidl.hxx>
#include <algorithm>
#include <cassert>
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 <unoidl/unoidl.hxx>
#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 <map>
#include <vector>
-#include <cstring>
#include <osl/file.h>
#include <osl/file.hxx>
@@ -22,8 +21,6 @@
#include <rtl/ustring.hxx>
#include <unoidl/unoidl.hxx>
-#include "sourceprovider-parser-requires.hxx"
-#include <sourceprovider-parser.hxx>
#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 <sal/config.h>
#include <cassert>
-#include <cstddef>
#include <cstdlib>
#include <iostream>
#include <map>
@@ -18,7 +17,6 @@
#include <utility>
#include <vector>
-#include <osl/file.h>
#include <osl/file.hxx>
#include <osl/process.h>
#include <rtl/process.h>
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 <algorithm>
#include <cassert>
-#include <cstddef>
#include <cstdlib>
#include <iostream>
#include <map>