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: Miklos Vajna <vmiklos@collabora.co.uk>
This commit is contained in:
Gabor Kelemen 2018-07-12 06:53:38 +02:00 committed by Miklos Vajna
parent 6a6774cc4b
commit 55ca35ab99
6 changed files with 6 additions and 9 deletions

View file

@ -34,3 +34,9 @@ blacklist:
include/osl/thread.hxx:
# ODK API test would fail with fw decl here
- 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

View file

@ -22,7 +22,6 @@
#include "sal/config.h"
#include "rtl/alloc.h"
#include "rtl/ustring.h"
#include "sal/saldllapi.h"
#include "sal/types.h"

View file

@ -23,7 +23,6 @@
#include "sal/config.h"
#include <cassert>
#include <cstddef>
#include <cstring>
#include "rtl/strbuf.h"

View file

@ -26,7 +26,6 @@
#include <cstddef>
#include <new>
#include <ostream>
#include <utility>
#include <string.h>
#include "rtl/textenc.h"
@ -37,8 +36,6 @@
#include "rtl/stringconcat.hxx"
#endif
#include "sal/log.hxx"
#ifdef RTL_STRING_UNITTEST
extern bool rtl_string_unittest_const_literal;
extern bool rtl_string_unittest_const_literal_function;

View file

@ -23,7 +23,6 @@
#include "sal/config.h"
#include <cassert>
#include <cstddef>
#include <cstring>
#include "rtl/ustrbuf.h"

View file

@ -26,14 +26,11 @@
#include <cstddef>
#include <new>
#include <ostream>
#include <utility>
#include <string.h>
#include "rtl/ustring.h"
#include "rtl/string.hxx"
#include "rtl/stringutils.hxx"
#include "rtl/textenc.h"
#include "sal/log.hxx"
#ifdef LIBO_INTERNAL_ONLY // "RTL_FAST_STRING"
#include "config_global.h"