summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Magliocchetti <riccardo.magliocchetti@gmail.com>2014-11-14 12:07:01 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-11-18 10:32:40 +0100
commit2c1bf30bda6b914611134317b652402e4488fd03 (patch)
tree7ee17e69f94bbd30ccfb1a47dc07c640f2c53281
parent18db9ba9891df7c909dc1f67bbfe9ef25620f816 (diff)
More iwyu suggested headers removal
Signed-off-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com> Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, undid one remove that was detrimental to loplugin:unreffun Change-Id: I18d8252084d828f94ef7a954e1dbfb45743d7970
-rw-r--r--codemaker/source/codemaker/unotype.cxx1
-rw-r--r--codemaker/source/cppumaker/dumputils.cxx1
-rw-r--r--idlc/inc/idlc/aststructinstance.hxx1
-rw-r--r--include/salhelper/simplereferenceobject.hxx1
-rw-r--r--sal/osl/unx/file_path_helper.hxx1
-rw-r--r--sal/qa/osl/process/osl_process_child.cxx2
-rw-r--r--sal/rtl/digest.cxx1
-rw-r--r--sal/rtl/hash.hxx1
-rw-r--r--sal/rtl/strimp.hxx1
-rw-r--r--sal/textenc/context.hxx1
-rw-r--r--sal/textenc/convertisciidevangari.cxx1
-rw-r--r--sal/textenc/convertiso2022cn.cxx1
-rw-r--r--sal/textenc/convertiso2022jp.cxx1
-rw-r--r--sal/textenc/convertiso2022kr.cxx1
-rw-r--r--sal/textenc/convertsinglebytetobmpunicode.cxx1
-rw-r--r--sal/textenc/convertsinglebytetobmpunicode.hxx1
-rw-r--r--store/source/object.cxx4
-rw-r--r--store/source/object.hxx1
-rw-r--r--vcl/generic/fontmanager/parseAFM.cxx3
-rw-r--r--vcl/generic/fontmanager/parseAFM.hxx1
-rw-r--r--vcl/inc/bmpfast.hxx2
21 files changed, 1 insertions, 27 deletions
diff --git a/codemaker/source/codemaker/unotype.cxx b/codemaker/source/codemaker/unotype.cxx
index 5b76a04462b2..38de2a7e1913 100644
--- a/codemaker/source/codemaker/unotype.cxx
+++ b/codemaker/source/codemaker/unotype.cxx
@@ -24,7 +24,6 @@
#include "rtl/string.hxx"
#include "sal/types.h"
-#include <vector>
OString codemaker::UnoType::decompose(
OString const & type, sal_Int32 * rank,
diff --git a/codemaker/source/cppumaker/dumputils.cxx b/codemaker/source/cppumaker/dumputils.cxx
index 4c8282443dba..8f720f61e35b 100644
--- a/codemaker/source/cppumaker/dumputils.cxx
+++ b/codemaker/source/cppumaker/dumputils.cxx
@@ -21,7 +21,6 @@
#include "dumputils.hxx"
#include "codemaker/global.hxx"
-#include "codemaker/commoncpp.hxx"
#include "rtl/ustring.hxx"
#include "sal/types.h"
diff --git a/idlc/inc/idlc/aststructinstance.hxx b/idlc/inc/idlc/aststructinstance.hxx
index ebc7f6c46ae8..706d6cb1c0db 100644
--- a/idlc/inc/idlc/aststructinstance.hxx
+++ b/idlc/inc/idlc/aststructinstance.hxx
@@ -23,7 +23,6 @@
#include "idlc/asttype.hxx"
#include "idlc/idlctypes.hxx"
-class AstDeclaration;
class AstScope;
class AstStructInstance: public AstType {
diff --git a/include/salhelper/simplereferenceobject.hxx b/include/salhelper/simplereferenceobject.hxx
index b150fb238c14..67626b156aad 100644
--- a/include/salhelper/simplereferenceobject.hxx
+++ b/include/salhelper/simplereferenceobject.hxx
@@ -21,7 +21,6 @@
#define INCLUDED_SALHELPER_SIMPLEREFERENCEOBJECT_HXX
#include <osl/interlck.h>
-#include <sal/types.h>
#include <salhelper/salhelperdllapi.h>
#include <cstddef>
diff --git a/sal/osl/unx/file_path_helper.hxx b/sal/osl/unx/file_path_helper.hxx
index 6b1418daec9a..6396ddbe96f1 100644
--- a/sal/osl/unx/file_path_helper.hxx
+++ b/sal/osl/unx/file_path_helper.hxx
@@ -21,7 +21,6 @@
#define INCLUDED_SAL_OSL_UNX_FILE_PATH_HELPER_HXX
#include "file_path_helper.h"
-
#include <rtl/ustring.hxx>
namespace osl
diff --git a/sal/qa/osl/process/osl_process_child.cxx b/sal/qa/osl/process/osl_process_child.cxx
index ee5ecf5bb2c9..feabd1dc6e7d 100644
--- a/sal/qa/osl/process/osl_process_child.cxx
+++ b/sal/qa/osl/process/osl_process_child.cxx
@@ -29,11 +29,9 @@
#include <stdio.h>
#include <stdlib.h>
-#include <iostream>
#include <fstream>
#include <string.h>
-#include <rtl/ustring.hxx>
#ifdef UNX
#if defined( MACOSX )
diff --git a/sal/rtl/digest.cxx b/sal/rtl/digest.cxx
index 75cf20900de0..b35700e7cefb 100644
--- a/sal/rtl/digest.cxx
+++ b/sal/rtl/digest.cxx
@@ -20,7 +20,6 @@
#include <string.h>
#include <sal/types.h>
-#include <sal/macros.h>
#include <osl/endian.h>
#include <rtl/alloc.h>
#include <rtl/digest.h>
diff --git a/sal/rtl/hash.hxx b/sal/rtl/hash.hxx
index 5997118ca291..9f80448e774e 100644
--- a/sal/rtl/hash.hxx
+++ b/sal/rtl/hash.hxx
@@ -20,7 +20,6 @@
#ifndef INCLUDED_SAL_RTL_HASH_HXX
#define INCLUDED_SAL_RTL_HASH_HXX
-#include <sal/types.h>
#include <rtl/ustring.h>
/* These functions are not multi-thread safe: */
diff --git a/sal/rtl/strimp.hxx b/sal/rtl/strimp.hxx
index d7370773f477..b7589cde2f28 100644
--- a/sal/rtl/strimp.hxx
+++ b/sal/rtl/strimp.hxx
@@ -25,7 +25,6 @@
#include <sys/sdt.h>
#endif
-#include <osl/interlck.h>
#include "sal/types.h"
diff --git a/sal/textenc/context.hxx b/sal/textenc/context.hxx
index 1f8eb48add6b..83b4d1e0b2d9 100644
--- a/sal/textenc/context.hxx
+++ b/sal/textenc/context.hxx
@@ -20,7 +20,6 @@
#ifndef INCLUDED_SAL_TEXTENC_CONTEXT_HXX
#define INCLUDED_SAL_TEXTENC_CONTEXT_HXX
-#include "sal/config.h"
#include "sal/types.h"
diff --git a/sal/textenc/convertisciidevangari.cxx b/sal/textenc/convertisciidevangari.cxx
index 27cc1ff91913..4fea41d8ef60 100644
--- a/sal/textenc/convertisciidevangari.cxx
+++ b/sal/textenc/convertisciidevangari.cxx
@@ -8,6 +8,7 @@
*/
#include "converter.hxx"
+#include "unichars.hxx"
#include "convertisciidevangari.hxx"
#include "convertsinglebytetobmpunicode.hxx"
#include <rtl/textcvt.h>
diff --git a/sal/textenc/convertiso2022cn.cxx b/sal/textenc/convertiso2022cn.cxx
index 90a27ac648ea..9d361ed3452a 100644
--- a/sal/textenc/convertiso2022cn.cxx
+++ b/sal/textenc/convertiso2022cn.cxx
@@ -22,7 +22,6 @@
#include "rtl/textcvt.h"
#include "sal/types.h"
-#include "context.hxx"
#include "converter.hxx"
#include "convertiso2022cn.hxx"
#include "tenchelp.hxx"
diff --git a/sal/textenc/convertiso2022jp.cxx b/sal/textenc/convertiso2022jp.cxx
index 7a821d55cac4..2aa9587ff28e 100644
--- a/sal/textenc/convertiso2022jp.cxx
+++ b/sal/textenc/convertiso2022jp.cxx
@@ -22,7 +22,6 @@
#include "rtl/textcvt.h"
#include "sal/types.h"
-#include "context.hxx"
#include "converter.hxx"
#include "convertiso2022jp.hxx"
#include "tenchelp.hxx"
diff --git a/sal/textenc/convertiso2022kr.cxx b/sal/textenc/convertiso2022kr.cxx
index 10e15bb36403..95a6520a8758 100644
--- a/sal/textenc/convertiso2022kr.cxx
+++ b/sal/textenc/convertiso2022kr.cxx
@@ -22,7 +22,6 @@
#include "rtl/textcvt.h"
#include "sal/types.h"
-#include "context.hxx"
#include "converter.hxx"
#include "convertiso2022kr.hxx"
#include "tenchelp.hxx"
diff --git a/sal/textenc/convertsinglebytetobmpunicode.cxx b/sal/textenc/convertsinglebytetobmpunicode.cxx
index fb522877cf03..8464b82328c2 100644
--- a/sal/textenc/convertsinglebytetobmpunicode.cxx
+++ b/sal/textenc/convertsinglebytetobmpunicode.cxx
@@ -21,7 +21,6 @@
#include <cstddef>
-#include "osl/diagnose.h"
#include "rtl/textcvt.h"
#include "sal/types.h"
diff --git a/sal/textenc/convertsinglebytetobmpunicode.hxx b/sal/textenc/convertsinglebytetobmpunicode.hxx
index cf765e26936f..8f3c8d6dcd38 100644
--- a/sal/textenc/convertsinglebytetobmpunicode.hxx
+++ b/sal/textenc/convertsinglebytetobmpunicode.hxx
@@ -26,7 +26,6 @@
#include "sal/types.h"
-#include "tenchelp.hxx"
/// @HTML
diff --git a/store/source/object.cxx b/store/source/object.cxx
index 53d1c089f690..bf17fed3f45f 100644
--- a/store/source/object.cxx
+++ b/store/source/object.cxx
@@ -20,10 +20,6 @@
#include "object.hxx"
#include "sal/types.h"
-#include "rtl/alloc.h"
-#include "rtl/ref.hxx"
-#include "osl/diagnose.h"
-#include "osl/interlck.h"
namespace store
{
diff --git a/store/source/object.hxx b/store/source/object.hxx
index 31f827fe8147..72381d05155b 100644
--- a/store/source/object.hxx
+++ b/store/source/object.hxx
@@ -21,7 +21,6 @@
#define INCLUDED_STORE_SOURCE_OBJECT_HXX
#include "sal/types.h"
-#include "rtl/ref.hxx"
#include "osl/interlck.h"
#include "salhelper/simplereferenceobject.hxx"
diff --git a/vcl/generic/fontmanager/parseAFM.cxx b/vcl/generic/fontmanager/parseAFM.cxx
index 13cdca73673b..b3a7f7ae8144 100644
--- a/vcl/generic/fontmanager/parseAFM.cxx
+++ b/vcl/generic/fontmanager/parseAFM.cxx
@@ -75,10 +75,7 @@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
-#include <errno.h>
-#include <sys/file.h>
#include <sys/stat.h>
-#include <math.h>
#include "parseAFM.hxx"
#include "vcl/strhelper.hxx"
diff --git a/vcl/generic/fontmanager/parseAFM.hxx b/vcl/generic/fontmanager/parseAFM.hxx
index d1fe171623ed..3f9c7d619656 100644
--- a/vcl/generic/fontmanager/parseAFM.hxx
+++ b/vcl/generic/fontmanager/parseAFM.hxx
@@ -92,7 +92,6 @@
#ifndef INCLUDED_VCL_GENERIC_FONTMANAGER_PARSEAFM_HXX
#define INCLUDED_VCL_GENERIC_FONTMANAGER_PARSEAFM_HXX
-#include <stdio.h>
namespace psp {
diff --git a/vcl/inc/bmpfast.hxx b/vcl/inc/bmpfast.hxx
index a637d9f4e6b3..2a4f6cd45a71 100644
--- a/vcl/inc/bmpfast.hxx
+++ b/vcl/inc/bmpfast.hxx
@@ -24,8 +24,6 @@ class BitmapWriteAccess;
class BitmapReadAccess;
struct BitmapBuffer;
class BitmapColor;
-class Size;
-class Point;
struct SalTwoRect;
// the bmpfast functions have signatures with good compatibility to