Kaydet (Commit) fba6889f authored tarafından Gabor Kelemen's avatar Gabor Kelemen Kaydeden (comit) Miklos Vajna

tdf#42949 Fix IWYU warnings in sc/inc/[bc]*

Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.

Change-Id: Ie63df2185e0586d1fc7db4ed2825a7aa8d8dde73
Reviewed-on: https://gerrit.libreoffice.org/53950Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
üst af229671
...@@ -40,3 +40,40 @@ blacklist: ...@@ -40,3 +40,40 @@ blacklist:
sc/inc/autoform.hxx: sc/inc/autoform.hxx:
# contains macro definitions # contains macro definitions
- scitems.hxx - scitems.hxx
sc/inc/calcconfig.hxx:
# needed for std::shared_ptr
- memory
sc/inc/chartuno.hxx:
# base class has to be a complete type
- com/sun/star/container/XEnumerationAccess.hpp
- com/sun/star/container/XIndexAccess.hpp
- com/sun/star/container/XNamed.hpp
- com/sun/star/document/XEmbeddedObjectSupplier.hpp
- com/sun/star/lang/XServiceInfo.hpp
- com/sun/star/table/XTableChart.hpp
- com/sun/star/table/XTableCharts.hpp
sc/inc/chgviset.hxx:
# base class has to be a complete type
- unotools/textsearch.hxx
sc/inc/column.hxx:
# base class has to be a complete type
- mdds/flat_segment_tree.hpp
- svx/svdobj.hxx
sc/inc/columnset.hxx:
# contains macro definitions
- address.hxx
sc/inc/compiler.hxx:
# base class has to be a complete type
- com/sun/star/sheet/ExternalLinkInfo.hpp
- o3tl/typed_flags_set.hxx
- unotools/charclass.hxx
sc/inc/confuno.hxx:
# base class has to be a complete type
- com/sun/star/beans/XPropertySet.hpp
- com/sun/star/lang/XServiceInfo.hpp
sc/inc/conditio.hxx:
# base class has to be a complete type
- tools/link.hxx
sc/inc/convuno.hxx:
# base class has to be a complete type
- com/sun/star/lang/Locale.hpp
...@@ -22,8 +22,6 @@ ...@@ -22,8 +22,6 @@
#include "address.hxx" #include "address.hxx"
#include <svl/hint.hxx> #include <svl/hint.hxx>
class SvtBroadcaster;
class ScHint : public SfxHint class ScHint : public SfxHint
{ {
ScAddress aAddress; ScAddress aAddress;
......
...@@ -13,7 +13,6 @@ ...@@ -13,7 +13,6 @@
#include "scdllapi.h" #include "scdllapi.h"
#include <memory> #include <memory>
#include <ostream>
#include <set> #include <set>
#include <formula/grammar.hxx> #include <formula/grammar.hxx>
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
#ifndef INCLUDED_SC_INC_CELLFORM_HXX #ifndef INCLUDED_SC_INC_CELLFORM_HXX
#define INCLUDED_SC_INC_CELLFORM_HXX #define INCLUDED_SC_INC_CELLFORM_HXX
#include <tools/solar.h>
#include "scdllapi.h" #include "scdllapi.h"
#include <rtl/ustring.hxx> #include <rtl/ustring.hxx>
......
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
#define INCLUDED_SC_INC_CELLVALUES_HXX #define INCLUDED_SC_INC_CELLVALUES_HXX
#include "address.hxx" #include "address.hxx"
#include "global.hxx"
#include <memory> #include <memory>
class ScColumn; class ScColumn;
......
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
#include "chartpos.hxx" #include "chartpos.hxx"
#include <memory> #include <memory>
#include <vector>
class ScDocument; class ScDocument;
......
...@@ -24,8 +24,6 @@ ...@@ -24,8 +24,6 @@
#include <memory> #include <memory>
#include <map> #include <map>
class ScAddress;
// map of row number to ScAddress* // map of row number to ScAddress*
typedef std::map<sal_uLong, ScAddress*> RowMap; typedef std::map<sal_uLong, ScAddress*> RowMap;
// map of column number to RowMap* // map of column number to RowMap*
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
#ifndef INCLUDED_SC_INC_CHARTUNO_HXX #ifndef INCLUDED_SC_INC_CHARTUNO_HXX
#define INCLUDED_SC_INC_CHARTUNO_HXX #define INCLUDED_SC_INC_CHARTUNO_HXX
#include "address.hxx"
#include "rangelst.hxx" #include "rangelst.hxx"
#include <svl/lstner.hxx> #include <svl/lstner.hxx>
#include <comphelper/proparrhlp.hxx> #include <comphelper/proparrhlp.hxx>
......
...@@ -85,8 +85,6 @@ enum ScChangeActionClipMode ...@@ -85,8 +85,6 @@ enum ScChangeActionClipMode
SC_CACM_PASTE SC_CACM_PASTE
}; };
class ScChangeAction;
/** A link/connection/dependency between change actions. /** A link/connection/dependency between change actions.
Upon construction inserts itself as the head of a chain / linked list, Upon construction inserts itself as the head of a chain / linked list,
...@@ -197,12 +195,6 @@ public: ...@@ -197,12 +195,6 @@ public:
DECL_FIXEDMEMPOOL_NEWDEL( ScChangeActionCellListEntry ) DECL_FIXEDMEMPOOL_NEWDEL( ScChangeActionCellListEntry )
}; };
// ScChangeAction
class ScChangeTrack;
class ScChangeActionIns;
class ScChangeActionDel;
class ScChangeActionContent;
class ScChangeAction class ScChangeAction
{ {
friend class ScChangeTrack; friend class ScChangeTrack;
......
...@@ -21,12 +21,10 @@ ...@@ -21,12 +21,10 @@
#define INCLUDED_SC_INC_COLCONTAINER_HXX #define INCLUDED_SC_INC_COLCONTAINER_HXX
#include "types.hxx" #include "types.hxx"
#include "address.hxx"
#include <vector> #include <vector>
class ScColumn; class ScColumn;
class ScDocument;
class ScColContainer class ScColContainer
{ {
......
...@@ -20,10 +20,8 @@ ...@@ -20,10 +20,8 @@
#ifndef INCLUDED_SC_INC_COLUMN_HXX #ifndef INCLUDED_SC_INC_COLUMN_HXX
#define INCLUDED_SC_INC_COLUMN_HXX #define INCLUDED_SC_INC_COLUMN_HXX
#include "markarr.hxx"
#include "global.hxx" #include "global.hxx"
#include "address.hxx" #include "address.hxx"
#include "rangenam.hxx"
#include "rangelst.hxx" #include "rangelst.hxx"
#include "types.hxx" #include "types.hxx"
#include "mtvelements.hxx" #include "mtvelements.hxx"
...@@ -35,7 +33,6 @@ ...@@ -35,7 +33,6 @@
#include <set> #include <set>
#include <vector> #include <vector>
#include <boost/intrusive_ptr.hpp>
#include <mdds/flat_segment_tree.hpp> #include <mdds/flat_segment_tree.hpp>
namespace editeng { class SvxBorderLine; } namespace editeng { class SvxBorderLine; }
...@@ -82,9 +79,6 @@ class SfxStyleSheetBase; ...@@ -82,9 +79,6 @@ class SfxStyleSheetBase;
class SvxBoxInfoItem; class SvxBoxInfoItem;
class SvxBoxItem; class SvxBoxItem;
class ScAttrIterator;
class ScAttrArray;
struct ScAttrEntry;
class ScDocument; class ScDocument;
class ScEditDataArray; class ScEditDataArray;
class ScFormulaCell; class ScFormulaCell;
...@@ -95,16 +89,11 @@ class SvtBroadcaster; ...@@ -95,16 +89,11 @@ class SvtBroadcaster;
class ScTypedStrData; class ScTypedStrData;
class ScProgress; class ScProgress;
struct ScFunctionData; struct ScFunctionData;
struct ScLineFlags;
struct ScMergePatternState;
class ScFlatBoolRowSegments; class ScFlatBoolRowSegments;
struct ScSetStringParam; struct ScSetStringParam;
struct ScColWidthParam; struct ScColWidthParam;
class ScColumnTextWidthIterator;
struct ScFormulaCellGroup;
struct ScRefCellValue; struct ScRefCellValue;
struct ScCellValue; struct ScCellValue;
class ScDocumentImport;
class ScHint; class ScHint;
enum class ScMF; enum class ScMF;
struct ScFilterEntries; struct ScFilterEntries;
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
class ScDocument; class ScDocument;
class ScColumn; class ScColumn;
class ScMarkData; class ScMarkData;
class ScRange;
class ScRangeList; class ScRangeList;
namespace sc { namespace sc {
......
...@@ -81,7 +81,6 @@ namespace o3tl { ...@@ -81,7 +81,6 @@ namespace o3tl {
class ScDocument; class ScDocument;
class ScMatrix; class ScMatrix;
class ScRangeData; class ScRangeData;
class ScExternalRefManager;
class ScTokenArray; class ScTokenArray;
namespace sc { namespace sc {
......
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
#define INCLUDED_SC_INC_COMPRESSEDARRAY_HXX #define INCLUDED_SC_INC_COMPRESSEDARRAY_HXX
#include <cstddef> #include <cstddef>
#include <algorithm>
#include "scdllapi.h" #include "scdllapi.h"
......
...@@ -26,9 +26,7 @@ ...@@ -26,9 +26,7 @@
#include "scdllapi.h" #include "scdllapi.h"
#include "rangelst.hxx" #include "rangelst.hxx"
#include <svl/hint.hxx>
#include <svl/listener.hxx> #include <svl/listener.hxx>
#include <svl/broadcast.hxx>
#include <comphelper/stl_types.hxx> #include <comphelper/stl_types.hxx>
#include <com/sun/star/sheet/ConditionOperator.hpp> #include <com/sun/star/sheet/ConditionOperator.hpp>
......
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
#include <com/sun/star/table/CellAddress.hpp> #include <com/sun/star/table/CellAddress.hpp>
#include <com/sun/star/table/CellRangeAddress.hpp> #include <com/sun/star/table/CellRangeAddress.hpp>
#include <com/sun/star/lang/Locale.hpp> #include <com/sun/star/lang/Locale.hpp>
#include "global.hxx"
#include "address.hxx" #include "address.hxx"
class ScUnoConversion class ScUnoConversion
......
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