[Libreoffice-commits] core.git: sc/source sd/inc sd/source sw/source

Riccardo Magliocchetti riccardo.magliocchetti at gmail.com
Tue Nov 11 05:48:25 PST 2014


 sc/source/core/tool/orcusxml.cxx                      |    2 --
 sc/source/core/tool/platforminfo.cxx                  |    1 -
 sc/source/filter/services.cxx                         |    1 -
 sc/source/filter/xml/XMLExportDatabaseRanges.hxx      |    7 -------
 sc/source/ui/inc/refundo.hxx                          |    1 -
 sc/source/ui/view/imapwrap.hxx                        |    1 -
 sc/source/ui/view/olkact.cxx                          |    9 +--------
 sc/source/ui/view/olkact.hxx                          |    1 -
 sd/inc/helper/simplereferencecomponent.hxx            |    1 -
 sd/source/filter/html/buttonset.hxx                   |    1 -
 sd/source/ui/slidesorter/inc/model/SlsVisualState.hxx |    1 -
 sw/source/core/access/accfrmobj.hxx                   |    1 -
 sw/source/core/bastyp/tabcol.cxx                      |    1 -
 sw/source/filter/html/htmlfld.hxx                     |    1 -
 sw/source/filter/ww8/fields.cxx                       |    1 -
 15 files changed, 1 insertion(+), 29 deletions(-)

New commits:
commit 4f3ed49d3cb48a4167dc174275f87a804a3a1bcd
Author: Riccardo Magliocchetti <riccardo.magliocchetti at gmail.com>
Date:   Mon Nov 10 16:43:39 2014 +0100

    iwyu: remove unneeded includes in sc, sd, sw
    
    Remove only include for files where iwyu does not suggest any
    includes to add.
    
    Change-Id: I58f3e956485ce058750c2635db9633736708d7f0
    Reviewed-on: https://gerrit.libreoffice.org/12342
    Reviewed-by: Riccardo Magliocchetti <riccardo.magliocchetti at gmail.com>
    Tested-by: Riccardo Magliocchetti <riccardo.magliocchetti at gmail.com>

diff --git a/sc/source/core/tool/orcusxml.cxx b/sc/source/core/tool/orcusxml.cxx
index 04de9a8..cf4debd3 100644
--- a/sc/source/core/tool/orcusxml.cxx
+++ b/sc/source/core/tool/orcusxml.cxx
@@ -9,9 +9,7 @@
 
 #include "orcusxml.hxx"
 
-#include <svtools/treelistbox.hxx>
 #include <svtools/treelistentry.hxx>
-#include <rtl/strbuf.hxx>
 
 ScOrcusXMLTreeParam::EntryData::EntryData(EntryType eType)
     : mnNamespaceID(0)
diff --git a/sc/source/core/tool/platforminfo.cxx b/sc/source/core/tool/platforminfo.cxx
index 3f90b14..c983f48 100644
--- a/sc/source/core/tool/platforminfo.cxx
+++ b/sc/source/core/tool/platforminfo.cxx
@@ -8,7 +8,6 @@
  */
 
 #include "platforminfo.hxx"
-#include "formulagroup.hxx"
 
 namespace sc {
 
diff --git a/sc/source/filter/services.cxx b/sc/source/filter/services.cxx
index fc27e7a..75f8cc4 100644
--- a/sc/source/filter/services.cxx
+++ b/sc/source/filter/services.cxx
@@ -17,7 +17,6 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#include <sal/config.h>
 
 #include <cppuhelper/factory.hxx>
 #include <cppuhelper/implementationentry.hxx>
diff --git a/sc/source/filter/xml/XMLExportDatabaseRanges.hxx b/sc/source/filter/xml/XMLExportDatabaseRanges.hxx
index 1ea2203..ba6fd5b6 100644
--- a/sc/source/filter/xml/XMLExportDatabaseRanges.hxx
+++ b/sc/source/filter/xml/XMLExportDatabaseRanges.hxx
@@ -20,13 +20,6 @@
 #ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLEXPORTDATABASERANGES_HXX
 #define INCLUDED_SC_SOURCE_FILTER_XML_XMLEXPORTDATABASERANGES_HXX
 
-#include <com/sun/star/uno/Sequence.h>
-#include <com/sun/star/beans/PropertyValue.hpp>
-#include <com/sun/star/sheet/FilterOperator2.hpp>
-#include <com/sun/star/sheet/TableFilterField2.hpp>
-#include <com/sun/star/sheet/XSheetFilterDescriptor2.hpp>
-#include <com/sun/star/sheet/XSubTotalDescriptor.hpp>
-#include <com/sun/star/sheet/XSpreadsheetDocument.hpp>
 
 class ScXMLExport;
 class ScDocument;
diff --git a/sc/source/ui/inc/refundo.hxx b/sc/source/ui/inc/refundo.hxx
index 7b71faa..12d267c 100644
--- a/sc/source/ui/inc/refundo.hxx
+++ b/sc/source/ui/inc/refundo.hxx
@@ -20,7 +20,6 @@
 #ifndef INCLUDED_SC_SOURCE_UI_INC_REFUNDO_HXX
 #define INCLUDED_SC_SOURCE_UI_INC_REFUNDO_HXX
 
-#include <sal/types.h>
 
 class ScDocument;
 class ScDBCollection;
diff --git a/sc/source/ui/view/imapwrap.hxx b/sc/source/ui/view/imapwrap.hxx
index 9e195b9..592f1c7 100644
--- a/sc/source/ui/view/imapwrap.hxx
+++ b/sc/source/ui/view/imapwrap.hxx
@@ -20,7 +20,6 @@
 #ifndef INCLUDED_SC_SOURCE_UI_VIEW_IMAPWRAP_HXX
 #define INCLUDED_SC_SOURCE_UI_VIEW_IMAPWRAP_HXX
 
-#include <sal/config.h>
 
 #include <sal/types.h>
 #include <sfx2/frame.hxx>
diff --git a/sc/source/ui/view/olkact.cxx b/sc/source/ui/view/olkact.cxx
index c96ee1b..29c9bfa 100644
--- a/sc/source/ui/view/olkact.cxx
+++ b/sc/source/ui/view/olkact.cxx
@@ -17,14 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#include <sfx2/childwin.hxx>
-#include <sfx2/objsh.hxx>
-
-#include "document.hxx"
-#include "viewdata.hxx"
-#include "drawview.hxx"
-#include "drawpage.hxx"
-#include "drwlayer.hxx"
+
 #include "olkact.hxx"
 
 // STATIC DATA -----------------------------------------------------------
diff --git a/sc/source/ui/view/olkact.hxx b/sc/source/ui/view/olkact.hxx
index 3ca261e..ebb4831 100644
--- a/sc/source/ui/view/olkact.hxx
+++ b/sc/source/ui/view/olkact.hxx
@@ -20,7 +20,6 @@
 #ifndef INCLUDED_SC_SOURCE_UI_VIEW_OLKACT_HXX
 #define INCLUDED_SC_SOURCE_UI_VIEW_OLKACT_HXX
 
-#include <sal/config.h>
 
 class ScViewData;
 
diff --git a/sd/inc/helper/simplereferencecomponent.hxx b/sd/inc/helper/simplereferencecomponent.hxx
index 7604145..795f176 100644
--- a/sd/inc/helper/simplereferencecomponent.hxx
+++ b/sd/inc/helper/simplereferencecomponent.hxx
@@ -21,7 +21,6 @@
 #define INCLUDED_SD_INC_HELPER_SIMPLEREFERENCECOMPONENT_HXX
 
 #include "osl/interlck.h"
-#include "sal/types.h"
 
 #include <cstddef>
 #include <new>
diff --git a/sd/source/filter/html/buttonset.hxx b/sd/source/filter/html/buttonset.hxx
index 86852f4..8dc230b 100644
--- a/sd/source/filter/html/buttonset.hxx
+++ b/sd/source/filter/html/buttonset.hxx
@@ -23,7 +23,6 @@
 #include <sddllapi.h>
 
 #include <rtl/ustring.hxx>
-#include <boost/scoped_ptr.hpp>
 #include <vector>
 
 class Image;
diff --git a/sd/source/ui/slidesorter/inc/model/SlsVisualState.hxx b/sd/source/ui/slidesorter/inc/model/SlsVisualState.hxx
index 0cae8ba..de9ef21 100644
--- a/sd/source/ui/slidesorter/inc/model/SlsVisualState.hxx
+++ b/sd/source/ui/slidesorter/inc/model/SlsVisualState.hxx
@@ -22,7 +22,6 @@
 
 #include <sal/types.h>
 #include <tools/gen.hxx>
-#include <boost/function.hpp>
 
 namespace sd { namespace slidesorter { namespace model {
 
diff --git a/sw/source/core/access/accfrmobj.hxx b/sw/source/core/access/accfrmobj.hxx
index c53a634..bfd188f 100644
--- a/sw/source/core/access/accfrmobj.hxx
+++ b/sw/source/core/access/accfrmobj.hxx
@@ -20,7 +20,6 @@
 #ifndef INCLUDED_SW_SOURCE_CORE_ACCESS_ACCFRMOBJ_HXX
 #define INCLUDED_SW_SOURCE_CORE_ACCESS_ACCFRMOBJ_HXX
 
-#include <sal/types.h>
 
 class SwAccessibleMap;
 class SwFrm;
diff --git a/sw/source/core/bastyp/tabcol.cxx b/sw/source/core/bastyp/tabcol.cxx
index 9f7a595..2b2b9ea 100644
--- a/sw/source/core/bastyp/tabcol.cxx
+++ b/sw/source/core/bastyp/tabcol.cxx
@@ -19,7 +19,6 @@
 
 #include "tabcol.hxx"
 #include <limits.h>
-#include <osl/diagnose.h>
 
 SwTabCols::SwTabCols( sal_uInt16 nSize ) :
     nLeftMin( 0 ),
diff --git a/sw/source/filter/html/htmlfld.hxx b/sw/source/filter/html/htmlfld.hxx
index 8472fcf..36cfc9e 100644
--- a/sw/source/filter/html/htmlfld.hxx
+++ b/sw/source/filter/html/htmlfld.hxx
@@ -20,7 +20,6 @@
 #ifndef INCLUDED_SW_SOURCE_FILTER_HTML_HTMLFLD_HXX
 #define INCLUDED_SW_SOURCE_FILTER_HTML_HTMLFLD_HXX
 
-#include <sal/config.h>
 
 #define OOO_STRING_SW_HTML_FT_author "AUTHOR"
 #define OOO_STRING_SW_HTML_FT_sender "SENDER"
diff --git a/sw/source/filter/ww8/fields.cxx b/sw/source/filter/ww8/fields.cxx
index 41c3929..3363c29 100644
--- a/sw/source/filter/ww8/fields.cxx
+++ b/sw/source/filter/ww8/fields.cxx
@@ -19,7 +19,6 @@
 
 #include "fields.hxx"
 #include <osl/diagnose.h>
-#include <sal/macros.h>
 #include <stddef.h>
 
 namespace ww


More information about the Libreoffice-commits mailing list