Remove obsolete fw declarations from sc/

found with bin/find-unneeded-includes --fwdecl

Change-Id: I04083a33ce1e7d85980da91f72c2dd85777b594d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183897
Tested-by: Jenkins
Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de>
This commit is contained in:
Gabor Kelemen 2025-04-08 16:16:59 +02:00
parent d29f6a2dd7
commit b94cf8f15a
96 changed files with 7 additions and 222 deletions

View File

@ -286,9 +286,13 @@ excludelist:
sc/inc/scitems.hxx:
# needed for defines
- svl/typedwhich.hxx
# needed in --fwdecl mode
- class ScConsolidateItem
sc/inc/scmatrix.hxx:
# base class has to be a complete type
- svl/sharedstringpool.hxx
# needed in --fwdecl mode, quotation needed for handling the colon
- 'enum class FormulaError : sal_uInt16'
sc/inc/scmod.hxx:
# Needed for macro define
- sfx2/app.hxx

View File

@ -24,7 +24,6 @@
#include <vector>
#include <unordered_map>
namespace com::sun::star::chart2::data { class XDataSequence; }
namespace com::sun::star::chart2::data { class XDataSource; }
namespace com::sun::star::chart2::data { class XLabeledDataSequence; }
namespace com::sun::star::uno { class XComponentContext; }

View File

@ -24,7 +24,6 @@
#include <sfx2/lnkbase.hxx>
#include "scdllapi.h"
class SfxObjectShell;
class ScDocShell;
class SAL_DLLPUBLIC_RTTI ScAreaLink final : public ::sfx2::SvBaseLink, public ScRefreshTimer

View File

@ -29,7 +29,6 @@
#include <svl/itemset.hxx>
class ScDocument;
class ScEditDataArray;
class ScMarkArray;
class ScStyleSheet;

View File

@ -108,7 +108,6 @@ class SvxBoxInfoItem;
class SvxItemPropertySet;
class SvxUnoText;
class ScDocument;
class SfxBroadcaster;
class SfxHint;
class SfxItemPropertyMap;
class SfxItemPropertySet;

View File

@ -59,11 +59,9 @@ struct NoteEntry;
class DocumentStreamAccess;
class CellValues;
class TableValues;
struct RowSpan;
class RowHeightContext;
class CompileFormulaContext;
struct SetFormulaDirtyContext;
enum class MatrixEdge;
class ColumnIterator;
class Sparkline;
@ -81,8 +79,6 @@ class SvxBoxItem;
class ScDocument;
class ScEditDataArray;
class ScFormulaCell;
class ScMarkData;
class ScPatternAttr;
class ScStyleSheet;
class SvtBroadcaster;
class ScTypedStrData;
@ -93,7 +89,6 @@ struct ScSetStringParam;
struct ScColWidthParam;
struct ScRefCellValue;
struct ScCellValue;
class ScHint;
enum class ScMF;
struct ScFilterEntries;
struct ScInterpreterContext;

View File

@ -48,10 +48,6 @@
#include <vector>
namespace com::sun::star::sheet { struct TableFilterField2; }
namespace com::sun::star::sheet { struct TableFilterField3; }
namespace com::sun::star::sheet { struct TableFilterField; }
class ScDBData;
class ScDocShell;

View File

@ -37,16 +37,8 @@
class ScDocument;
class ScPatternAttr;
class ScAttrArray;
class ScAttrIterator;
class ScFlatBoolRowSegments;
class ScMatrix;
struct ScDBQueryParamBase;
struct ScQueryParam;
struct ScDBQueryParamInternal;
struct ScDBQueryParamMatrix;
class ScFormulaCell;
class OutputDevice;
struct ScInterpreterContext;
enum class SvNumFormatType : sal_Int16;

View File

@ -23,9 +23,6 @@
#include <svl/itempool.hxx>
#include "scdllapi.h"
class ScStyleSheet;
class ScDocument;
class SC_DLLPUBLIC ScDocumentPool final : public SfxItemPool
{
public:

View File

@ -66,7 +66,6 @@ namespace oox
namespace xls
{
class Connection;
struct ConnectionModel;
}
}
@ -96,23 +95,18 @@ class StartListeningContext;
class EndListeningContext;
class CopyFromClipContext;
class ColumnSpanSet;
class RangeColumnSpanSet;
struct ColumnBlockPosition;
struct RefUpdateContext;
class EditTextIterator;
struct NoteEntry;
class DocumentStreamAccess;
class DocumentLinkManager;
class CellValues;
class TableValues;
class RowHeightContext;
struct SetFormulaDirtyContext;
class RefMovedHint;
struct ReorderParam;
class FormulaGroupAreaListener;
class ColumnSet;
class UpdatedRangeNames;
class TableColumnBlockPositionSet;
class ColumnIterator;
class ExternalDataMapper;
class Sparkline;
@ -128,7 +122,6 @@ class SdrObject;
class SfxBroadcaster;
class SfxListener;
class SfxItemSet;
class SfxObjectShell;
class SfxBindings;
class SfxPoolItem;
class SfxItemPool;
@ -159,7 +152,6 @@ class ScDetOpList;
class ScDocOptions;
class ScDocProtection;
class ScDocumentPool;
class ScDrawLayer;
class ScExtDocOptions;
class ScExternalRefManager;
class ScFormulaCell;
@ -187,7 +179,6 @@ struct ScSortParam;
class ScRefreshTimerControl;
class ScUnoListenerCalls;
class ScUnoRefList;
class ScRecursionHelper;
struct RowInfo;
struct ScTableInfo;
struct ScTabOpParam;
@ -195,7 +186,6 @@ class VirtualDevice;
class ScAutoNameCache;
class ScTemporaryChartLock;
class ScLookupCache;
struct ScLookupCacheMap;
class ScSortedRangeCache;
struct ScSortedRangeCacheMap;
class ScUndoManager;
@ -221,7 +211,6 @@ class BitmapEx;
class ScColumnsRange;
struct ScFilterEntries;
typedef o3tl::sorted_vector<sal_uInt32> ScCondFormatIndexes;
struct ScSheetLimits;
struct ScDataAreaExtras;
enum class ScConditionMode;

View File

@ -55,9 +55,6 @@
#include <svl/itemprop.hxx>
#include <vcl/ITiledRenderable.hxx>
namespace com::sun::star::chart2::data { class XDataProvider; }
namespace com::sun::star::sheet::opencl { struct OpenCLPlatform; }
class ScDocShell;
class ScAnnotationObj;
class ScMarkData;

View File

@ -36,7 +36,6 @@
struct ScQueryParam;
class ScDPObject;
class ScDocument;
class SvNumberFormatter;
struct ScInterpreterContext;
enum class SvNumFormatType : sal_Int16;

View File

@ -63,7 +63,6 @@ class ScSheetSourceDesc;
class ScDPTableData;
class ScDPDimensionSaveData;
class ScRangeList;
class ScDPCache;
class ScDocument;
struct ScDPServiceDesc

View File

@ -51,7 +51,6 @@
namespace com::sun::star {
namespace sheet {
struct DataPilotFieldFilter;
struct MemberResult;
}
}

View File

@ -29,8 +29,6 @@
#include <o3tl/typed_flags_set.hxx>
#include <optional>
class SfxItemSet;
class SvxBrushItem;
class SvxBoxItem;
class SvxLineItem;
class SvxShadowItem;

View File

@ -491,7 +491,6 @@ class LocaleDataWrapper;
class SvtSysLocale;
class CalendarWrapper;
class CollatorWrapper;
class IntlWrapper;
class ScFieldEditEngine;
namespace com::sun::star {

View File

@ -37,8 +37,6 @@ struct DelayedSetNumberFormat
sal_uInt32 mnNumberFormat;
};
class ScInterpreterContextPool;
struct ScInterpreterContext
{
const ScDocument* mpDoc;
@ -166,9 +164,6 @@ private:
SvNumberFormatter* mpFormatter;
};
class ScThreadedInterpreterContextGetterGuard;
class ScInterpreterContextGetterGuard;
class ScInterpreterContextPool
{
friend class ScThreadedInterpreterContextGetterGuard;

View File

@ -23,7 +23,6 @@
#include <tools/long.hxx>
#include <vector>
class ScRangeList;
struct ScSheetLimits;
struct ScMarkEntry

View File

@ -33,8 +33,6 @@ struct ColRowSpan;
}
class ScMarkArray;
//! todo:
//! It should be possible to have MarkArrays for each table, in order to
//! enable "search all" across more than one table again!

View File

@ -21,8 +21,6 @@
#include "patattr.hxx"
#include <vector>
class CellAttributeHelper;
class SfxItemSet;
class SfxPoolItem;
class ScItemPoolCache

View File

@ -30,7 +30,6 @@
struct ScInterpreterContext;
struct ScDBQueryParamInternal;
struct ScQueryEntry;
namespace svl {

View File

@ -30,7 +30,6 @@
class ScDocument;
struct ScInterpreterContext;
struct ScQueryParam;
struct ScSortedRangeCacheMap;
/** Sorted cache for one range used with interpreter functions such as VLOOKUP
and MATCH. Caches sorted order for cells in the given range, which must

View File

@ -14,7 +14,6 @@
namespace sc {
struct RefUpdateContext;
class ColRowReorderMapType;
class RefHint : public SfxHint

View File

@ -68,7 +68,6 @@ class ScMergeAttr;
class ScMergeFlagAttr;
class ScProtectionAttr;
class SvxBoxInfoItem;
class ScPatternAttr;
class SvxPageItem;
class ScViewObjectModeItem;
class SfxUInt16Item;

View File

@ -70,7 +70,6 @@ class ScAddInCfg;
class ScTransferObj;
class ScDrawTransferObj;
class ScSelectionTransferObj;
class ScFormEditData;
class ScMarkData;
struct ScDragData;
class SfxDialogController;

View File

@ -13,10 +13,6 @@
class ScDocument;
class ScColumn;
namespace vcl
{
class Window;
}
namespace sc
{

View File

@ -33,7 +33,6 @@
#include <cppuhelper/implbase.hxx>
namespace com::sun::star::container { class XIndexReplace; }
namespace com::sun::star::lang { class XComponent; }
class ScDocShell;
class SfxItemPropertySet;

View File

@ -29,8 +29,6 @@ public:
static bool SafeDiv( double& fVal1, double fVal2);
};
class ScFunctionData;
/** Implements the Welford Online one-pass algorithm.
See https://en.wikipedia.org/wiki/Algorithms_for_calculating_variance#Welford's_Online_algorithm
and Donald E. Knuth, TAoCP vol.2, 3rd edn., p. 232

View File

@ -70,7 +70,6 @@ class ColumnSpanSet;
class RangeColumnSpanSet;
class ColumnSet;
struct ColumnBlockPosition;
class TableColumnBlockPositionSet;
struct RefUpdateContext;
struct RefUpdateInsertTabContext;
struct RefUpdateDeleteTabContext;
@ -83,7 +82,6 @@ class RowHeightContext;
class CompileFormulaContext;
struct SetFormulaDirtyContext;
class ColumnIterator;
class ScDrawObjData;
}
class SfxItemSet;
@ -100,7 +98,6 @@ class ScPrintSaverTab;
class ScProgress;
class ScRangeList;
class ScSheetEvents;
class ScSortInfoArray;
class ScConditionalFormat;
class ScConditionalFormatList;
class ScStyleSheet;
@ -116,7 +113,6 @@ struct ScSetStringParam;
struct ScColWidthParam;
class ScRangeName;
class ScDBData;
class ScHint;
class ScPostIt;
struct ScInterpreterContext;

View File

@ -26,10 +26,6 @@
#include <com/sun/star/container/XNameAccess.hpp>
#include <cppuhelper/implbase.hxx>
namespace com::sun::star::beans { class XPropertyChangeListener; }
namespace com::sun::star::beans { class XPropertySetInfo; }
namespace com::sun::star::beans { class XVetoableChangeListener; }
class ScDocShell;
#define SC_LINKTARGETTYPE_SHEET 0

View File

@ -32,7 +32,7 @@ namespace com::sun::star {
namespace uno { template <class E> class Sequence; }
namespace embed { class XStorage; }
namespace xml {
namespace sax { struct InputSource; class XParser; class XWriter; }
namespace sax { struct InputSource; class XWriter; }
}
}

View File

@ -23,8 +23,6 @@
#include <svl/broadcast.hxx>
#include <types.hxx>
namespace com::sun::star::uno { class Any; }
class ScDocument;
class ScMultipleReadHeader;
class ScMultipleWriteHeader;

View File

@ -12,11 +12,6 @@
#include <sfx2/lnkbase.hxx>
#include <svl/broadcast.hxx>
namespace com::sun::star::uno
{
class Any;
}
class ScDocument;
class ScWebServiceLink final : public ::sfx2::SvBaseLink, public SvtBroadcaster

View File

@ -429,9 +429,6 @@ public:
int nCurWindowSize );
};
class OpAverage;
class OpCount;
/// Handling a Double Vector that is used as a sliding window input
/// to either a sliding window average or sum-of-products
/// Generate a sequential loop for reductions

View File

@ -19,7 +19,6 @@
namespace oox::xls
{
class PivotTable;
class PivotTableFormat;
class PivotTableReference;
enum class PivotAreaType

View File

@ -16,11 +16,6 @@
#include <vector>
#include <memory>
namespace oox
{
class AttributeList;
}
namespace oox::xls
{
/** Transitional sparkline data */

View File

@ -27,7 +27,6 @@
namespace com::sun::star {
namespace sheet { class XDatabaseRange; }
namespace sheet { class XSheetFilterDescriptor3; }
}
namespace oox { class AttributeList; }

View File

@ -28,12 +28,6 @@
#include <memory>
#include <vector>
class ScColorScaleFormat;
class ScDataBarFormat;
struct ScDataBarFormatData;
class ScIconSetFormat;
struct ScIconSetFormatData;
namespace oox { class AttributeList; }
namespace oox::xls {
@ -209,10 +203,6 @@ struct CondFormatModel
explicit CondFormatModel();
};
class CondFormatBuffer;
struct CondFormatHash;
struct CondFormatEquals;
/** Represents a conditional formatting object with a list of affected cell ranges. */
class CondFormat final : public WorksheetHelper
{

View File

@ -26,7 +26,6 @@
class ScDocument;
class ScEEParser;
class ScTabEditEngine;
class SvStream;
struct ScEEParseEntry;

View File

@ -19,7 +19,6 @@
extern sal_Int32 gnStyleIdx; // Holds index of the <extlst> <cfRule> style (Will be reset by finalize import)
struct ScDataBarFormatData;
namespace oox { class AttributeList; }
namespace oox::xls { class WorkbookFragment; }
namespace oox::xls { class WorksheetFragment; }

View File

@ -144,7 +144,6 @@ struct ScHTMLAdjustStackEntry
class EditEngine;
class ScDocument;
class HTMLOption;
// TODO these need better names
typedef ::std::map<SCROW, SCROW> InnerMap;

View File

@ -24,7 +24,6 @@
#include <address.hxx>
class ScDocumentPool;
class ScPatternAttr;
class SvxColorItem;
class Color;

View File

@ -40,9 +40,7 @@
class ScOrcusSheet;
class ScOrcusStyles;
class ScOrcusFactory;
class ScOrcusImportFontStyle;
class ScOrcusSharedStrings;
class SfxItemSet;
namespace com::sun::star::task
{
class XStatusIndicator;

View File

@ -22,9 +22,6 @@
#include "flttypes.hxx"
#include <memory>
class ScRangeName;
class RangeNameBufferWK3;
class SharedFormulaBuffer;
class ExtNameBuff;
class ExtSheetBuffer;

View File

@ -13,7 +13,6 @@
#include <tokenarray.hxx>
#include <memory>
#include <map>
class ScTokenArray;
namespace sc
{

View File

@ -25,7 +25,6 @@
namespace oox { class AttributeList; }
namespace oox { class SequenceInputStream; }
class ScDBData;
namespace oox::xls {

View File

@ -36,8 +36,6 @@ namespace com::sun::star {
namespace container { class XNameContainer; }
namespace sheet { class XDatabaseRange; }
namespace sheet { class XSpreadsheet; }
namespace sheet { class XSpreadsheetDocument; }
namespace sheet { struct FormulaToken; }
namespace style { class XStyle; }
namespace table { class XCellRange; }
}

View File

@ -33,8 +33,6 @@
#include <unordered_map>
#include <o3tl/sorted_vector.hxx>
class XclExtLst;
/* ============================================================================
Export of cell tables including row and column description.
- Managing all used and formatted cells in a sheet.
@ -955,9 +953,6 @@ private:
// Cell Table
class XclExpNote;
class XclExpMergedcells;
class XclExpHyperlink;
class XclExpDval;
/** This class contains the cell contents and more of an entire sheet.

View File

@ -116,7 +116,6 @@ struct XclRootData
virtual ~XclRootData();
};
class SfxObjectShell;
class ScModelObj;
class OutputDevice;
class SvNumberFormatter;

View File

@ -16,11 +16,6 @@
#include <rangelst.hxx>
#include <docmodel/color/ComplexColor.hxx>
namespace sax_fastparser
{
class FastAttributeList;
}
namespace sc
{
class SparklineGroup;

View File

@ -22,11 +22,6 @@
#include <xmloff/xmltoken.hxx>
#include <rtl/ref.hxx>
namespace com::sun::star::text
{
class XText;
}
class ScChangeAction;
class ScChangeTrack;
class ScDocument;

View File

@ -22,10 +22,6 @@
#include <xmloff/xmltoken.hxx>
#include <xmloff/XMLTextMasterPageExport.hxx>
namespace com::sun::star {
namespace text { class XText; }
}
namespace com::sun::star::sheet { class XHeaderFooterContent; }
class ScXMLExport;

View File

@ -33,7 +33,6 @@ namespace com::sun::star {
namespace beans { class XPropertySet; }
}
namespace com::sun::star::table { class XCellRange; }
namespace com::sun::star::sheet { class XSpreadsheet; }
namespace com::sun::star::sheet { class XSpreadsheetDocument; }

View File

@ -36,8 +36,6 @@
#include <list>
namespace com::sun::star::beans { class XPropertySet; }
namespace com::sun::star::sheet { class XSheetCellRangeContainer; }
namespace com::sun::star::table { struct CellRangeAddress; }
namespace com::sun::star::util { class XNumberFormatTypes; }
namespace com::sun::star::util { class XNumberFormats; }
namespace sax_fastparser { class FastAttributeList; }
@ -49,18 +47,14 @@ class XMLNumberFormatAttributesExportHelper;
class ScEditEngineDefaulter;
class ScDocumentImport;
class ScMyImpDetectiveOpArray;
class SdrPage;
class ScModelObj;
namespace sc {
struct ImportPostProcessData;
struct PivotTableSources;
class ScDrawObjData;
}
class SvXMLTokenMap;
class XMLShapeImportHelper;
class ScXMLChangeTrackingImportHelper;
struct ScMyNamedExpression

View File

@ -30,6 +30,7 @@
#include "xmlimprt.hxx"
class ScConditionalFormat;
namespace com::sun::star::table { struct CellRangeAddress; }
class ScXMLCellImportPropertyMapper : public SvXMLImportPropertyMapper
{

View File

@ -24,8 +24,6 @@
#include <rangelst.hxx>
namespace com::sun::star::drawing { class XDrawPage; }
namespace com::sun::star::sheet { class XSpreadsheet; }
namespace com::sun::star::table { class XCellRange; }
namespace com::sun::star::drawing { class XShapes; }
class ScXMLImport;

View File

@ -28,7 +28,6 @@
#include <editeng/AccessibleStaticTextBase.hxx>
#include <comphelper/uno3.hxx>
namespace com::sun::star::accessibility { class XAccessibleRelationSet; }
namespace utl { class AccessibleRelationSetHelper; }
class ScTabViewShell;

View File

@ -16,8 +16,6 @@
#include <SparklineGroup.hxx>
#include <SparklineAttributes.hxx>
class ColorListBox;
namespace sc
{
/** Dialog to change input data range for a sparkline */

View File

@ -26,7 +26,6 @@
#include <memory>
class SfxObjectShell;
class ScDocument;
class ScRangeList;
class ScCompiler;

View File

@ -28,7 +28,6 @@
#include <vcl/idle.hxx>
class ScDocShell;
class ScRange;
struct ScAutoStyleData
{

View File

@ -18,9 +18,7 @@
#include <map>
#include <set>
class ScCheckListMenuControl;
class ScViewData;
struct ScCheckListMember;
struct ImplSVEvent;
struct ScCheckListMember
@ -49,7 +47,6 @@ struct ScCheckListMember
std::unique_ptr<weld::TreeIter> mxParent;
};
class ScCheckListMenuWindow;
class ScListSubMenuControl;
/**

View File

@ -14,8 +14,6 @@
#include <conditio.hxx>
class ScViewData;
class ScConditionalFormat;
class ScTabViewShell;
namespace sc
{

View File

@ -36,8 +36,6 @@ class ScCondDateFormatEntry;
using namespace com::sun::star;
namespace com::sun::star::sheet { class XSheetCellRanges; }
class ScCondFormatsObj : public cppu::WeakImplHelper<css::sheet::XConditionalFormats>,
public SfxListener
{

View File

@ -24,7 +24,6 @@
class ScViewData;
class ScDocument;
class ScRangeUtil;
class ScAreaData;
class ScConsolidateDlg : public ScAnyRefDlgController

View File

@ -27,8 +27,6 @@
#include <vcl/customweld.hxx>
#include "AccessibleCsvControl.hxx"
namespace com::sun::star::accessibility { class XAccessible; }
/** Minimum character count for a column in separators mode. */
const sal_Int32 CSV_MINCOLWIDTH = 8;
/** Maximum length of a cell string. */

View File

@ -32,7 +32,6 @@
namespace svtools { class ColorConfig; }
class EditEngine;
class ScAsciiOptions;
class ScAccessibleCsvControl;
class ScCsvTableBox;
const sal_uInt32 CSV_COLUMN_INVALID = CSV_VEC_NOTFOUND;

View File

@ -24,7 +24,6 @@
#include <vcl/virdev.hxx>
class ScAccessibleCsvControl;
class ScCsvTableBox;
/** A ruler control for the CSV import dialog. Supports setting and moving

View File

@ -40,7 +40,6 @@
class ScRefreshTimerProtector;
class ScEditEngineDefaulter;
class SfxStyleSheetBasePool;
class SfxStyleSheetHint;
class INetURLObject;

View File

@ -28,7 +28,6 @@ namespace com::sun::star::datatransfer { class XTransferable; }
class ScDocument;
class ScViewData;
class ScDrawObjData;
class SdrUndoManager;
class ScDrawView final : public FmFormView
{

View File

@ -23,7 +23,6 @@
namespace formula
{
class RefButton;
class RefButton;
class RefEdit;
}

View File

@ -33,10 +33,6 @@
#include <vector>
namespace editeng {
struct MisspellRanges;
}
namespace sc {
struct MisspellRangeResult;
class SpellCheckContext;

View File

@ -50,7 +50,6 @@ class CommandEvent;
class VclWindowEvent;
namespace vcl { class Window; }
struct ReferenceMark;
struct ESelection;
// ScInputHandler

View File

@ -32,17 +32,13 @@
#include <formula/opcode.hxx>
#include <svx/weldeditview.hxx>
namespace com::sun::star::accessibility { class XAccessible; }
class EditView;
class ScAccessibleEditLineTextData;
class ScAccessibleEditObject;
class ScEditEngineDefaulter;
class ScTextWndGroup;
class ScInputBarGroup;
class ScInputHandler;
class ScTabViewShell;
struct EENotify;
class ScTextWndBase
{

View File

@ -31,9 +31,7 @@
class SfxPoolItem;
class ScTabViewShell;
class ScViewData;
class ScScenarioWindow;
class ScNavigatorControllerItem;
class ScNavigatorDlg;
class ScNavigatorSettings;
#define SC_DROPMODE_URL 0

View File

@ -21,8 +21,6 @@
#include "anyrefdg.hxx"
class ScDocument;
class ScSimpleRefDlg: public ScAnyRefDlgController
{
private:

View File

@ -31,10 +31,6 @@
#include "gridwin.hxx"
#include "drawview.hxx"
namespace editeng {
struct MisspellRanges;
}
class ScEditEngineDefaulter;
class ScOutlineWindow;
class ScRowBar;
@ -46,7 +42,6 @@ class SvBorder;
class FuPoor;
class Splitter;
class ScTabSplitter;
class SdrView;
class SdrObject;
class ScPageBreakData;
class SdrHdlList;

View File

@ -48,7 +48,6 @@ class AbstractScMoveTableDlg;
class AbstractScTabBgColorDlg;
class AbstractScStringInputDlg;
class ScStyleSaveData;
class ScArea;
class ScAuditingShell;
class ScDrawShell;
class ScDrawTextObjectBar;
@ -64,7 +63,6 @@ class ScChartShell;
class ScPageBreakShell;
class ScDPObject;
class ScNavigatorSettings;
class ScRangeName;
class ScDrawTransferObj;
class ScCondFormatDlgData;
class ScDispatchProviderInterceptor;
@ -75,8 +73,6 @@ struct ScHeaderFieldData;
namespace editeng { class SvxBorderLine; }
namespace com::sun::star::frame { class XDispatchProviderInterceptor; }
namespace svx {
class ExtrusionBar;
class FontworkBar;

View File

@ -27,10 +27,7 @@
#include <functional>
namespace com::sun::star::accessibility { class XAccessible; }
class ScPatternAttr;
class EditView;
class EditTextObject;
class SvxFieldItem;
class ScAccessibleEditObject;

View File

@ -31,12 +31,6 @@ class ScMarkData;
enum class ScDragSrc;
class ScCellRangesBase;
namespace com::sun::star {
namespace sheet {
class XSheetCellRanges;
}
}
class SAL_DLLPUBLIC_RTTI ScTransferObj : public TransferDataContainer
{
private:

View File

@ -11,7 +11,6 @@
#include <memory>
#include <vcl/uitest/uiobject.hxx>
class ScGridWindow;
class ScDBFunc;
class ScDrawView;
class ScTabViewShell;

View File

@ -17,7 +17,6 @@
namespace sc
{
class SparklineGroup;
struct SparklineData;
/** Undo action for deleting a Sparkline */
class UndoDeleteSparkline : public ScSimpleUndo

View File

@ -18,7 +18,6 @@
namespace sc
{
class Sparkline;
struct SparklineData;
/** Undo action for editing a Sparkline */
class UndoEditSparkline : public ScSimpleUndo

View File

@ -29,7 +29,6 @@
class ScDocShell;
class ScOutlineTable;
class ScPatternAttr;
class SvxSearchItem;
class SdrUndoAction;
class ScEditDataArray;

View File

@ -29,7 +29,6 @@
#include <memory>
class ScDocShell;
class ScPatternAttr;
class ScRangeName;
class ScFormulaCell;

View File

@ -98,7 +98,6 @@ namespace o3tl {
}
class ScDocFunc;
class ScDocument;
class ScDBFunc;
class ScTabViewShell;
class ScDrawView;
@ -113,7 +112,6 @@ class SfxDispatcher;
class ScPatternAttr;
class ScExtDocOptions;
class ScViewData;
class ScMarkData;
class ScGridWindow;
class ScSizeDeviceProvider;

View File

@ -26,7 +26,6 @@ class SfxItemSet;
class SfxBindings;
class SvxFontItem;
class SfxViewShell;
class SfxViewFrame;
class ScChangeAction;
class ScChangeViewSettings;
class ScDocument;

View File

@ -16,7 +16,6 @@
#include <memory>
class ScDocument;
class ScRange;
class ScOrcusXMLContext;
struct CustomCompare

View File

@ -26,10 +26,6 @@
#include <rtl/ustring.hxx>
namespace com::sun::star {
namespace beans { struct PropertyValue; }
}
class ScFilterDetect : public ::cppu::WeakImplHelper< css::document::XExtendedFilterDetection, css::lang::XServiceInfo >
{
public:

View File

@ -22,7 +22,6 @@
#include <ooo/vba/excel/XChartObjects.hpp>
#include <vbahelper/vbacollectionimpl.hxx>
namespace com::sun::star::container { class XEnumeration; }
namespace com::sun::star::drawing { class XDrawPageSupplier; }
namespace com::sun::star::table { class XTableCharts; }
namespace com::sun::star::uno { class XComponentContext; }

View File

@ -27,7 +27,6 @@ namespace com::sun::star::beans { class XPropertySet; }
namespace com::sun::star::sheet { class XSheetConditionalEntries; }
namespace ooo::vba::excel { class XRange; }
namespace ooo::vba::excel { class XStyle; }
namespace ooo::vba::excel { class XStyles; }
class ScVbaStyles;
class ScVbaFormatCondition;

View File

@ -24,7 +24,6 @@
#include <vbahelper/vbahelperinterface.hxx>
#include <tools/long.hxx>
namespace ooo::vba::excel { class XRange; }
namespace com::sun::star::beans { class XPropertySet; }
namespace com::sun::star::table { class XCell; }

View File

@ -12,7 +12,6 @@
#include <vbahelper/vbacollectionimpl.hxx>
namespace ooo::vba { class XCommandBarControls; }
namespace ooo::vba::excel { class XMenuItem; }
typedef CollTestImplHelper< ov::excel::XMenuItems > MenuItems_BASE;

View File

@ -12,7 +12,6 @@
#include <vbahelper/vbacollectionimpl.hxx>
namespace ooo::vba { class XCommandBarControls; }
namespace ooo::vba::excel { class XMenu; }
typedef CollTestImplHelper< ov::excel::XMenus > Menus_BASE;

View File

@ -33,13 +33,9 @@ namespace com::sun::star::sheet { class XSheetCellRangeContainer; }
namespace com::sun::star::table { class XCell; }
namespace com::sun::star::table { class XCellRange; }
namespace com::sun::star::table { struct CellRangeAddress; }
namespace com::sun::star::lang { class XServiceInfo; }
namespace ooo::vba { class XCollection; }
namespace ooo::vba::excel { class XComment; }
namespace ooo::vba::excel { class XFont; }
class SfxItemSet;
class ScCellRangesBase;
class ScCellRangeObj;
class ScDocShell;
class ScDocument;

View File

@ -25,7 +25,6 @@
#include <rtl/ref.hxx>
namespace com::sun::star {
namespace container { class XEnumeration; }
namespace frame { class XModel; }
namespace sheet { class XSpreadsheet; }
}

View File

@ -27,12 +27,9 @@
namespace com::sun::star::frame { class XModel; }
namespace com::sun::star::sheet { class XSpreadsheet; }
namespace com::sun::star::uno { class XComponentContext; }
namespace ooo::vba::excel { class XOutline; }
namespace ooo::vba::excel { class XPageSetup; }
namespace ooo::vba::excel { class XRange; }
namespace ooo::vba::excel {
class XChartObjects;
class XHyperlinks;
}