Kaydet (Commit) 4f3ed49d authored tarafından Riccardo Magliocchetti's avatar Riccardo Magliocchetti

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/12342Reviewed-by: 's avatarRiccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
Tested-by: 's avatarRiccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
üst c244d8fe
...@@ -9,9 +9,7 @@ ...@@ -9,9 +9,7 @@
#include "orcusxml.hxx" #include "orcusxml.hxx"
#include <svtools/treelistbox.hxx>
#include <svtools/treelistentry.hxx> #include <svtools/treelistentry.hxx>
#include <rtl/strbuf.hxx>
ScOrcusXMLTreeParam::EntryData::EntryData(EntryType eType) ScOrcusXMLTreeParam::EntryData::EntryData(EntryType eType)
: mnNamespaceID(0) : mnNamespaceID(0)
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
*/ */
#include "platforminfo.hxx" #include "platforminfo.hxx"
#include "formulagroup.hxx"
namespace sc { namespace sc {
......
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
#include <sal/config.h>
#include <cppuhelper/factory.hxx> #include <cppuhelper/factory.hxx>
#include <cppuhelper/implementationentry.hxx> #include <cppuhelper/implementationentry.hxx>
......
...@@ -20,13 +20,6 @@ ...@@ -20,13 +20,6 @@
#ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLEXPORTDATABASERANGES_HXX #ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLEXPORTDATABASERANGES_HXX
#define 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 ScXMLExport;
class ScDocument; class ScDocument;
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
#ifndef INCLUDED_SC_SOURCE_UI_INC_REFUNDO_HXX #ifndef INCLUDED_SC_SOURCE_UI_INC_REFUNDO_HXX
#define INCLUDED_SC_SOURCE_UI_INC_REFUNDO_HXX #define INCLUDED_SC_SOURCE_UI_INC_REFUNDO_HXX
#include <sal/types.h>
class ScDocument; class ScDocument;
class ScDBCollection; class ScDBCollection;
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
#ifndef INCLUDED_SC_SOURCE_UI_VIEW_IMAPWRAP_HXX #ifndef INCLUDED_SC_SOURCE_UI_VIEW_IMAPWRAP_HXX
#define INCLUDED_SC_SOURCE_UI_VIEW_IMAPWRAP_HXX #define INCLUDED_SC_SOURCE_UI_VIEW_IMAPWRAP_HXX
#include <sal/config.h>
#include <sal/types.h> #include <sal/types.h>
#include <sfx2/frame.hxx> #include <sfx2/frame.hxx>
......
...@@ -17,14 +17,7 @@ ...@@ -17,14 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * 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" #include "olkact.hxx"
// STATIC DATA ----------------------------------------------------------- // STATIC DATA -----------------------------------------------------------
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
#ifndef INCLUDED_SC_SOURCE_UI_VIEW_OLKACT_HXX #ifndef INCLUDED_SC_SOURCE_UI_VIEW_OLKACT_HXX
#define INCLUDED_SC_SOURCE_UI_VIEW_OLKACT_HXX #define INCLUDED_SC_SOURCE_UI_VIEW_OLKACT_HXX
#include <sal/config.h>
class ScViewData; class ScViewData;
......
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
#define INCLUDED_SD_INC_HELPER_SIMPLEREFERENCECOMPONENT_HXX #define INCLUDED_SD_INC_HELPER_SIMPLEREFERENCECOMPONENT_HXX
#include "osl/interlck.h" #include "osl/interlck.h"
#include "sal/types.h"
#include <cstddef> #include <cstddef>
#include <new> #include <new>
......
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
#include <sddllapi.h> #include <sddllapi.h>
#include <rtl/ustring.hxx> #include <rtl/ustring.hxx>
#include <boost/scoped_ptr.hpp>
#include <vector> #include <vector>
class Image; class Image;
......
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
#include <sal/types.h> #include <sal/types.h>
#include <tools/gen.hxx> #include <tools/gen.hxx>
#include <boost/function.hpp>
namespace sd { namespace slidesorter { namespace model { namespace sd { namespace slidesorter { namespace model {
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
#ifndef INCLUDED_SW_SOURCE_CORE_ACCESS_ACCFRMOBJ_HXX #ifndef INCLUDED_SW_SOURCE_CORE_ACCESS_ACCFRMOBJ_HXX
#define INCLUDED_SW_SOURCE_CORE_ACCESS_ACCFRMOBJ_HXX #define INCLUDED_SW_SOURCE_CORE_ACCESS_ACCFRMOBJ_HXX
#include <sal/types.h>
class SwAccessibleMap; class SwAccessibleMap;
class SwFrm; class SwFrm;
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
#include "tabcol.hxx" #include "tabcol.hxx"
#include <limits.h> #include <limits.h>
#include <osl/diagnose.h>
SwTabCols::SwTabCols( sal_uInt16 nSize ) : SwTabCols::SwTabCols( sal_uInt16 nSize ) :
nLeftMin( 0 ), nLeftMin( 0 ),
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
#ifndef INCLUDED_SW_SOURCE_FILTER_HTML_HTMLFLD_HXX #ifndef INCLUDED_SW_SOURCE_FILTER_HTML_HTMLFLD_HXX
#define 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_author "AUTHOR"
#define OOO_STRING_SW_HTML_FT_sender "SENDER" #define OOO_STRING_SW_HTML_FT_sender "SENDER"
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
#include "fields.hxx" #include "fields.hxx"
#include <osl/diagnose.h> #include <osl/diagnose.h>
#include <sal/macros.h>
#include <stddef.h> #include <stddef.h>
namespace ww namespace ww
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment