[Libreoffice-commits] core.git: codemaker/source idlc/inc include/salhelper sal/osl sal/qa sal/rtl sal/textenc store/source vcl/generic vcl/inc

Riccardo Magliocchetti riccardo.magliocchetti at gmail.com
Tue Nov 18 01:33:07 PST 2014


 codemaker/source/codemaker/unotype.cxx        |    1 -
 codemaker/source/cppumaker/dumputils.cxx      |    1 -
 idlc/inc/idlc/aststructinstance.hxx           |    1 -
 include/salhelper/simplereferenceobject.hxx   |    1 -
 sal/osl/unx/file_path_helper.hxx              |    1 -
 sal/qa/osl/process/osl_process_child.cxx      |    2 --
 sal/rtl/digest.cxx                            |    1 -
 sal/rtl/hash.hxx                              |    1 -
 sal/rtl/strimp.hxx                            |    1 -
 sal/textenc/context.hxx                       |    1 -
 sal/textenc/convertisciidevangari.cxx         |    1 +
 sal/textenc/convertiso2022cn.cxx              |    1 -
 sal/textenc/convertiso2022jp.cxx              |    1 -
 sal/textenc/convertiso2022kr.cxx              |    1 -
 sal/textenc/convertsinglebytetobmpunicode.cxx |    1 -
 sal/textenc/convertsinglebytetobmpunicode.hxx |    1 -
 store/source/object.cxx                       |    4 ----
 store/source/object.hxx                       |    1 -
 vcl/generic/fontmanager/parseAFM.cxx          |    3 ---
 vcl/generic/fontmanager/parseAFM.hxx          |    1 -
 vcl/inc/bmpfast.hxx                           |    2 --
 21 files changed, 1 insertion(+), 27 deletions(-)

New commits:
commit 2c1bf30bda6b914611134317b652402e4488fd03
Author: Riccardo Magliocchetti <riccardo.magliocchetti at gmail.com>
Date:   Fri Nov 14 12:07:01 2014 +0100

    More iwyu suggested headers removal
    
    Signed-off-by: Riccardo Magliocchetti <riccardo.magliocchetti at gmail.com>
    Signed-off-by: Stephan Bergmann <sbergman at redhat.com>, undid one remove that was
    detrimental to loplugin:unreffun
    
    Change-Id: I18d8252084d828f94ef7a954e1dbfb45743d7970

diff --git a/codemaker/source/codemaker/unotype.cxx b/codemaker/source/codemaker/unotype.cxx
index 5b76a04..38de2a7 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 4c82824..8f720f6 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 ebc7f6c..706d6cb 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 b150fb2..67626b1 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 6b1418d..6396ddbe 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 ee5ecf5..feabd1d 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 75cf209..b35700e 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 5997118..9f80448 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 d737077..b7589cd 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 1f8eb48..83b4d1e 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 27cc1ff..4fea41d 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 90a27ac..9d361ed 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 7a821d5..2aa9587 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 10e15bb..95a6520 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 fb52287..8464b82 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 cf765e2..8f3c8d6 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 53d1c08..bf17fed 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 31f827f..72381d0 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 13cdca7..b3a7f7a 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 d1fe171..3f9c7d6 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 a637d9f..2a4f6cd 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


More information about the Libreoffice-commits mailing list