summaryrefslogtreecommitdiff
path: root/sc
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 /sc
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>
Diffstat (limited to 'sc')
-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
8 files changed, 1 insertions, 22 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;