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

tdf#42949 Fix IWYU warnings in include/rtl/*

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

Change-Id: Iae997959a0ec2c9edb1c795533692ec4e579449f
Reviewed-on: https://gerrit.libreoffice.org/57313
Tested-by: Jenkins
Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
üst 6a6774cc
...@@ -34,3 +34,9 @@ blacklist: ...@@ -34,3 +34,9 @@ blacklist:
include/osl/thread.hxx: include/osl/thread.hxx:
# 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/rtl/instance.hxx:
# Needed for template functions
- osl/getglobalmutex.hxx
include/rtl/math.hxx:
# TODO MSVC does not compile basegfx/numeric/ftools.hxx when this is replaced
- math.h
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
#include "sal/config.h" #include "sal/config.h"
#include "rtl/alloc.h" #include "rtl/alloc.h"
#include "rtl/ustring.h"
#include "sal/saldllapi.h" #include "sal/saldllapi.h"
#include "sal/types.h" #include "sal/types.h"
......
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
#include "sal/config.h" #include "sal/config.h"
#include <cassert> #include <cassert>
#include <cstddef>
#include <cstring> #include <cstring>
#include "rtl/strbuf.h" #include "rtl/strbuf.h"
......
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
#include <cstddef> #include <cstddef>
#include <new> #include <new>
#include <ostream> #include <ostream>
#include <utility>
#include <string.h> #include <string.h>
#include "rtl/textenc.h" #include "rtl/textenc.h"
...@@ -37,8 +36,6 @@ ...@@ -37,8 +36,6 @@
#include "rtl/stringconcat.hxx" #include "rtl/stringconcat.hxx"
#endif #endif
#include "sal/log.hxx"
#ifdef RTL_STRING_UNITTEST #ifdef RTL_STRING_UNITTEST
extern bool rtl_string_unittest_const_literal; extern bool rtl_string_unittest_const_literal;
extern bool rtl_string_unittest_const_literal_function; extern bool rtl_string_unittest_const_literal_function;
......
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
#include "sal/config.h" #include "sal/config.h"
#include <cassert> #include <cassert>
#include <cstddef>
#include <cstring> #include <cstring>
#include "rtl/ustrbuf.h" #include "rtl/ustrbuf.h"
......
...@@ -26,14 +26,11 @@ ...@@ -26,14 +26,11 @@
#include <cstddef> #include <cstddef>
#include <new> #include <new>
#include <ostream> #include <ostream>
#include <utility>
#include <string.h>
#include "rtl/ustring.h" #include "rtl/ustring.h"
#include "rtl/string.hxx" #include "rtl/string.hxx"
#include "rtl/stringutils.hxx" #include "rtl/stringutils.hxx"
#include "rtl/textenc.h" #include "rtl/textenc.h"
#include "sal/log.hxx"
#ifdef LIBO_INTERNAL_ONLY // "RTL_FAST_STRING" #ifdef LIBO_INTERNAL_ONLY // "RTL_FAST_STRING"
#include "config_global.h" #include "config_global.h"
......
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