summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Magliocchetti <riccardo.magliocchetti@gmail.com>2014-11-10 16:43:39 +0100
committerRiccardo Magliocchetti <riccardo.magliocchetti@gmail.com>2014-11-11 13:47:57 +0000
commit4f3ed49d3cb48a4167dc174275f87a804a3a1bcd (patch)
treecd2f4731dc4b44242047f39babcf251ed9479e0f
parentc244d8fee1382d0705dc911895bed4078d1e71cb (diff)
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@gmail.com> Tested-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
-rw-r--r--sc/source/core/tool/orcusxml.cxx2
-rw-r--r--sc/source/core/tool/platforminfo.cxx1
-rw-r--r--sc/source/filter/services.cxx1
-rw-r--r--sc/source/filter/xml/XMLExportDatabaseRanges.hxx7
-rw-r--r--sc/source/ui/inc/refundo.hxx1
-rw-r--r--sc/source/ui/view/imapwrap.hxx1
-rw-r--r--sc/source/ui/view/olkact.cxx9
-rw-r--r--sc/source/ui/view/olkact.hxx1
-rw-r--r--sd/inc/helper/simplereferencecomponent.hxx1
-rw-r--r--sd/source/filter/html/buttonset.hxx1
-rw-r--r--sd/source/ui/slidesorter/inc/model/SlsVisualState.hxx1
-rw-r--r--sw/source/core/access/accfrmobj.hxx1
-rw-r--r--sw/source/core/bastyp/tabcol.cxx1
-rw-r--r--sw/source/filter/html/htmlfld.hxx1
-rw-r--r--sw/source/filter/ww8/fields.cxx1
15 files changed, 1 insertions, 29 deletions
diff --git a/sc/source/core/tool/orcusxml.cxx b/sc/source/core/tool/orcusxml.cxx
index 04de9a87d558..cf4debd3908b 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 3f90b14f46fb..c983f4852abe 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 fc27e7aae1a2..75f8cc4c4f19 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 1ea22039a21e..ba6fd5b6b1fd 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 7b71faad0bee..12d267ce0da9 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 9e195b9393d9..592f1c74a5ac 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 c96ee1b4528d..29c9bfa6c58a 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 3ca261e7f34a..ebb48317e2f3 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 7604145dc133..795f176d6d35 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 86852f4e593f..8dc230b9e752 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 0cae8ba72f65..de9ef2103fba 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 c53a6346f090..bfd188f79ad1 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 9f7a59575598..2b2b9ea84f3f 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 8472fcf4b62f..36cfc9e07ca5 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 41c3929e0b1b..3363c29166bf 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