summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-06-23 00:42:24 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-06-23 02:48:29 +0900
commitcdea32dd8a03fe5375eaef785461170cdee10622 (patch)
treed1c7a0814fe6b437dac1069259ab3417503bd001
parentdbd9db69bb2ca982d76c09f8cb9561b42c9138b8 (diff)
removed unused forward declarations of class
except moving ScPostIt into source/filter/inc/xeescher.hxx Change-Id: I85fbfe88e30edce5a48a65c494ced7b2129964ff
-rw-r--r--cppcanvas/source/inc/implrenderer.hxx3
-rw-r--r--cppcanvas/source/mtfrenderer/mtftools.hxx1
-rw-r--r--sc/inc/addincol.hxx1
-rw-r--r--sc/inc/appluno.hxx2
-rw-r--r--sc/inc/arealink.hxx2
-rw-r--r--sc/inc/attarray.hxx1
-rw-r--r--sc/inc/cell.hxx2
-rw-r--r--sc/inc/cellform.hxx2
-rw-r--r--sc/inc/chgtrack.hxx2
-rw-r--r--sc/inc/column.hxx4
-rw-r--r--sc/inc/dapiuno.hxx2
-rw-r--r--sc/inc/detfunc.hxx5
-rw-r--r--sc/inc/document.hxx5
-rw-r--r--sc/inc/docuno.hxx2
-rw-r--r--sc/inc/dpgroup.hxx1
-rw-r--r--sc/inc/dpitemdata.hxx2
-rw-r--r--sc/inc/dpobject.hxx2
-rw-r--r--sc/inc/dpoutput.hxx1
-rw-r--r--sc/inc/dpshttab.hxx2
-rw-r--r--sc/inc/dptabres.hxx1
-rw-r--r--sc/inc/drwlayer.hxx2
-rw-r--r--sc/inc/externalrefmgr.hxx6
-rw-r--r--sc/inc/fielduno.hxx2
-rw-r--r--sc/inc/filter.hxx3
-rw-r--r--sc/inc/inputopt.hxx2
-rw-r--r--sc/inc/linkuno.hxx1
-rw-r--r--sc/inc/nameuno.hxx1
-rw-r--r--sc/inc/olinetab.hxx1
-rw-r--r--sc/inc/pivot.hxx7
-rw-r--r--sc/inc/rangeutl.hxx2
-rw-r--r--sc/inc/scabstdlg.hxx1
-rw-r--r--sc/inc/scdll.hxx4
-rw-r--r--sc/inc/scmatrix.hxx1
-rw-r--r--sc/inc/scmod.hxx4
-rw-r--r--sc/inc/simplerangelist.hxx1
-rw-r--r--sc/inc/table.hxx3
-rw-r--r--sc/inc/tokenarray.hxx1
-rw-r--r--sc/source/filter/inc/xeescher.hxx1
38 files changed, 1 insertions, 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 <cppuhelper/implbase4.hxx>
#include <rtl/ustring.hxx>
-class ScFunctionDescriptionObj;
-
com::sun::star::uno::Reference<com::sun::star::uno::XInterface> 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 <sfx2/lnkbase.hxx>
#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 <tools/solar.h>
#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 <vector>
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<ScDPItemData> 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 <boost/unordered_map.hpp>
-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 <formula/ExternalReferenceHelper.hxx>
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 <unotools/configitem.hxx>
#include <tools/solar.h>
-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 <boost/unordered_map.hpp>
#include <boost/ptr_container/ptr_vector.hpp>
-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 <vector>
#include <boost/ptr_container/ptr_vector.hpp>
-class SubTotal;
-
#define PIVOT_DATA_FIELD (MAXCOLCOUNT)
#define PIVOT_FUNC_REF (MAXCOLCOUNT)
#include <com/sun/star/uno/Sequence.hxx>
@@ -62,11 +60,6 @@ class SubTotal;
#include <com/sun/star/sheet/DataPilotFieldLayoutInfo.hpp>
#include <com/sun/star/sheet/DataPilotFieldAutoShowInfo.hpp>
-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 <boost/intrusive_ptr.hpp>
-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 <map>
#include <list>
-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 <boost/shared_ptr.hpp>
+class ScPostIt;
namespace com { namespace sun { namespace star {
namespace script { struct ScriptEventDescriptor; }