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:
sc/inc/autoform.hxx:
# contains macro definitions
- 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 @@
#include "address.hxx"
#include <svl/hint.hxx>
class SvtBroadcaster;
class ScHint : public SfxHint
{
ScAddress aAddress;
......
......@@ -13,7 +13,6 @@
#include "scdllapi.h"
#include <memory>
#include <ostream>
#include <set>
#include <formula/grammar.hxx>
......
......@@ -20,7 +20,6 @@
#ifndef INCLUDED_SC_INC_CELLFORM_HXX
#define INCLUDED_SC_INC_CELLFORM_HXX
#include <tools/solar.h>
#include "scdllapi.h"
#include <rtl/ustring.hxx>
......
......@@ -11,7 +11,6 @@
#define INCLUDED_SC_INC_CELLVALUES_HXX
#include "address.hxx"
#include "global.hxx"
#include <memory>
class ScColumn;
......
......@@ -24,7 +24,6 @@
#include "chartpos.hxx"
#include <memory>
#include <vector>
class ScDocument;
......
......@@ -24,8 +24,6 @@
#include <memory>
#include <map>
class ScAddress;
// map of row number to ScAddress*
typedef std::map<sal_uLong, ScAddress*> RowMap;
// map of column number to RowMap*
......
......@@ -20,7 +20,6 @@
#ifndef INCLUDED_SC_INC_CHARTUNO_HXX
#define INCLUDED_SC_INC_CHARTUNO_HXX
#include "address.hxx"
#include "rangelst.hxx"
#include <svl/lstner.hxx>
#include <comphelper/proparrhlp.hxx>
......
......@@ -85,8 +85,6 @@ enum ScChangeActionClipMode
SC_CACM_PASTE
};
class ScChangeAction;
/** A link/connection/dependency between change actions.
Upon construction inserts itself as the head of a chain / linked list,
......@@ -197,12 +195,6 @@ public:
DECL_FIXEDMEMPOOL_NEWDEL( ScChangeActionCellListEntry )
};
// ScChangeAction
class ScChangeTrack;
class ScChangeActionIns;
class ScChangeActionDel;
class ScChangeActionContent;
class ScChangeAction
{
friend class ScChangeTrack;
......
......@@ -21,12 +21,10 @@
#define INCLUDED_SC_INC_COLCONTAINER_HXX
#include "types.hxx"
#include "address.hxx"
#include <vector>
class ScColumn;
class ScDocument;
class ScColContainer
{
......
......@@ -20,10 +20,8 @@
#ifndef INCLUDED_SC_INC_COLUMN_HXX
#define INCLUDED_SC_INC_COLUMN_HXX
#include "markarr.hxx"
#include "global.hxx"
#include "address.hxx"
#include "rangenam.hxx"
#include "rangelst.hxx"
#include "types.hxx"
#include "mtvelements.hxx"
......@@ -35,7 +33,6 @@
#include <set>
#include <vector>
#include <boost/intrusive_ptr.hpp>
#include <mdds/flat_segment_tree.hpp>
namespace editeng { class SvxBorderLine; }
......@@ -82,9 +79,6 @@ class SfxStyleSheetBase;
class SvxBoxInfoItem;
class SvxBoxItem;
class ScAttrIterator;
class ScAttrArray;
struct ScAttrEntry;
class ScDocument;
class ScEditDataArray;
class ScFormulaCell;
......@@ -95,16 +89,11 @@ class SvtBroadcaster;
class ScTypedStrData;
class ScProgress;
struct ScFunctionData;
struct ScLineFlags;
struct ScMergePatternState;
class ScFlatBoolRowSegments;
struct ScSetStringParam;
struct ScColWidthParam;
class ScColumnTextWidthIterator;
struct ScFormulaCellGroup;
struct ScRefCellValue;
struct ScCellValue;
class ScDocumentImport;
class ScHint;
enum class ScMF;
struct ScFilterEntries;
......
......@@ -18,7 +18,6 @@
class ScDocument;
class ScColumn;
class ScMarkData;
class ScRange;
class ScRangeList;
namespace sc {
......
......@@ -81,7 +81,6 @@ namespace o3tl {
class ScDocument;
class ScMatrix;
class ScRangeData;
class ScExternalRefManager;
class ScTokenArray;
namespace sc {
......
......@@ -21,7 +21,6 @@
#define INCLUDED_SC_INC_COMPRESSEDARRAY_HXX
#include <cstddef>
#include <algorithm>
#include "scdllapi.h"
......
......@@ -26,9 +26,7 @@
#include "scdllapi.h"
#include "rangelst.hxx"
#include <svl/hint.hxx>
#include <svl/listener.hxx>
#include <svl/broadcast.hxx>
#include <comphelper/stl_types.hxx>
#include <com/sun/star/sheet/ConditionOperator.hpp>
......
......@@ -25,7 +25,6 @@
#include <com/sun/star/table/CellAddress.hpp>
#include <com/sun/star/table/CellRangeAddress.hpp>
#include <com/sun/star/lang/Locale.hpp>
#include "global.hxx"
#include "address.hxx"
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