Kaydet (Commit) 6b51fee8 authored tarafından Gabor Kelemen's avatar Gabor Kelemen Kaydeden (comit) Miklos Vajna

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: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
üst 15eadb56
...@@ -99,6 +99,7 @@ ...@@ -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>
......
...@@ -61,6 +61,7 @@ ...@@ -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;
......
...@@ -19,6 +19,7 @@ ...@@ -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;
......
...@@ -35,6 +35,7 @@ ...@@ -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>
......
...@@ -18,6 +18,7 @@ ...@@ -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>
......
...@@ -22,3 +22,15 @@ blacklist: ...@@ -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
...@@ -24,7 +24,6 @@ ...@@ -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 @@ ...@@ -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
{ {
......
...@@ -24,6 +24,7 @@ ...@@ -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"
......
...@@ -18,6 +18,7 @@ ...@@ -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>
......
...@@ -43,6 +43,7 @@ ...@@ -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>
......
...@@ -22,6 +22,7 @@ ...@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment