From cdea32dd8a03fe5375eaef785461170cdee10622 Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Sat, 23 Jun 2012 00:42:24 +0900 Subject: removed unused forward declarations of class except moving ScPostIt into source/filter/inc/xeescher.hxx Change-Id: I85fbfe88e30edce5a48a65c494ced7b2129964ff --- cppcanvas/source/inc/implrenderer.hxx | 3 --- cppcanvas/source/mtfrenderer/mtftools.hxx | 1 - sc/inc/addincol.hxx | 1 - sc/inc/appluno.hxx | 2 -- sc/inc/arealink.hxx | 2 -- sc/inc/attarray.hxx | 1 - sc/inc/cell.hxx | 2 -- sc/inc/cellform.hxx | 2 -- sc/inc/chgtrack.hxx | 2 -- sc/inc/column.hxx | 4 ---- sc/inc/dapiuno.hxx | 2 -- sc/inc/detfunc.hxx | 5 ----- sc/inc/document.hxx | 5 ----- sc/inc/docuno.hxx | 2 -- sc/inc/dpgroup.hxx | 1 - sc/inc/dpitemdata.hxx | 2 -- sc/inc/dpobject.hxx | 2 -- sc/inc/dpoutput.hxx | 1 - sc/inc/dpshttab.hxx | 2 -- sc/inc/dptabres.hxx | 1 - sc/inc/drwlayer.hxx | 2 -- sc/inc/externalrefmgr.hxx | 6 ------ sc/inc/fielduno.hxx | 2 -- sc/inc/filter.hxx | 3 --- sc/inc/inputopt.hxx | 2 -- sc/inc/linkuno.hxx | 1 - sc/inc/nameuno.hxx | 1 - sc/inc/olinetab.hxx | 1 - sc/inc/pivot.hxx | 7 ------- sc/inc/rangeutl.hxx | 2 -- sc/inc/scabstdlg.hxx | 1 - sc/inc/scdll.hxx | 4 ---- sc/inc/scmatrix.hxx | 1 - sc/inc/scmod.hxx | 4 ---- sc/inc/simplerangelist.hxx | 1 - sc/inc/table.hxx | 3 --- sc/inc/tokenarray.hxx | 1 - sc/source/filter/inc/xeescher.hxx | 1 + 38 files changed, 1 insertion(+), 85 deletions(-) diff --git a/cppcanvas/source/inc/implrenderer.hxx b/cppcanvas/source/inc/implrenderer.hxx index a91a818d2ede..9b737d84eafe 100644 --- a/cppcanvas/source/inc/implrenderer.hxx +++ b/cppcanvas/source/inc/implrenderer.hxx @@ -43,9 +43,6 @@ class GDIMetaFile; class VirtualDevice; class Gradient; -class BitmapEx; -class MapMode; -class Size; class Rectangle; class Font; class PolyPolygon; diff --git a/cppcanvas/source/mtfrenderer/mtftools.hxx b/cppcanvas/source/mtfrenderer/mtftools.hxx index bfe5bc5218de..1cfc46b76c99 100644 --- a/cppcanvas/source/mtfrenderer/mtftools.hxx +++ b/cppcanvas/source/mtfrenderer/mtftools.hxx @@ -34,7 +34,6 @@ class VirtualDevice; -class Point; class Size; namespace basegfx diff --git a/sc/inc/addincol.hxx b/sc/inc/addincol.hxx index 662b45dd4e14..e79357f03282 100644 --- a/sc/inc/addincol.hxx +++ b/sc/inc/addincol.hxx @@ -51,7 +51,6 @@ class String; class SfxObjectShell; class ScUnoAddInFuncData; -class ScMatrix; class ScFuncDesc; diff --git a/sc/inc/appluno.hxx b/sc/inc/appluno.hxx index 367dc5c9caf5..f1902595098b 100644 --- a/sc/inc/appluno.hxx +++ b/sc/inc/appluno.hxx @@ -31,8 +31,6 @@ #include #include -class ScFunctionDescriptionObj; - com::sun::star::uno::Reference SAL_CALL diff --git a/sc/inc/arealink.hxx b/sc/inc/arealink.hxx index 3343d8b3e561..e57b1251a018 100644 --- a/sc/inc/arealink.hxx +++ b/sc/inc/arealink.hxx @@ -35,9 +35,7 @@ #include #include "scdllapi.h" -class ScDocShell; class SfxObjectShell; -class AbstractScLinkedAreaDlg; struct AreaLink_Impl; class SC_DLLPUBLIC ScAreaLink : public ::sfx2::SvBaseLink, public ScRefreshTimer diff --git a/sc/inc/attarray.hxx b/sc/inc/attarray.hxx index c6d2affad78b..9b81440b668d 100644 --- a/sc/inc/attarray.hxx +++ b/sc/inc/attarray.hxx @@ -39,7 +39,6 @@ class ScPatternAttr; class ScStyleSheet; class ScFlatBoolRowSegments; -class Rectangle; class SfxItemPoolCache; class SfxStyleSheetBase; class SvxBoxItem; diff --git a/sc/inc/cell.hxx b/sc/inc/cell.hxx index 949908404ce7..1717d8dfb2be 100644 --- a/sc/inc/cell.hxx +++ b/sc/inc/cell.hxx @@ -57,9 +57,7 @@ class ScDocument; class EditTextObject; class ScMatrix; class SvtBroadcaster; -class ScCodeArray; class ScProgress; -class ScPostIt; class ScPatternAttr; // ============================================================================ diff --git a/sc/inc/cellform.hxx b/sc/inc/cellform.hxx index 3a5418d5a12d..39ec3b8aced1 100644 --- a/sc/inc/cellform.hxx +++ b/sc/inc/cellform.hxx @@ -32,8 +32,6 @@ #include #include "scdllapi.h" -class String; - class ScBaseCell; class SvNumberFormatter; class Color; diff --git a/sc/inc/chgtrack.hxx b/sc/inc/chgtrack.hxx index 3b9b89dba8f2..eff37251d444 100644 --- a/sc/inc/chgtrack.hxx +++ b/sc/inc/chgtrack.hxx @@ -82,8 +82,6 @@ enum ScChangeActionClipMode SC_CACM_PASTE }; -class SvStream; - // --- ScChangeActionLinkEntry --------------------------------------------- // Inserts itself as the head of a chain (better: linked list?), or before a LinkEntry diff --git a/sc/inc/column.hxx b/sc/inc/column.hxx index 7fd5be7dd033..e969ffb859de 100644 --- a/sc/inc/column.hxx +++ b/sc/inc/column.hxx @@ -41,10 +41,7 @@ namespace editeng { class SvxBorderLine; } class Fraction; class OutputDevice; -class Rectangle; -class SfxBroadcaster; class SfxItemPoolCache; -class SfxItemSet; class SvtListener; class SfxPoolItem; class SfxStyleSheetBase; @@ -64,7 +61,6 @@ class ScStyleSheet; class SvtBroadcaster; class ScTypedStrData; class ScProgress; -class ScPostIt; struct ScFunctionData; struct ScLineFlags; struct ScMergePatternState; diff --git a/sc/inc/dapiuno.hxx b/sc/inc/dapiuno.hxx index 98bdca08b8a7..e26906af2d4a 100644 --- a/sc/inc/dapiuno.hxx +++ b/sc/inc/dapiuno.hxx @@ -74,8 +74,6 @@ namespace com { namespace sun { namespace star { namespace sheet { class ScDocShell; class ScDPSaveDimension; -class ScDPSaveGroupDimension; -class ScDPSaveNumGroupDimension; struct ScDPNumGroupInfo; class ScDataPilotTableObj; diff --git a/sc/inc/detfunc.hxx b/sc/inc/detfunc.hxx index 520c91016345..128d27117381 100644 --- a/sc/inc/detfunc.hxx +++ b/sc/inc/detfunc.hxx @@ -38,16 +38,11 @@ #include class SdrObject; -class SdrPage; -class String; -class ScPostIt; -class ScCommentData; class ScDetectiveData; class ScDocument; class ScAddress; class ScRange; -class ScRangeList; #define SC_DET_MAXCIRCLE 1000 diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx index a4de4c8341da..72d5168bbc32 100644 --- a/sc/inc/document.hxx +++ b/sc/inc/document.hxx @@ -70,33 +70,28 @@ class SfxBindings; class SfxPoolItem; class SfxItemPool; class SfxPrinter; -class SfxStatusBarManager; class SfxStyleSheetBase; class SvMemoryStream; class SvNumberFormatter; class SvxBoxInfoItem; class SvxBoxItem; -class SvxBrushItem; class SvxForbiddenCharactersTable; namespace sfx2 { class LinkManager; } class SvxSearchItem; -class SvxShadowItem; class Window; class XColorList; struct ScAttrEntry; class ScAutoFormatData; class ScBaseCell; -class ScStringCell; class ScBroadcastAreaSlotMachine; class ScChangeViewSettings; class ScChartCollection; class ScChartListenerCollection; class ScConditionalFormat; class ScConditionalFormatList; -class ScColorFormat; class ScDBCollection; class ScDBData; class ScDetOpData; diff --git a/sc/inc/docuno.hxx b/sc/inc/docuno.hxx index 261a21d6284b..4ec44634c285 100644 --- a/sc/inc/docuno.hxx +++ b/sc/inc/docuno.hxx @@ -71,8 +71,6 @@ class ScPrintSelectionStatus; class ScTableColumnObj; class ScTableRowObj; class ScTableSheetObj; -class SvxFmDrawPage; -class SvxDrawPage; class ScRangeList; class ScPrintUIOptions; class ScSheetSaveData; diff --git a/sc/inc/dpgroup.hxx b/sc/inc/dpgroup.hxx index fe5fd62cd980..4bf9972f7b29 100644 --- a/sc/inc/dpgroup.hxx +++ b/sc/inc/dpgroup.hxx @@ -39,7 +39,6 @@ #include "dpnumgroupinfo.hxx" class ScDocument; -class SvNumberFormatter; typedef ::std::vector ScDPItemDataVec; diff --git a/sc/inc/dpitemdata.hxx b/sc/inc/dpitemdata.hxx index 46642a95af13..67f4af20300d 100644 --- a/sc/inc/dpitemdata.hxx +++ b/sc/inc/dpitemdata.hxx @@ -41,8 +41,6 @@ #include -class ScDocument; - /** * When assigning a string value, you can also assign an interned string * whose life-cycle is managed by the pivot cache that it belongs to. Those diff --git a/sc/inc/dpobject.hxx b/sc/inc/dpobject.hxx index 64525fdab2e1..da0fc0943da8 100644 --- a/sc/inc/dpobject.hxx +++ b/sc/inc/dpobject.hxx @@ -61,14 +61,12 @@ namespace com { namespace sun { namespace star { }}} class Rectangle; -class SvStream; class ScDPSaveData; class ScDPOutput; struct ScPivotParam; struct ScImportSourceDesc; class ScSheetSourceDesc; struct PivotField; -class ScDPCacheTable; class ScDPTableData; class ScDPDimensionSaveData; diff --git a/sc/inc/dpoutput.hxx b/sc/inc/dpoutput.hxx index 24de3564f089..22f18a64f124 100644 --- a/sc/inc/dpoutput.hxx +++ b/sc/inc/dpoutput.hxx @@ -49,7 +49,6 @@ namespace com { namespace sun { namespace star { namespace sheet { }}}} class Rectangle; -class SvStream; class ScDocument; struct ScDPOutLevelData; diff --git a/sc/inc/dpshttab.hxx b/sc/inc/dpshttab.hxx index 38a0d589e235..3a0fcb3e94f1 100644 --- a/sc/inc/dpshttab.hxx +++ b/sc/inc/dpshttab.hxx @@ -42,8 +42,6 @@ namespace com { namespace sun { namespace star { namespace sheet { struct DataPilotFieldFilter; }}}} -class ScDPDimension; -class ScDPItemData; class ScDPDimensionSaveData; /** diff --git a/sc/inc/dptabres.hxx b/sc/inc/dptabres.hxx index 3a64f6d50012..b652bac833e1 100644 --- a/sc/inc/dptabres.hxx +++ b/sc/inc/dptabres.hxx @@ -53,7 +53,6 @@ class ScAddress; class ScDocument; class ScDPSource; class ScDPDimension; -class ScDPDimensions; class ScDPLevel; class ScDPMember; class ScDPAggData; diff --git a/sc/inc/drwlayer.hxx b/sc/inc/drwlayer.hxx index f879e7475774..dc9818554bd2 100644 --- a/sc/inc/drwlayer.hxx +++ b/sc/inc/drwlayer.hxx @@ -35,14 +35,12 @@ #include "global.hxx" class ScDocument; -class SfxViewShell; class SfxObjectShell; class ScDrawObjData; class ScIMapInfo; class ScMacroInfo; class IMapObject; class ScMarkData; -class SdrOle2Obj; class ScRange; class ScAddress; diff --git a/sc/inc/externalrefmgr.hxx b/sc/inc/externalrefmgr.hxx index 1f7b1322c082..4b9c42c96fe5 100644 --- a/sc/inc/externalrefmgr.hxx +++ b/sc/inc/externalrefmgr.hxx @@ -51,12 +51,6 @@ #include class ScDocument; -namespace formula -{ - class FormulaToken; -} -class ScToken; -class ScMatrix; class ScTokenArray; class String; class SfxObjectShellRef; diff --git a/sc/inc/fielduno.hxx b/sc/inc/fielduno.hxx index 62ab90f716c3..6f225b36a65d 100644 --- a/sc/inc/fielduno.hxx +++ b/sc/inc/fielduno.hxx @@ -56,9 +56,7 @@ class ScEditSource; class SvxFieldItem; class SvxFieldData; class ScEditFieldObj; -class ScHeaderFooterContentObj; class ScDocShell; -class EditTextObject; class ScHeaderFooterTextData; class ScCellFieldsObj : public cppu::WeakImplHelper5< diff --git a/sc/inc/filter.hxx b/sc/inc/filter.hxx index 80dace202f68..9b470b5eb906 100644 --- a/sc/inc/filter.hxx +++ b/sc/inc/filter.hxx @@ -79,9 +79,6 @@ enum ExportFormatExcel { ExpBiff2, ExpBiff3, ExpBiff4, ExpBiff4W, ExpBiff5, ExpB // These are implemented inside the scfilt library and lazy loaded -class ScRTFImport; -class ScHTMLImport; - class ScEEAbsImport { public: virtual ~ScEEAbsImport() {} diff --git a/sc/inc/inputopt.hxx b/sc/inc/inputopt.hxx index e4be8041791d..c19ca7354aed 100644 --- a/sc/inc/inputopt.hxx +++ b/sc/inc/inputopt.hxx @@ -24,8 +24,6 @@ #include #include -class SvStream; - class ScInputOptions { diff --git a/sc/inc/linkuno.hxx b/sc/inc/linkuno.hxx index 60d9445f33e7..9faa3806e18d 100644 --- a/sc/inc/linkuno.hxx +++ b/sc/inc/linkuno.hxx @@ -56,7 +56,6 @@ #include #include -class ScAreaLink; class ScDocShell; class ScTableLink; diff --git a/sc/inc/nameuno.hxx b/sc/inc/nameuno.hxx index 97befcb22aef..3eb8c7449b70 100644 --- a/sc/inc/nameuno.hxx +++ b/sc/inc/nameuno.hxx @@ -56,7 +56,6 @@ class ScRangeName; class ScRangeData; class ScTokenArray; class ScNamedRangesObj; -class ScTableSheetObj; class ScNamedRangeObj : public ::cppu::WeakImplHelper6< ::com::sun::star::sheet::XNamedRange, diff --git a/sc/inc/olinetab.hxx b/sc/inc/olinetab.hxx index c6b95f83c0f3..108785cde231 100644 --- a/sc/inc/olinetab.hxx +++ b/sc/inc/olinetab.hxx @@ -36,7 +36,6 @@ #define SC_OL_MAXDEPTH 7 -class SvStream; class ScTable; diff --git a/sc/inc/pivot.hxx b/sc/inc/pivot.hxx index 34fc22a4413f..8446e78d2a96 100644 --- a/sc/inc/pivot.hxx +++ b/sc/inc/pivot.hxx @@ -52,8 +52,6 @@ #include #include -class SubTotal; - #define PIVOT_DATA_FIELD (MAXCOLCOUNT) #define PIVOT_FUNC_REF (MAXCOLCOUNT) #include @@ -62,11 +60,6 @@ class SubTotal; #include #include -class SvStream; -class ScDocument; -class ScUserListData; -class ScProgress; - struct ScDPLabelData; // ----------------------------------------------------------------------- diff --git a/sc/inc/rangeutl.hxx b/sc/inc/rangeutl.hxx index d04b97828d39..d0bef1c09832 100644 --- a/sc/inc/rangeutl.hxx +++ b/sc/inc/rangeutl.hxx @@ -42,8 +42,6 @@ //------------------------------------------------------------------------ -class SvStream; - class ScArea; class ScDocument; class ScRange; diff --git a/sc/inc/scabstdlg.hxx b/sc/inc/scabstdlg.hxx index 921773ae2eb4..375bb98cfd37 100644 --- a/sc/inc/scabstdlg.hxx +++ b/sc/inc/scabstdlg.hxx @@ -49,7 +49,6 @@ class ScAutoFormatData; class ScDocument; struct ScImportSourceDesc; class ScViewData; -class ScRangeName; class ScQueryItem; class ScImportOptions; class SfxStyleSheetBase; diff --git a/sc/inc/scdll.hxx b/sc/inc/scdll.hxx index e446ea6f658f..bd86e49f526b 100644 --- a/sc/inc/scdll.hxx +++ b/sc/inc/scdll.hxx @@ -29,10 +29,6 @@ #ifndef SC_SCDLL_HXX #define SC_SCDLL_HXX -class ResMgr; -class SvFactory; -class SotFactory; -class StatusBar; class SfxMedium; class SfxFilter; diff --git a/sc/inc/scmatrix.hxx b/sc/inc/scmatrix.hxx index 8e14c4694d8a..222f863b1828 100644 --- a/sc/inc/scmatrix.hxx +++ b/sc/inc/scmatrix.hxx @@ -37,7 +37,6 @@ #include -class SvStream; class ScInterpreter; class SvNumberFormatter; class ScMatrixImpl; diff --git a/sc/inc/scmod.hxx b/sc/inc/scmod.hxx index 69bc6659c62a..bc0ebd9726da 100644 --- a/sc/inc/scmod.hxx +++ b/sc/inc/scmod.hxx @@ -44,11 +44,8 @@ class KeyEvent; -class SdrModel; -class SdrView; class EditView; class SfxErrorHandler; -class SvxErrorHandler; class SvtAccessibilityOptions; class SvtCTLOptions; class SvtUserOptions; @@ -72,7 +69,6 @@ class ScFormulaOptions; class ScInputOptions; class ScPrintOptions; class ScInputHandler; -class ScInputWindow; class ScTabViewShell; class ScMessagePool; class EditFieldInfo; diff --git a/sc/inc/simplerangelist.hxx b/sc/inc/simplerangelist.hxx index efba4dd97cc8..611bfaeaf846 100644 --- a/sc/inc/simplerangelist.hxx +++ b/sc/inc/simplerangelist.hxx @@ -36,7 +36,6 @@ #include #include -class ScAddress; class ScRange; class ScRangeList; diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx index 95ab430ed5b3..966c458379a7 100644 --- a/sc/inc/table.hxx +++ b/sc/inc/table.hxx @@ -60,11 +60,9 @@ class SvxBoxInfoItem; class SvxBoxItem; class SvxSearchItem; -class ScAutoFormat; class ScAutoFormatData; class ScBaseCell; class ScDocument; -class ScDrawLayer; class ScEditDataArray; class ScFormulaCell; class ScOutlineTable; @@ -76,7 +74,6 @@ class ScSortInfoArray; class ScConditionalFormat; class ScConditionalFormatList; class ScStyleSheet; -class ScTableLink; class ScTableProtection; class ScUserListData; struct RowInfo; diff --git a/sc/inc/tokenarray.hxx b/sc/inc/tokenarray.hxx index cc55936afe88..a0d3f478600e 100644 --- a/sc/inc/tokenarray.hxx +++ b/sc/inc/tokenarray.hxx @@ -38,7 +38,6 @@ struct ScRawToken; struct ScSingleRefData; struct ScComplexRefData; -class ScMatrix; class SC_DLLPUBLIC ScTokenArray : public formula::FormulaTokenArray { diff --git a/sc/source/filter/inc/xeescher.hxx b/sc/source/filter/inc/xeescher.hxx index 7f2cc1fdd8b3..b2f793b9f211 100644 --- a/sc/source/filter/inc/xeescher.hxx +++ b/sc/source/filter/inc/xeescher.hxx @@ -37,6 +37,7 @@ #include "svx/sdtaitm.hxx" #include +class ScPostIt; namespace com { namespace sun { namespace star { namespace script { struct ScriptEventDescriptor; } -- cgit v1.2.3