tdf#42949 Fix IWYU warnings in include/osl/*hxx

Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.

Change-Id: I7b19938246ca8498fa300f781589bf17b3d486aa
Reviewed-on: https://gerrit.libreoffice.org/56723
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
This commit is contained in:
Gabor Kelemen
2018-06-29 18:22:01 +02:00
committed by Miklos Vajna
parent 15eadb56d0
commit 6b51fee8d2
11 changed files with 22 additions and 3 deletions

View File

@@ -99,6 +99,7 @@
#include <officecfg/Setup.hxx> #include <officecfg/Setup.hxx>
#include <osl/file.hxx> #include <osl/file.hxx>
#include <osl/process.h> #include <osl/process.h>
#include <rtl/byteseq.hxx>
#include <rtl/uri.hxx> #include <rtl/uri.hxx>
#include <unotools/pathoptions.hxx> #include <unotools/pathoptions.hxx>
#include <svtools/miscopt.hxx> #include <svtools/miscopt.hxx>

View File

@@ -61,6 +61,7 @@
#include <osl/thread.hxx> #include <osl/thread.hxx>
#include <osl/file.hxx> #include <osl/file.hxx>
#include <osl/file.h> #include <osl/file.h>
#include <rtl/byteseq.hxx>
#include <iostream> #include <iostream>
using namespace ::osl; using namespace ::osl;

View File

@@ -19,6 +19,7 @@
#include <dp_misc.h> #include <dp_misc.h>
#include <dp_persmap.h> #include <dp_persmap.h>
#include <rtl/byteseq.hxx>
#include <rtl/strbuf.hxx> #include <rtl/strbuf.hxx>
using namespace ::rtl; using namespace ::rtl;

View File

@@ -35,6 +35,7 @@
#include <osl/process.h> #include <osl/process.h>
#include <osl/file.hxx> #include <osl/file.hxx>
#include <osl/thread.h> #include <osl/thread.h>
#include <rtl/byteseq.hxx>
#include <o3tl/char16_t2wchar_t.hxx> #include <o3tl/char16_t2wchar_t.hxx>
#include <o3tl/safeint.hxx> #include <o3tl/safeint.hxx>
#include <memory> #include <memory>

View File

@@ -18,6 +18,7 @@
*/ */
#include <idlc.hxx> #include <idlc.hxx>
#include <rtl/alloc.h>
#include <rtl/ustring.hxx> #include <rtl/ustring.hxx>
#include <rtl/strbuf.hxx> #include <rtl/strbuf.hxx>
#include <osl/process.h> #include <osl/process.h>

View File

@@ -22,3 +22,15 @@ blacklist:
include/osl/thread.h: include/osl/thread.h:
# ODK API test would fail with fw decl here # ODK API test would fail with fw decl here
- osl/time.h - osl/time.h
include/osl/conditn.hxx:
# ODK API test would fail with fw decl here
- osl/time.h
include/osl/pipe_decl.hxx:
# ODK API test would fail with fw decl here
- osl/security.hxx
include/osl/socket_decl.hxx:
# Needed by socket.hxx for inline function
- rtl/byteseq.hxx
include/osl/thread.hxx:
# ODK API test would fail with fw decl here
- osl/time.h

View File

@@ -24,7 +24,6 @@
#include <string.h> #include <string.h>
#include <cassert>
#include <cstddef> #include <cstddef>
#include "sal/log.hxx" #include "sal/log.hxx"
@@ -33,9 +32,8 @@
#include "osl/file.h" #include "osl/file.h"
#include "osl/diagnose.h" #include "osl/diagnose.h"
#include "rtl/byteseq.hxx"
#include <stdio.h> namespace rtl { class ByteSequence; }
namespace osl namespace osl
{ {

View File

@@ -24,6 +24,7 @@
#include <osl/file.hxx> #include <osl/file.hxx>
#include <osl/detail/file.h> #include <osl/detail/file.h>
#include <rtl/alloc.h> #include <rtl/alloc.h>
#include <rtl/byteseq.hxx>
#include <rtl/string.hxx> #include <rtl/string.hxx>
#include "system.hxx" #include "system.hxx"

View File

@@ -18,6 +18,7 @@
*/ */
#include <sal/types.h> #include <sal/types.h>
#include <rtl/byteseq.hxx>
#include <rtl/ustring.hxx> #include <rtl/ustring.hxx>
#include <rtl/ustrbuf.hxx> #include <rtl/ustrbuf.hxx>

View File

@@ -43,6 +43,7 @@
#include <cppuhelper/weak.hxx> #include <cppuhelper/weak.hxx>
#include <osl/file.hxx> #include <osl/file.hxx>
#include <osl/security.hxx> #include <osl/security.hxx>
#include <rtl/byteseq.hxx>
#include <rtl/string.h> #include <rtl/string.h>
#include <rtl/textenc.h> #include <rtl/textenc.h>
#include <rtl/ustring.h> #include <rtl/ustring.h>

View File

@@ -22,6 +22,7 @@
#include <osl/file.h> #include <osl/file.h>
#include <osl/file.hxx> #include <osl/file.hxx>
#include <osl/process.h> #include <osl/process.h>
#include <rtl/byteseq.hxx>
#include <rtl/process.h> #include <rtl/process.h>
#include <rtl/string.h> #include <rtl/string.h>
#include <rtl/string.hxx> #include <rtl/string.hxx>