tdf#42949 Fix IWYU warnings in sc/inc/[gh]*
Found with bin/find-unneeded-includes Simple removal proposals are dealt with here and a bit of fallout management Change-Id: Ia6f8d4ca46d7b218f5827052ced5641367bd4478 Reviewed-on: https://gerrit.libreoffice.org/54683 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
This commit is contained in:
committed by
Miklos Vajna
parent
3ebaf1a9fb
commit
f8edef3922
@@ -177,3 +177,7 @@ blacklist:
|
|||||||
- global.hxx
|
- global.hxx
|
||||||
# Needed for macros
|
# Needed for macros
|
||||||
- calcmacros.hxx
|
- calcmacros.hxx
|
||||||
|
sc/inc/global.hxx:
|
||||||
|
# base class has to be a complete type
|
||||||
|
- com/sun/star/uno/Reference.hxx
|
||||||
|
- tools/ref.hxx
|
||||||
|
@@ -21,6 +21,7 @@
|
|||||||
#define INCLUDED_SC_INC_ATTRIB_HXX
|
#define INCLUDED_SC_INC_ATTRIB_HXX
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
#include <vector>
|
||||||
#include <svl/poolitem.hxx>
|
#include <svl/poolitem.hxx>
|
||||||
#include <svl/intitem.hxx>
|
#include <svl/intitem.hxx>
|
||||||
#include <svl/eitem.hxx>
|
#include <svl/eitem.hxx>
|
||||||
|
@@ -21,6 +21,7 @@
|
|||||||
#define INCLUDED_SC_INC_CHARTPOS_HXX
|
#define INCLUDED_SC_INC_CHARTPOS_HXX
|
||||||
|
|
||||||
#include "rangelst.hxx"
|
#include "rangelst.hxx"
|
||||||
|
#include <tools/solar.h>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <map>
|
#include <map>
|
||||||
|
|
||||||
|
@@ -21,6 +21,7 @@
|
|||||||
#define INCLUDED_SC_INC_CONDITIO_HXX
|
#define INCLUDED_SC_INC_CONDITIO_HXX
|
||||||
|
|
||||||
#include "global.hxx"
|
#include "global.hxx"
|
||||||
|
#include <tools/solar.h>
|
||||||
#include "address.hxx"
|
#include "address.hxx"
|
||||||
#include <formula/grammar.hxx>
|
#include <formula/grammar.hxx>
|
||||||
#include "scdllapi.h"
|
#include "scdllapi.h"
|
||||||
@@ -42,6 +43,7 @@
|
|||||||
class ScFormulaCell;
|
class ScFormulaCell;
|
||||||
class ScTokenArray;
|
class ScTokenArray;
|
||||||
struct ScRefCellValue;
|
struct ScRefCellValue;
|
||||||
|
class Color;
|
||||||
|
|
||||||
namespace sc {
|
namespace sc {
|
||||||
|
|
||||||
|
@@ -22,6 +22,7 @@
|
|||||||
|
|
||||||
#include "global.hxx"
|
#include "global.hxx"
|
||||||
#include "address.hxx"
|
#include "address.hxx"
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
class ScDocument;
|
class ScDocument;
|
||||||
|
|
||||||
|
@@ -43,6 +43,7 @@ struct ScQueryParam;
|
|||||||
struct ScDBQueryParamInternal;
|
struct ScDBQueryParamInternal;
|
||||||
struct ScDBQueryParamMatrix;
|
struct ScDBQueryParamMatrix;
|
||||||
class ScFormulaCell;
|
class ScFormulaCell;
|
||||||
|
class OutputDevice;
|
||||||
struct ScInterpreterContext;
|
struct ScInterpreterContext;
|
||||||
enum class SvNumFormatType : sal_Int16;
|
enum class SvNumFormatType : sal_Int16;
|
||||||
|
|
||||||
|
@@ -23,6 +23,7 @@
|
|||||||
#include <vcl/prntypes.hxx>
|
#include <vcl/prntypes.hxx>
|
||||||
#include <vcl/timer.hxx>
|
#include <vcl/timer.hxx>
|
||||||
#include <vcl/idle.hxx>
|
#include <vcl/idle.hxx>
|
||||||
|
#include <vcl/errcode.hxx>
|
||||||
#include <com/sun/star/uno/Reference.hxx>
|
#include <com/sun/star/uno/Reference.hxx>
|
||||||
#include <vcl/vclptr.hxx>
|
#include <vcl/vclptr.hxx>
|
||||||
#include "scdllapi.h"
|
#include "scdllapi.h"
|
||||||
|
@@ -23,18 +23,16 @@
|
|||||||
#include "address.hxx"
|
#include "address.hxx"
|
||||||
#include <i18nlangtag/lang.h>
|
#include <i18nlangtag/lang.h>
|
||||||
#include <svx/svdtypes.hxx>
|
#include <svx/svdtypes.hxx>
|
||||||
#include <tools/stream.hxx>
|
#include <tools/ref.hxx>
|
||||||
|
#include <sal/types.h>
|
||||||
#include <com/sun/star/uno/Reference.hxx>
|
#include <com/sun/star/uno/Reference.hxx>
|
||||||
#include "scdllapi.h"
|
#include "scdllapi.h"
|
||||||
#include <rtl/ustring.hxx>
|
#include <rtl/ustring.hxx>
|
||||||
|
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <vector>
|
|
||||||
|
|
||||||
class Bitmap;
|
|
||||||
class SfxItemSet;
|
class SfxItemSet;
|
||||||
class SfxViewShell;
|
class SfxViewShell;
|
||||||
class Color;
|
|
||||||
struct ScCalcConfig;
|
struct ScCalcConfig;
|
||||||
enum class SvtScriptType;
|
enum class SvtScriptType;
|
||||||
enum class FormulaError : sal_uInt16;
|
enum class FormulaError : sal_uInt16;
|
||||||
@@ -460,7 +458,6 @@ struct ScImportParam
|
|||||||
bool operator== ( const ScImportParam& r ) const;
|
bool operator== ( const ScImportParam& r ) const;
|
||||||
};
|
};
|
||||||
|
|
||||||
class ScDocument;
|
|
||||||
class ScDocShell;
|
class ScDocShell;
|
||||||
class SvxSearchItem;
|
class SvxSearchItem;
|
||||||
class ScAutoFormat;
|
class ScAutoFormat;
|
||||||
@@ -471,7 +468,6 @@ class SvxBrushItem;
|
|||||||
class ScFunctionList;
|
class ScFunctionList;
|
||||||
class ScFunctionMgr;
|
class ScFunctionMgr;
|
||||||
class SfxItemPool;
|
class SfxItemPool;
|
||||||
class SdrModel;
|
|
||||||
class EditTextObject;
|
class EditTextObject;
|
||||||
class SfxObjectShell;
|
class SfxObjectShell;
|
||||||
class SvNumberFormatter;
|
class SvNumberFormatter;
|
||||||
@@ -482,7 +478,6 @@ class SvtSysLocale;
|
|||||||
class CalendarWrapper;
|
class CalendarWrapper;
|
||||||
class CollatorWrapper;
|
class CollatorWrapper;
|
||||||
class IntlWrapper;
|
class IntlWrapper;
|
||||||
class OutputDevice;
|
|
||||||
class ScFieldEditEngine;
|
class ScFieldEditEngine;
|
||||||
|
|
||||||
namespace com { namespace sun { namespace star {
|
namespace com { namespace sun { namespace star {
|
||||||
|
@@ -11,7 +11,6 @@
|
|||||||
#define INCLUDED_SC_GROUPAREALISTENER_HXX
|
#define INCLUDED_SC_GROUPAREALISTENER_HXX
|
||||||
|
|
||||||
#include "address.hxx"
|
#include "address.hxx"
|
||||||
#include "calcmacros.hxx"
|
|
||||||
|
|
||||||
#include <svl/listener.hxx>
|
#include <svl/listener.hxx>
|
||||||
|
|
||||||
|
@@ -20,8 +20,6 @@
|
|||||||
#ifndef INCLUDED_SC_INC_HELPIDS_H
|
#ifndef INCLUDED_SC_INC_HELPIDS_H
|
||||||
#define INCLUDED_SC_INC_HELPIDS_H
|
#define INCLUDED_SC_INC_HELPIDS_H
|
||||||
|
|
||||||
#include <svx/svxcommands.h>
|
|
||||||
|
|
||||||
#define HID_INSWIN_POS "SC_HID_INSWIN_POS"
|
#define HID_INSWIN_POS "SC_HID_INSWIN_POS"
|
||||||
#define HID_INSWIN_CALC "SC_HID_INSWIN_CALC"
|
#define HID_INSWIN_CALC "SC_HID_INSWIN_CALC"
|
||||||
#define HID_INSWIN_CANCEL "SC_HID_INSWIN_CANCEL"
|
#define HID_INSWIN_CANCEL "SC_HID_INSWIN_CANCEL"
|
||||||
|
@@ -22,6 +22,7 @@
|
|||||||
|
|
||||||
#include "global.hxx"
|
#include "global.hxx"
|
||||||
#include "address.hxx"
|
#include "address.hxx"
|
||||||
|
#include <tools/solar.h>
|
||||||
#include <svl/hint.hxx>
|
#include <svl/hint.hxx>
|
||||||
|
|
||||||
class SC_DLLPUBLIC ScPaintHint : public SfxHint
|
class SC_DLLPUBLIC ScPaintHint : public SfxHint
|
||||||
|
@@ -24,6 +24,7 @@
|
|||||||
#include <svl/sharedstring.hxx>
|
#include <svl/sharedstring.hxx>
|
||||||
#include <unotools/textsearch.hxx>
|
#include <unotools/textsearch.hxx>
|
||||||
|
|
||||||
|
#include <memory>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -20,6 +20,7 @@
|
|||||||
#include <markarr.hxx>
|
#include <markarr.hxx>
|
||||||
#include <global.hxx>
|
#include <global.hxx>
|
||||||
#include <address.hxx>
|
#include <address.hxx>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
#include <osl/diagnose.h>
|
#include <osl/diagnose.h>
|
||||||
|
|
||||||
|
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
#include <jumpmatrix.hxx>
|
#include <jumpmatrix.hxx>
|
||||||
#include <scmatrix.hxx>
|
#include <scmatrix.hxx>
|
||||||
|
#include <tools/solar.h>
|
||||||
#include <osl/diagnose.h>
|
#include <osl/diagnose.h>
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
@@ -24,6 +24,7 @@
|
|||||||
|
|
||||||
#include <zforauto.hxx>
|
#include <zforauto.hxx>
|
||||||
#include <global.hxx>
|
#include <global.hxx>
|
||||||
|
#include <tools/stream.hxx>
|
||||||
|
|
||||||
ScNumFormatAbbrev::ScNumFormatAbbrev() :
|
ScNumFormatAbbrev::ScNumFormatAbbrev() :
|
||||||
sFormatstring ( "Standard" ),
|
sFormatstring ( "Standard" ),
|
||||||
|
@@ -22,6 +22,7 @@
|
|||||||
|
|
||||||
#include <compiler.hxx>
|
#include <compiler.hxx>
|
||||||
#include <global.hxx>
|
#include <global.hxx>
|
||||||
|
#include <tools/stream.hxx>
|
||||||
|
|
||||||
#include "root.hxx"
|
#include "root.hxx"
|
||||||
#include "tokstack.hxx"
|
#include "tokstack.hxx"
|
||||||
|
@@ -25,6 +25,7 @@
|
|||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <list>
|
#include <list>
|
||||||
|
#include <memory>
|
||||||
|
|
||||||
struct ScMyDrawPage
|
struct ScMyDrawPage
|
||||||
{
|
{
|
||||||
|
@@ -19,6 +19,7 @@
|
|||||||
|
|
||||||
#include "XMLStylesExportHelper.hxx"
|
#include "XMLStylesExportHelper.hxx"
|
||||||
#include <global.hxx>
|
#include <global.hxx>
|
||||||
|
#include <tools/lineend.hxx>
|
||||||
#include <unonames.hxx>
|
#include <unonames.hxx>
|
||||||
#include "XMLConverter.hxx"
|
#include "XMLConverter.hxx"
|
||||||
#include "xmlexprt.hxx"
|
#include "xmlexprt.hxx"
|
||||||
|
@@ -28,6 +28,7 @@
|
|||||||
#include <xmloff/xmlstyle.hxx>
|
#include <xmloff/xmlstyle.hxx>
|
||||||
#include <com/sun/star/util/DateTime.hpp>
|
#include <com/sun/star/util/DateTime.hpp>
|
||||||
#include "xmlsubti.hxx"
|
#include "xmlsubti.hxx"
|
||||||
|
#include <vcl/errcode.hxx>
|
||||||
#include <global.hxx>
|
#include <global.hxx>
|
||||||
#include <formula/grammar.hxx>
|
#include <formula/grammar.hxx>
|
||||||
#include <compiler.hxx>
|
#include <compiler.hxx>
|
||||||
|
@@ -24,6 +24,7 @@
|
|||||||
#include <sot/exchange.hxx>
|
#include <sot/exchange.hxx>
|
||||||
#include <global.hxx>
|
#include <global.hxx>
|
||||||
#include <address.hxx>
|
#include <address.hxx>
|
||||||
|
#include <tools/stream.hxx>
|
||||||
|
|
||||||
class ScDocShell;
|
class ScDocShell;
|
||||||
class ScDocument;
|
class ScDocument;
|
||||||
|
@@ -22,6 +22,7 @@
|
|||||||
|
|
||||||
#include <global.hxx>
|
#include <global.hxx>
|
||||||
#include <address.hxx>
|
#include <address.hxx>
|
||||||
|
#include <tools/solar.h>
|
||||||
#include <typedstrdata.hxx>
|
#include <typedstrdata.hxx>
|
||||||
|
|
||||||
#include <tools/fract.hxx>
|
#include <tools/fract.hxx>
|
||||||
|
@@ -27,6 +27,7 @@
|
|||||||
|
|
||||||
class ScDocShell;
|
class ScDocShell;
|
||||||
class ScMarkData;
|
class ScMarkData;
|
||||||
|
class OutputDevice;
|
||||||
|
|
||||||
/** Possible types of selection for print functions */
|
/** Possible types of selection for print functions */
|
||||||
|
|
||||||
|
@@ -23,6 +23,7 @@
|
|||||||
#include <tools/color.hxx>
|
#include <tools/color.hxx>
|
||||||
#include <global.hxx>
|
#include <global.hxx>
|
||||||
#include <address.hxx>
|
#include <address.hxx>
|
||||||
|
#include <tools/solar.h>
|
||||||
|
|
||||||
struct ScRangeFindData
|
struct ScRangeFindData
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user