[Libreoffice-commits] .: sc/source

Takeshi Abe tabe at kemper.freedesktop.org
Sat Jun 23 09:01:01 PDT 2012


 sc/source/core/inc/doubleref.hxx                       |    1 -
 sc/source/filter/inc/colrowst.hxx                      |    3 ---
 sc/source/filter/inc/excdoc.hxx                        |    4 ----
 sc/source/filter/inc/excform.hxx                       |    1 +
 sc/source/filter/inc/excimp8.hxx                       |    7 -------
 sc/source/filter/inc/excrecds.hxx                      |   13 -------------
 sc/source/filter/inc/excscen.hxx                       |    1 -
 sc/source/filter/inc/exp_op.hxx                        |    1 -
 sc/source/filter/inc/formel.hxx                        |    1 -
 sc/source/filter/inc/ftools.hxx                        |    1 -
 sc/source/filter/inc/imp_op.hxx                        |    4 ----
 sc/source/filter/inc/lotattr.hxx                       |    1 -
 sc/source/filter/inc/namebuff.hxx                      |    1 -
 sc/source/filter/inc/root.hxx                          |    2 --
 sc/source/filter/inc/rtfparse.hxx                      |    1 -
 sc/source/filter/inc/tokstack.hxx                      |    1 -
 sc/source/filter/inc/workbookhelper.hxx                |    5 -----
 sc/source/filter/inc/worksheethelper.hxx               |    2 --
 sc/source/filter/inc/xecontent.hxx                     |    3 ---
 sc/source/filter/inc/xehelper.hxx                      |    2 +-
 sc/source/filter/inc/xelink.hxx                        |    1 -
 sc/source/filter/inc/xepivot.hxx                       |    1 -
 sc/source/filter/inc/xeroot.hxx                        |    1 -
 sc/source/filter/inc/xestring.hxx                      |    3 ---
 sc/source/filter/inc/xichart.hxx                       |    1 -
 sc/source/filter/inc/xiescher.hxx                      |    1 +
 sc/source/filter/inc/xihelper.hxx                      |    2 ++
 sc/source/filter/inc/xistyle.hxx                       |    1 -
 sc/source/filter/inc/xladdress.hxx                     |    1 -
 sc/source/filter/inc/xlescher.hxx                      |    4 ----
 sc/source/filter/inc/xlpage.hxx                        |    1 -
 sc/source/filter/inc/xlroot.hxx                        |    4 ----
 sc/source/filter/inc/xltools.hxx                       |    3 ---
 sc/source/filter/xml/XMLChangeTrackingExportHelper.hxx |    1 -
 sc/source/filter/xml/XMLChangeTrackingImportHelper.hxx |    2 --
 sc/source/filter/xml/XMLConverter.hxx                  |    1 -
 sc/source/filter/xml/XMLExportDDELinks.hxx             |    1 -
 sc/source/filter/xml/XMLTableShapeResizer.hxx          |    1 -
 sc/source/filter/xml/XMLTrackedChangesContext.hxx      |    1 -
 sc/source/filter/xml/xmlexprt.hxx                      |    2 --
 sc/source/filter/xml/xmlimprt.hxx                      |    6 ------
 sc/source/filter/xml/xmlnexpi.hxx                      |    1 -
 sc/source/filter/xml/xmlstyle.hxx                      |    1 -
 sc/source/filter/xml/xmlstyli.hxx                      |    2 --
 sc/source/ui/attrdlg/scdlgfact.hxx                     |    2 --
 sc/source/ui/inc/AccessibleCellBase.hxx                |    2 --
 sc/source/ui/inc/AccessibleDocument.hxx                |    4 ----
 sc/source/ui/inc/AccessibleTableBase.hxx               |    2 --
 sc/source/ui/inc/anyrefdg.hxx                          |    1 -
 sc/source/ui/inc/areasdlg.hxx                          |    2 --
 sc/source/ui/inc/autofmt.hxx                           |    1 -
 sc/source/ui/inc/cellsh.hxx                            |    1 -
 sc/source/ui/inc/client.hxx                            |    1 -
 sc/source/ui/inc/colorformat.hxx                       |    1 -
 sc/source/ui/inc/content.hxx                           |    1 -
 sc/source/ui/inc/docsh.hxx                             |    2 --
 sc/source/ui/inc/dpcontrol.hxx                         |    1 -
 sc/source/ui/inc/filtdlg.hxx                           |    1 -
 sc/source/ui/inc/formula.hxx                           |    1 -
 sc/source/ui/inc/funcpage.hxx                          |    4 ----
 sc/source/ui/inc/gridwin.hxx                           |    2 --
 sc/source/ui/inc/impex.hxx                             |    1 -
 sc/source/ui/inc/inputhdl.hxx                          |    2 --
 sc/source/ui/inc/inputwin.hxx                          |    1 -
 sc/source/ui/inc/invmerge.hxx                          |    2 --
 sc/source/ui/inc/navipi.hxx                            |    1 -
 sc/source/ui/inc/olinewin.hxx                          |    1 -
 sc/source/ui/inc/output.hxx                            |    3 ---
 sc/source/ui/inc/overlayobject.hxx                     |    1 -
 sc/source/ui/inc/pagedata.hxx                          |    2 --
 sc/source/ui/inc/prevloc.hxx                           |    2 --
 sc/source/ui/inc/printfun.hxx                          |    1 -
 sc/source/ui/inc/pvlaydlg.hxx                          |    1 -
 sc/source/ui/inc/refundo.hxx                           |    1 -
 sc/source/ui/inc/scuitphfedit.hxx                      |    5 -----
 sc/source/ui/inc/tabview.hxx                           |    1 -
 sc/source/ui/inc/tabvwsh.hxx                           |    1 -
 sc/source/ui/inc/tpcompatibility.hxx                   |    2 --
 sc/source/ui/inc/tpsort.hxx                            |    1 -
 sc/source/ui/inc/undoblk.hxx                           |    3 ---
 sc/source/ui/inc/viewfunc.hxx                          |    2 --
 sc/source/ui/unoobj/scdetect.hxx                       |   13 -------------
 sc/source/ui/vba/vbafont.hxx                           |    1 -
 sc/source/ui/vba/vbarange.hxx                          |    2 --
 sc/source/ui/vba/vbaworkbook.hxx                       |    2 --
 sc/source/ui/vba/vbaworkbooks.hxx                      |    2 --
 sc/source/ui/vba/vbaworksheets.hxx                     |    2 --
 87 files changed, 5 insertions(+), 178 deletions(-)

New commits:
commit 4286f4444cc20865c8e733d797c029ef33b2f446
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date:   Sun Jun 24 00:11:54 2012 +0900

    rearranged forward declarations of class
    
    so that they locate where their classes appear if needed,
    otherwise removed
    
    Change-Id: I457542ec4c31f9a4b56a562f588b7c190c18776c

diff --git a/sc/source/core/inc/doubleref.hxx b/sc/source/core/inc/doubleref.hxx
index 65af0f3..33e48c3 100644
--- a/sc/source/core/inc/doubleref.hxx
+++ b/sc/source/core/inc/doubleref.hxx
@@ -24,7 +24,6 @@
 #include "scmatrix.hxx"
 
 class ScDocument;
-class ScBaseCell;
 struct ScDBQueryParamBase;
 struct ScQueryParamBase;
 
diff --git a/sc/source/filter/inc/colrowst.hxx b/sc/source/filter/inc/colrowst.hxx
index 525db19..55379c8 100644
--- a/sc/source/filter/inc/colrowst.hxx
+++ b/sc/source/filter/inc/colrowst.hxx
@@ -34,9 +34,6 @@
 
 #define XLS_USE_NEW_ROW_CONT 1
 
-
-class XclImpStream;
-
 // ============================================================================
 
 class XclImpColRowSettings : protected XclImpRoot
diff --git a/sc/source/filter/inc/excdoc.hxx b/sc/source/filter/inc/excdoc.hxx
index 500ab12..4c74f1f 100644
--- a/sc/source/filter/inc/excdoc.hxx
+++ b/sc/source/filter/inc/excdoc.hxx
@@ -39,10 +39,6 @@
 //------------------------------------------------------------------ Forwards -
 
 class SvStream;
-class ScBaseCell;
-class ScHorizontalCellIterator;
-class ScDocument;
-class ScProgress;
 
 class NameBuffer;
 
diff --git a/sc/source/filter/inc/excform.hxx b/sc/source/filter/inc/excform.hxx
index ebc3696..ca38b36 100644
--- a/sc/source/filter/inc/excform.hxx
+++ b/sc/source/filter/inc/excform.hxx
@@ -35,6 +35,7 @@
 
 #include <vector>
 
+class ScFormulaCell;
 class ScRangeList;
 
 
diff --git a/sc/source/filter/inc/excimp8.hxx b/sc/source/filter/inc/excimp8.hxx
index 0e14fea..e160621 100644
--- a/sc/source/filter/inc/excimp8.hxx
+++ b/sc/source/filter/inc/excimp8.hxx
@@ -40,14 +40,7 @@
 #include "ftools.hxx"
 #include "queryparam.hxx"
 
-class SotStorage;
-
-class ScBaseCell;
-class ScRangeList;
 class ScDBData;
-
-class ScfSimpleProgressBar;
-
 class XclImpStream;
 
 
diff --git a/sc/source/filter/inc/excrecds.hxx b/sc/source/filter/inc/excrecds.hxx
index ebd5c77..bcacb32 100644
--- a/sc/source/filter/inc/excrecds.hxx
+++ b/sc/source/filter/inc/excrecds.hxx
@@ -50,21 +50,8 @@
 
 //------------------------------------------------------------------ Forwards -
 
-class SvStream;
-class Font;
-class ScPatternAttr;
-class ScTokenArray;
-class ScRangeData;
-class ScDBData;
-class ScEditCell;
-class SfxItemSet;
-class EditTextObject;
-class ScPageHFItem;
-class ScProgress;
 struct ScQueryEntry;
 
-class ExcTable;
-
 //----------------------------------------------------------- class ExcRecord -
 
 class ExcRecord : public XclExpRecord
diff --git a/sc/source/filter/inc/excscen.hxx b/sc/source/filter/inc/excscen.hxx
index 5b7e3f0..e21c231 100644
--- a/sc/source/filter/inc/excscen.hxx
+++ b/sc/source/filter/inc/excscen.hxx
@@ -37,7 +37,6 @@
 struct RootData;
 class XclImpRoot;
 class XclImpStream;
-class ScDocument;
 
 class ExcScenarioCell
 {
diff --git a/sc/source/filter/inc/exp_op.hxx b/sc/source/filter/inc/exp_op.hxx
index dd1e28c..5781224 100644
--- a/sc/source/filter/inc/exp_op.hxx
+++ b/sc/source/filter/inc/exp_op.hxx
@@ -38,7 +38,6 @@ class ScDocument;
 class ScPatternAttr;
 class ScFormulaCell;
 class ExcDocument;
-class SotStorage;
 
 
 class ExportTyp
diff --git a/sc/source/filter/inc/formel.hxx b/sc/source/filter/inc/formel.hxx
index 9208859..04fc46a 100644
--- a/sc/source/filter/inc/formel.hxx
+++ b/sc/source/filter/inc/formel.hxx
@@ -42,7 +42,6 @@
 
 class XclImpStream;
 class ScTokenArray;
-class ScFormulaCell;
 struct ScSingleRefData;
 struct ScComplexRefData;
 
diff --git a/sc/source/filter/inc/ftools.hxx b/sc/source/filter/inc/ftools.hxx
index 226f509..c1c0464 100644
--- a/sc/source/filter/inc/ftools.hxx
+++ b/sc/source/filter/inc/ftools.hxx
@@ -142,7 +142,6 @@ class SfxPoolItem;
 class SfxItemSet;
 class ScStyleSheet;
 class ScStyleSheetPool;
-class SotStorage;
 class SotStorageRef;
 class SotStorageStreamRef;
 class SvStream;
diff --git a/sc/source/filter/inc/imp_op.hxx b/sc/source/filter/inc/imp_op.hxx
index fc56de7..ebbeeb7 100644
--- a/sc/source/filter/inc/imp_op.hxx
+++ b/sc/source/filter/inc/imp_op.hxx
@@ -43,14 +43,10 @@
 #include <boost/ptr_container/ptr_vector.hpp>
 
 
-class SfxItemSet;
 class SvStream;
 
 class ScFormulaCell;
-class SdrObject;
 class ScDocument;
-class ScToken;
-class _ScRangeListTabs;
 
 class ExcelToSc;
 
diff --git a/sc/source/filter/inc/lotattr.hxx b/sc/source/filter/inc/lotattr.hxx
index e3acb2c..9deca5b 100644
--- a/sc/source/filter/inc/lotattr.hxx
+++ b/sc/source/filter/inc/lotattr.hxx
@@ -36,7 +36,6 @@
 #include "address.hxx"
 #include "scitems.hxx"
 
-class ScDocument;
 class ScDocumentPool;
 class ScPatternAttr;
 class SvxColorItem;
diff --git a/sc/source/filter/inc/namebuff.hxx b/sc/source/filter/inc/namebuff.hxx
index bc5416b..6f5c17d 100644
--- a/sc/source/filter/inc/namebuff.hxx
+++ b/sc/source/filter/inc/namebuff.hxx
@@ -38,7 +38,6 @@
 #include <boost/unordered_map.hpp>
 #include <list>
 
-class ScDocument;
 class ScTokenArray;
 class NameBuffer;
 
diff --git a/sc/source/filter/inc/root.hxx b/sc/source/filter/inc/root.hxx
index 5a98534..18c38c3 100644
--- a/sc/source/filter/inc/root.hxx
+++ b/sc/source/filter/inc/root.hxx
@@ -29,7 +29,6 @@
 
 class ScRangeName;
 
-class NameBuffer;
 class RangeNameBufferWK3;
 class ShrfmlaBuffer;
 class ExtNameBuff;
@@ -38,7 +37,6 @@ class ExcelToSc;
 
 class XclImpColRowSettings;
 class XclImpAutoFilterBuffer;
-class XclImpPivotCacheList;
 class _ScRangeListTabs;
 
 class XclExpChTrTabId;
diff --git a/sc/source/filter/inc/rtfparse.hxx b/sc/source/filter/inc/rtfparse.hxx
index 4d62d4d..3b43648 100644
--- a/sc/source/filter/inc/rtfparse.hxx
+++ b/sc/source/filter/inc/rtfparse.hxx
@@ -51,7 +51,6 @@ SV_DECL_VARARR_SORT( ScRTFColTwips, sal_uLong, 16 )
 #else       // SC_RTFPARSE_CXX
 
 struct ScRTFCellDefault;
-class ScRTFDefaultList;
 class ScRTFColTwips;
 
 #endif      // SC_RTFPARSE_CXX
diff --git a/sc/source/filter/inc/tokstack.hxx b/sc/source/filter/inc/tokstack.hxx
index 550f9e3..5c0392f 100644
--- a/sc/source/filter/inc/tokstack.hxx
+++ b/sc/source/filter/inc/tokstack.hxx
@@ -62,7 +62,6 @@ struct TokenId
 //------------------------------------------------------------------------
 struct ScComplexRefData;
 class TokenStack;
-class ScToken;
 
 
 enum E_TYPE
diff --git a/sc/source/filter/inc/workbookhelper.hxx b/sc/source/filter/inc/workbookhelper.hxx
index cbabb1d..9c6bcc8 100644
--- a/sc/source/filter/inc/workbookhelper.hxx
+++ b/sc/source/filter/inc/workbookhelper.hxx
@@ -55,7 +55,6 @@ namespace oox {
     class AttributeList;
     class SegmentProgressBar;
     class ISegmentProgressBar;
-    class SequenceInputStream;
 }
 
 namespace oox { namespace core {
@@ -64,10 +63,6 @@ namespace oox { namespace core {
     class XmlFilterBase;
 } }
 
-namespace oox { namespace drawingml {
-    class Theme;
-} }
-
 class ScDocument;
 
 namespace oox {
diff --git a/sc/source/filter/inc/worksheethelper.hxx b/sc/source/filter/inc/worksheethelper.hxx
index a6be51f..0242263 100644
--- a/sc/source/filter/inc/worksheethelper.hxx
+++ b/sc/source/filter/inc/worksheethelper.hxx
@@ -55,8 +55,6 @@ namespace xls {
 class AutoFilterBuffer;
 struct BinAddress;
 struct BinRange;
-class BiffSheetDrawing;
-class BinRangeList;
 class CommentsBuffer;
 class CondFormatBuffer;
 class Font;
diff --git a/sc/source/filter/inc/xecontent.hxx b/sc/source/filter/inc/xecontent.hxx
index 390d49c..cf246e7 100644
--- a/sc/source/filter/inc/xecontent.hxx
+++ b/sc/source/filter/inc/xecontent.hxx
@@ -103,7 +103,6 @@ private:
 // Hyperlinks =================================================================
 
 class SvxURLField;
-class INetURLObject;
 
 /** Provides export of hyperlink data. */
 class XclExpHyperlink : public XclExpRecord
@@ -288,8 +287,6 @@ private:
 
 // Data Validation ============================================================
 
-class ScValidationData;
-
 /** Provides export of the data of a DV record.
     @descr  This record contains the settings for a data validation. In detail
     this is a pointer to the core validation data and a cell range list with all
diff --git a/sc/source/filter/inc/xehelper.hxx b/sc/source/filter/inc/xehelper.hxx
index 2d57d9e..148f693 100644
--- a/sc/source/filter/inc/xehelper.hxx
+++ b/sc/source/filter/inc/xehelper.hxx
@@ -215,6 +215,7 @@ private:
 // ----------------------------------------------------------------------------
 
 class EditEngine;
+class EditTextObject;
 class SdrTextObj;
 class ScStringCell;
 class ScEditCell;
@@ -424,7 +425,6 @@ private:
 };
 
 // ----------------------------------------------------------------------------
-class ScDocument;
 class ScMatrix;
 
 /** Contains cached values in a 2-dimensional array. */
diff --git a/sc/source/filter/inc/xelink.hxx b/sc/source/filter/inc/xelink.hxx
index 6d056fd..84149f8 100644
--- a/sc/source/filter/inc/xelink.hxx
+++ b/sc/source/filter/inc/xelink.hxx
@@ -37,7 +37,6 @@
 #include "externalrefmgr.hxx"
 #include <boost/shared_ptr.hpp>
 
-class ScRange;
 struct ScSingleRefData;
 struct ScComplexRefData;
 
diff --git a/sc/source/filter/inc/xepivot.hxx b/sc/source/filter/inc/xepivot.hxx
index a3472bc..37c5603 100644
--- a/sc/source/filter/inc/xepivot.hxx
+++ b/sc/source/filter/inc/xepivot.hxx
@@ -38,7 +38,6 @@ class ScDPObject;
 class ScDPSaveData;
 class ScDPSaveDimension;
 class ScDPSaveMember;
-class ScDPDimensionSaveData;
 class ScDPSaveGroupDimension;
 class ScDPSaveNumGroupDimension;
 struct ScDPNumGroupInfo;
diff --git a/sc/source/filter/inc/xeroot.hxx b/sc/source/filter/inc/xeroot.hxx
index fb70692..42a0caf 100644
--- a/sc/source/filter/inc/xeroot.hxx
+++ b/sc/source/filter/inc/xeroot.hxx
@@ -36,7 +36,6 @@
 
 // Forward declarations of objects in public use ==============================
 
-class XclExpStream;
 class XclExpRecordBase;
 class XclExpString;
 
diff --git a/sc/source/filter/inc/xestring.hxx b/sc/source/filter/inc/xestring.hxx
index 42ab5db..f635e26 100644
--- a/sc/source/filter/inc/xestring.hxx
+++ b/sc/source/filter/inc/xestring.hxx
@@ -33,9 +33,6 @@
 
 // ============================================================================
 
-class ScEditCell;
-class ScPatternAttr;
-class EditTextObject;
 class XclExpStream;
 class XclExpXmlStream;
 
diff --git a/sc/source/filter/inc/xichart.hxx b/sc/source/filter/inc/xichart.hxx
index 595eb17..224e105 100644
--- a/sc/source/filter/inc/xichart.hxx
+++ b/sc/source/filter/inc/xichart.hxx
@@ -85,7 +85,6 @@ struct XclObjFillData;
 
 // Common =====================================================================
 
-class ScfProgressBar;
 struct XclImpChRootData;
 class XclImpChChart;
 class ScTokenArray;
diff --git a/sc/source/filter/inc/xiescher.hxx b/sc/source/filter/inc/xiescher.hxx
index 2843b4a..aa0bffa 100644
--- a/sc/source/filter/inc/xiescher.hxx
+++ b/sc/source/filter/inc/xiescher.hxx
@@ -46,6 +46,7 @@ namespace com { namespace sun { namespace star {
 class SdrObjList;
 class ScfProgressBar;
 class ScfPropertySet;
+class ScRangeList;
 class XclImpChart;
 class XclImpDffConverter;
 class XclImpDrawing;
diff --git a/sc/source/filter/inc/xihelper.hxx b/sc/source/filter/inc/xihelper.hxx
index 3726dee..29ee1ad 100644
--- a/sc/source/filter/inc/xihelper.hxx
+++ b/sc/source/filter/inc/xihelper.hxx
@@ -38,6 +38,8 @@
 #include "xiroot.hxx"
 #include "xistring.hxx"
 
+class ScRangeList;
+
 // Excel->Calc cell address/range conversion ==================================
 
 /** Provides functions to convert Excel cell addresses to Calc cell addresses. */
diff --git a/sc/source/filter/inc/xistyle.hxx b/sc/source/filter/inc/xistyle.hxx
index eb31e44..89f0f57 100644
--- a/sc/source/filter/inc/xistyle.hxx
+++ b/sc/source/filter/inc/xistyle.hxx
@@ -40,7 +40,6 @@
 #include "xlstyle.hxx"
 #include "xiroot.hxx"
 
-class ScDocumentPool;
 struct ScAttrEntry;
 
 /* ============================================================================
diff --git a/sc/source/filter/inc/xladdress.hxx b/sc/source/filter/inc/xladdress.hxx
index 9722b3d..e009c00 100644
--- a/sc/source/filter/inc/xladdress.hxx
+++ b/sc/source/filter/inc/xladdress.hxx
@@ -32,7 +32,6 @@
 #include <vector>
 #include "address.hxx"
 
-class ScRangeList;
 class XclImpStream;
 class XclExpStream;
 
diff --git a/sc/source/filter/inc/xlescher.hxx b/sc/source/filter/inc/xlescher.hxx
index 6213f12..fbd929e 100644
--- a/sc/source/filter/inc/xlescher.hxx
+++ b/sc/source/filter/inc/xlescher.hxx
@@ -41,12 +41,8 @@ namespace com { namespace sun { namespace star {
     namespace script { struct ScriptEventDescriptor; }
 } } }
 
-class SdrObject;
 class Rectangle;
-class ScDocument;
-class SvStream;
 class XclImpStream;
-class XclExpStream;
 
 // Constants and Enumerations =================================================
 
diff --git a/sc/source/filter/inc/xlpage.hxx b/sc/source/filter/inc/xlpage.hxx
index 4c7412a..75f7f27 100644
--- a/sc/source/filter/inc/xlpage.hxx
+++ b/sc/source/filter/inc/xlpage.hxx
@@ -98,7 +98,6 @@ const sal_uInt16 EXC_PAPERSIZE_USER         = 0xFFFF;
 // Page settings ==============================================================
 
 class SvxBrushItem;
-class SfxPrinter;
 
 /** Contains all page (print) settings for a single sheet. */
 struct XclPageData : private boost::noncopyable
diff --git a/sc/source/filter/inc/xlroot.hxx b/sc/source/filter/inc/xlroot.hxx
index 07d996d..06a0975 100644
--- a/sc/source/filter/inc/xlroot.hxx
+++ b/sc/source/filter/inc/xlroot.hxx
@@ -45,8 +45,6 @@ class DateTime;
 
 struct XclAddress;
 struct XclRange;
-class XclRangeList;
-class XclTokenArray;
 
 // Global data ================================================================
 
@@ -136,10 +134,8 @@ class ScModelObj;
 class OutputDevice;
 class SvNumberFormatter;
 class SdrPage;
-class ScDocumentPool;
 class ScStyleSheetPool;
 class ScRangeName;
-class ScDBCollection;
 struct XclFontData;
 
 /** Access to global data for a filter object (imported or exported document) from other classes. */
diff --git a/sc/source/filter/inc/xltools.hxx b/sc/source/filter/inc/xltools.hxx
index b739866..0d169a8 100644
--- a/sc/source/filter/inc/xltools.hxx
+++ b/sc/source/filter/inc/xltools.hxx
@@ -86,9 +86,6 @@ XclExpStream& operator<<( XclExpStream& rStrm, const XclGuid& rGuid );
 
 // Excel Tools ================================================================
 
-class SvStream;
-class ScDocument;
-
 /** This class contains static helper methods for the Excel import and export filters. */
 class XclTools : boost::noncopyable
 {
diff --git a/sc/source/filter/xml/XMLChangeTrackingExportHelper.hxx b/sc/source/filter/xml/XMLChangeTrackingExportHelper.hxx
index 8e59ee6..9b62995 100644
--- a/sc/source/filter/xml/XMLChangeTrackingExportHelper.hxx
+++ b/sc/source/filter/xml/XMLChangeTrackingExportHelper.hxx
@@ -44,7 +44,6 @@ class ScChangeActionDel;
 class ScBigRange;
 class ScEditEngineTextObj;
 class String;
-class DateTime;
 
 typedef std::list<ScChangeActionDel*> ScMyDeletionsList;
 typedef std::map<sal_uLong, ScChangeAction*> ScChangeActionMap;
diff --git a/sc/source/filter/xml/XMLChangeTrackingImportHelper.hxx b/sc/source/filter/xml/XMLChangeTrackingImportHelper.hxx
index 60b497c..42f292b 100644
--- a/sc/source/filter/xml/XMLChangeTrackingImportHelper.hxx
+++ b/sc/source/filter/xml/XMLChangeTrackingImportHelper.hxx
@@ -179,8 +179,6 @@ struct ScMyRejAction : public ScMyBaseAction
 
 typedef std::list<ScMyBaseAction*> ScMyActions;
 
-class ScChangeViewSettings;
-
 class ScXMLChangeTrackingImportHelper
 {
     std::set<rtl::OUString> aUsers;
diff --git a/sc/source/filter/xml/XMLConverter.hxx b/sc/source/filter/xml/XMLConverter.hxx
index 2a07969..93b1305 100644
--- a/sc/source/filter/xml/XMLConverter.hxx
+++ b/sc/source/filter/xml/XMLConverter.hxx
@@ -42,7 +42,6 @@
 
 class ScDocument;
 class DateTime;
-class SvXMLUnitConverter;
 
 
 //___________________________________________________________________
diff --git a/sc/source/filter/xml/XMLExportDDELinks.hxx b/sc/source/filter/xml/XMLExportDDELinks.hxx
index e92fa20..bf94bb4 100644
--- a/sc/source/filter/xml/XMLExportDDELinks.hxx
+++ b/sc/source/filter/xml/XMLExportDDELinks.hxx
@@ -31,7 +31,6 @@
 
 #include <com/sun/star/sheet/XSpreadsheetDocument.hpp>
 
-class String;
 class ScXMLExport;
 struct ScMatrixValue;
 
diff --git a/sc/source/filter/xml/XMLTableShapeResizer.hxx b/sc/source/filter/xml/XMLTableShapeResizer.hxx
index fde729e..20cbfeb 100644
--- a/sc/source/filter/xml/XMLTableShapeResizer.hxx
+++ b/sc/source/filter/xml/XMLTableShapeResizer.hxx
@@ -37,7 +37,6 @@
 class ScXMLImport;
 class ScChartListenerCollection;
 class ScDocument;
-class Rectangle;
 
 struct ScMyToFixupOLE
 {
diff --git a/sc/source/filter/xml/XMLTrackedChangesContext.hxx b/sc/source/filter/xml/XMLTrackedChangesContext.hxx
index 2426b88..41cff44 100644
--- a/sc/source/filter/xml/XMLTrackedChangesContext.hxx
+++ b/sc/source/filter/xml/XMLTrackedChangesContext.hxx
@@ -27,7 +27,6 @@
 
 class ScXMLImport;
 class ScXMLChangeTrackingImportHelper;
-class ScEditEngineTextObj;
 
 class ScXMLTrackedChangesContext : public SvXMLImportContext
 {
diff --git a/sc/source/filter/xml/xmlexprt.hxx b/sc/source/filter/xml/xmlexprt.hxx
index af6c811..dd7f8da 100644
--- a/sc/source/filter/xml/xmlexprt.hxx
+++ b/sc/source/filter/xml/xmlexprt.hxx
@@ -46,7 +46,6 @@ namespace com { namespace sun { namespace star {
 
 class ScOutlineArray;
 class SvXMLExportPropertyMapper;
-class ScMyShapesContainer;
 class ScMyMergedRangesContainer;
 class ScMyValidationsContainer;
 class ScMyNotEmptyCellsIterator;
@@ -66,7 +65,6 @@ class XMLNumberFormatAttributesExportHelper;
 class ScChartListener;
 class SfxItemPool;
 class ScAddress;
-class ScBaseCell;
 class ScXMLCachedRowAttrAccess;
 class ScRangeName;
 
diff --git a/sc/source/filter/xml/xmlimprt.hxx b/sc/source/filter/xml/xmlimprt.hxx
index 541987b..891b9ba 100644
--- a/sc/source/filter/xml/xmlimprt.hxx
+++ b/sc/source/filter/xml/xmlimprt.hxx
@@ -56,7 +56,6 @@
 #include <boost/ptr_container/ptr_list.hpp>
 #include <boost/ptr_container/ptr_map.hpp>
 
-class ScRangeList;
 class ScMyStyleNumberFormats;
 class XMLNumberFormatAttributesExportHelper;
 
@@ -673,12 +672,7 @@ enum ScXMLConsolidationAttrTokens
 };
 
 
-class SvI18NMap;
 class SvXMLTokenMap;
-//class SvXMLImportItemMapper;
-class SvXMLStyleContext;
-class SfxItemSet;
-class SvXMLNumFmtHelper;
 class XMLShapeImportHelper;
 class ScXMLChangeTrackingImportHelper;
 class SolarMutexGuard;
diff --git a/sc/source/filter/xml/xmlnexpi.hxx b/sc/source/filter/xml/xmlnexpi.hxx
index bdcbec0..f05d5dc 100644
--- a/sc/source/filter/xml/xmlnexpi.hxx
+++ b/sc/source/filter/xml/xmlnexpi.hxx
@@ -37,7 +37,6 @@
 class ScXMLImport;
 struct ScMyNamedExpression;
 class ScRangeName;
-class ScDocument;
 
 class ScXMLNamedExpressionsContext : public SvXMLImportContext
 {
diff --git a/sc/source/filter/xml/xmlstyle.hxx b/sc/source/filter/xml/xmlstyle.hxx
index 5aebca1..cb6e4fe 100644
--- a/sc/source/filter/xml/xmlstyle.hxx
+++ b/sc/source/filter/xml/xmlstyle.hxx
@@ -108,7 +108,6 @@ extern const XMLPropertyMapEntry aXMLScTableStylesImportProperties[];
 #define XML_SC_TYPE_BREAKBEFORE                     (XML_SC_TYPES_START + 50)
 
 class ScXMLExport;
-class ScXMLImport;
 
 class ScXMLCellExportPropertyMapper : public SvXMLExportPropertyMapper
 {
diff --git a/sc/source/filter/xml/xmlstyli.hxx b/sc/source/filter/xml/xmlstyli.hxx
index 6f44d6a..156ff0e 100644
--- a/sc/source/filter/xml/xmlstyli.hxx
+++ b/sc/source/filter/xml/xmlstyli.hxx
@@ -42,8 +42,6 @@
 #include <com/sun/star/sheet/ConditionOperator.hpp>
 #include "xmlimprt.hxx"
 
-class ScSheetSaveData;
-
 class ScXMLCellImportPropertyMapper : public SvXMLImportPropertyMapper
 {
 protected:
diff --git a/sc/source/ui/attrdlg/scdlgfact.hxx b/sc/source/ui/attrdlg/scdlgfact.hxx
index 5fb36e1..4728f1c 100644
--- a/sc/source/ui/attrdlg/scdlgfact.hxx
+++ b/sc/source/ui/attrdlg/scdlgfact.hxx
@@ -51,7 +51,6 @@ class ScMetricInputDlg;
 class ScMoveTableDlg;
 class ScNameCreateDlg;
 class ScNamePasteDlg;
-class ScNameDefDlg;
 class ScPivotFilterDlg;
 class ScDPFunctionDlg;
 class ScDPSubtotalDlg;
@@ -64,7 +63,6 @@ class ScStringInputDlg;
 class ScTabBgColorDlg;
 class ScImportOptionsDlg;
 class SfxTabDialog;
-class ScSortWarningDlg;
 class ScTextImportOptionsDlg;
 class ScDataBarSettingsDlg;
 class ScCondFormatDlg;
diff --git a/sc/source/ui/inc/AccessibleCellBase.hxx b/sc/source/ui/inc/AccessibleCellBase.hxx
index 6ca4aaf..c55a4fa 100644
--- a/sc/source/ui/inc/AccessibleCellBase.hxx
+++ b/sc/source/ui/inc/AccessibleCellBase.hxx
@@ -27,8 +27,6 @@
 #include <com/sun/star/accessibility/XAccessibleValue.hpp>
 #include <cppuhelper/implbase1.hxx>
 
-class ScTabViewShell;
-
 typedef cppu::ImplHelper1< ::com::sun::star::accessibility::XAccessibleValue>
                     ScAccessibleCellBaseImpl;
 
diff --git a/sc/source/ui/inc/AccessibleDocument.hxx b/sc/source/ui/inc/AccessibleDocument.hxx
index 247928d..da9833e 100644
--- a/sc/source/ui/inc/AccessibleDocument.hxx
+++ b/sc/source/ui/inc/AccessibleDocument.hxx
@@ -33,10 +33,6 @@ class ScAccessibleSpreadsheet;
 class ScChildrenShapes;
 class ScAccessibleEditObject;
 
-namespace accessibility
-{
-    class AccessibleShape;
-}
 namespace utl
 {
     class AccessibleRelationSetHelper;
diff --git a/sc/source/ui/inc/AccessibleTableBase.hxx b/sc/source/ui/inc/AccessibleTableBase.hxx
index 3f27831..87e88c3 100644
--- a/sc/source/ui/inc/AccessibleTableBase.hxx
+++ b/sc/source/ui/inc/AccessibleTableBase.hxx
@@ -28,8 +28,6 @@
 #include <com/sun/star/accessibility/XAccessibleSelection.hpp>
 #include <cppuhelper/implbase2.hxx>
 
-class ScTabViewShell;
-
 /** @descr
         This base class provides an implementation of the
         <code>AccessibleTable</code> service.
diff --git a/sc/source/ui/inc/anyrefdg.hxx b/sc/source/ui/inc/anyrefdg.hxx
index 270735b..cfdc78b 100644
--- a/sc/source/ui/inc/anyrefdg.hxx
+++ b/sc/source/ui/inc/anyrefdg.hxx
@@ -50,7 +50,6 @@ class ScDocument;
 class ScTabViewShell;
 class ScRefHandler;
 class ScRangeList;
-class SfxShell;
 
 class ScFormulaReferenceHelper
 {
diff --git a/sc/source/ui/inc/areasdlg.hxx b/sc/source/ui/inc/areasdlg.hxx
index a085e9f..2a16bf0 100644
--- a/sc/source/ui/inc/areasdlg.hxx
+++ b/sc/source/ui/inc/areasdlg.hxx
@@ -37,8 +37,6 @@
 
 class ScDocument;
 class ScViewData;
-class ScRangeUtil;
-class ScRangeItem;
 
 
 //============================================================================
diff --git a/sc/source/ui/inc/autofmt.hxx b/sc/source/ui/inc/autofmt.hxx
index 8c020bc..b7272e7 100644
--- a/sc/source/ui/inc/autofmt.hxx
+++ b/sc/source/ui/inc/autofmt.hxx
@@ -41,7 +41,6 @@
 
 //------------------------------------------------------------------------
 
-class ScAutoFormat;
 class ScAutoFormatData;
 class SvxBoxItem;
 class SvxLineItem;
diff --git a/sc/source/ui/inc/cellsh.hxx b/sc/source/ui/inc/cellsh.hxx
index 41739e3..88043ce 100644
--- a/sc/source/ui/inc/cellsh.hxx
+++ b/sc/source/ui/inc/cellsh.hxx
@@ -42,7 +42,6 @@ class SvxClipboardFmtItem;
 class TransferableDataHelper;
 class TransferableClipboardListener;
 class AbstractScLinkedAreaDlg;
-class ScTabViewShell;
 
 struct CellShell_Impl
 {
diff --git a/sc/source/ui/inc/client.hxx b/sc/source/ui/inc/client.hxx
index cd1a776..8453f87 100644
--- a/sc/source/ui/inc/client.hxx
+++ b/sc/source/ui/inc/client.hxx
@@ -22,7 +22,6 @@
 
 #include <sfx2/ipclient.hxx>
 
-class ScDocument;
 class ScTabViewShell;
 class SdrOle2Obj;
 class SdrGrafObj;
diff --git a/sc/source/ui/inc/colorformat.hxx b/sc/source/ui/inc/colorformat.hxx
index 0811c4c..5f552d8 100644
--- a/sc/source/ui/inc/colorformat.hxx
+++ b/sc/source/ui/inc/colorformat.hxx
@@ -33,7 +33,6 @@
 #include <svl/zforlist.hxx>
 #include "anyrefdg.hxx"
 
-class ScDataBarFormat;
 struct ScDataBarFormatData;
 
 class ScDataBarSettingsDlg : public ModalDialog
diff --git a/sc/source/ui/inc/content.hxx b/sc/source/ui/inc/content.hxx
index 90d7db2..fd44c0d 100644
--- a/sc/source/ui/inc/content.hxx
+++ b/sc/source/ui/inc/content.hxx
@@ -35,7 +35,6 @@
 #include <tools/solar.h>
 
 class ScNavigatorDlg;
-class ScNavigatorSettings;
 class ScDocument;
 class ScDocShell;
 class ScAreaLink;
diff --git a/sc/source/ui/inc/docsh.hxx b/sc/source/ui/inc/docsh.hxx
index 157daf4..eeb0124 100644
--- a/sc/source/ui/inc/docsh.hxx
+++ b/sc/source/ui/inc/docsh.hxx
@@ -51,13 +51,11 @@
 #include <sot/sotref.hxx>
 
 class ScEditEngineDefaulter;
-class FontList;
 class SfxStyleSheetBasePool;
 class SfxStyleSheetHint;
 struct ChartSelectionInfo;
 class INetURLObject;
 
-class ScPaintItem;
 class ScViewData;
 class ScDocFunc;
 class ScDrawLayer;
diff --git a/sc/source/ui/inc/dpcontrol.hxx b/sc/source/ui/inc/dpcontrol.hxx
index 42d0cf6..f39ea94 100644
--- a/sc/source/ui/inc/dpcontrol.hxx
+++ b/sc/source/ui/inc/dpcontrol.hxx
@@ -40,7 +40,6 @@ class OutputDevice;
 class Point;
 class Size;
 class StyleSettings;
-class Window;
 class ScDocument;
 
 /**
diff --git a/sc/source/ui/inc/filtdlg.hxx b/sc/source/ui/inc/filtdlg.hxx
index 751fa25..8b40663 100644
--- a/sc/source/ui/inc/filtdlg.hxx
+++ b/sc/source/ui/inc/filtdlg.hxx
@@ -49,7 +49,6 @@
 //----------------------------------------------------------------------------
 
 class ScFilterOptionsMgr;
-class ScRangeData;
 class ScViewData;
 class ScDocument;
 class ScQueryItem;
diff --git a/sc/source/ui/inc/formula.hxx b/sc/source/ui/inc/formula.hxx
index 8404e6e..8fcc104 100644
--- a/sc/source/ui/inc/formula.hxx
+++ b/sc/source/ui/inc/formula.hxx
@@ -49,7 +49,6 @@ class ScDocument;
 class ScFuncDesc;
 class ScInputHandler;
 class ScDocShell;
-class SvLBoxEntry;
 
 //============================================================================
 typedef ScTabViewShell* PtrTabViewShell;
diff --git a/sc/source/ui/inc/funcpage.hxx b/sc/source/ui/inc/funcpage.hxx
index 0a0df38..bcfa2dc 100644
--- a/sc/source/ui/inc/funcpage.hxx
+++ b/sc/source/ui/inc/funcpage.hxx
@@ -34,10 +34,6 @@
 #include "compiler.hxx"
 #include "cell.hxx"
 
-
-class ScViewData;
-class ScFuncName_Impl;
-class ScDocument;
 class ScFuncDesc;
 
 //============================================================================
diff --git a/sc/source/ui/inc/gridwin.hxx b/sc/source/ui/inc/gridwin.hxx
index 8a64de9..bb1d2ad 100644
--- a/sc/source/ui/inc/gridwin.hxx
+++ b/sc/source/ui/inc/gridwin.hxx
@@ -43,13 +43,11 @@
 #include <boost/scoped_ptr.hpp>
 
 struct ScTableInfo;
-class ScViewSelectionEngine;
 class ScDPObject;
 class ScCheckListMenuWindow;
 class ScDPFieldButton;
 class ScOutputData;
 class ScFilterListBox;
-class AutoFilterPopup;
 class SdrObject;
 class SdrEditView;
 class ScNoteMarker;
diff --git a/sc/source/ui/inc/impex.hxx b/sc/source/ui/inc/impex.hxx
index ed2644d..df7e6e9 100644
--- a/sc/source/ui/inc/impex.hxx
+++ b/sc/source/ui/inc/impex.hxx
@@ -37,7 +37,6 @@
 class ScDocShell;
 class ScDocument;
 class SvStream;
-class SfxMedium;
 class ScAsciiOptions;
 
 /**
diff --git a/sc/source/ui/inc/inputhdl.hxx b/sc/source/ui/inc/inputhdl.hxx
index 0a72f63..cf8cc77 100644
--- a/sc/source/ui/inc/inputhdl.hxx
+++ b/sc/source/ui/inc/inputhdl.hxx
@@ -42,11 +42,9 @@
 #include <boost/noncopyable.hpp>
 
 class ScDocument;
-class ScTabView;
 class ScTabViewShell;
 class ScInputWindow;
 class ScPatternAttr;
-class EditEngine;
 class ScEditEngineDefaulter;
 class EditView;
 class EditTextObject;
diff --git a/sc/source/ui/inc/inputwin.hxx b/sc/source/ui/inc/inputwin.hxx
index c5462e2..2d3edc4 100644
--- a/sc/source/ui/inc/inputwin.hxx
+++ b/sc/source/ui/inc/inputwin.hxx
@@ -46,7 +46,6 @@ class ScInputHandler;
 class ScAccessibleEditLineTextData;
 struct EENotify;
 class ScRangeList;
-class ScDocument;
 class ScTabViewShell;
 
 //========================================================================
diff --git a/sc/source/ui/inc/invmerge.hxx b/sc/source/ui/inc/invmerge.hxx
index ccffe88..7699d1a 100644
--- a/sc/source/ui/inc/invmerge.hxx
+++ b/sc/source/ui/inc/invmerge.hxx
@@ -33,8 +33,6 @@
 
 #include <vector>
 
-class Window;
-
 class ScInvertMerger
 {
 private:
diff --git a/sc/source/ui/inc/navipi.hxx b/sc/source/ui/inc/navipi.hxx
index 783ed6b..922a5a5 100644
--- a/sc/source/ui/inc/navipi.hxx
+++ b/sc/source/ui/inc/navipi.hxx
@@ -49,7 +49,6 @@ class ScNavigatorControllerItem;
 class ScNavigatorDialogWrapper;
 class ScNavigatorDlg;
 class ScNavigatorSettings;
-class ScRange;
 
 //========================================================================
 
diff --git a/sc/source/ui/inc/olinewin.hxx b/sc/source/ui/inc/olinewin.hxx
index 1be5bc1..92ff757 100644
--- a/sc/source/ui/inc/olinewin.hxx
+++ b/sc/source/ui/inc/olinewin.hxx
@@ -24,7 +24,6 @@
 
 class ScOutlineEntry;
 class ScOutlineArray;
-class ScOutlineTable;
 
 
 // ============================================================================
diff --git a/sc/source/ui/inc/output.hxx b/sc/source/ui/inc/output.hxx
index 8a3dc2c..8bd0761 100644
--- a/sc/source/ui/inc/output.hxx
+++ b/sc/source/ui/inc/output.hxx
@@ -38,14 +38,11 @@
 class Rectangle;
 class Font;
 class OutputDevice;
-class Window;
 class EditEngine;
 class ScDocument;
 class ScBaseCell;
 class ScPatternAttr;
-class SvxMarginItem;
 class SdrObject;
-class SdrOle2Obj;
 struct RowInfo;
 struct ScTableInfo;
 class ScTabViewShell;
diff --git a/sc/source/ui/inc/overlayobject.hxx b/sc/source/ui/inc/overlayobject.hxx
index 91219ed..4c13bb4 100644
--- a/sc/source/ui/inc/overlayobject.hxx
+++ b/sc/source/ui/inc/overlayobject.hxx
@@ -31,7 +31,6 @@
 
 #include "svx/sdr/overlay/overlayobject.hxx"
 
-class OutputDevice;
 class Window;
 
 class ScOverlayDashedBorder : public ::sdr::overlay::OverlayObject
diff --git a/sc/source/ui/inc/pagedata.hxx b/sc/source/ui/inc/pagedata.hxx
index be2df72..91f5974 100644
--- a/sc/source/ui/inc/pagedata.hxx
+++ b/sc/source/ui/inc/pagedata.hxx
@@ -23,8 +23,6 @@
 #include "global.hxx"
 #include "address.hxx"
 
-class ScDocShell;
-
 //============================================================================
 
 class ScPrintRangeData
diff --git a/sc/source/ui/inc/prevloc.hxx b/sc/source/ui/inc/prevloc.hxx
index 3ecdd57..cd9c2ed 100644
--- a/sc/source/ui/inc/prevloc.hxx
+++ b/sc/source/ui/inc/prevloc.hxx
@@ -43,8 +43,6 @@
 #define SC_PREVIEW_RANGE_TAB    3
 
 class OutputDevice;
-class String;
-class Point;
 class Rectangle;
 class ScAddress;
 class ScRange;
diff --git a/sc/source/ui/inc/printfun.hxx b/sc/source/ui/inc/printfun.hxx
index 1b0a4b4..1c08b35 100644
--- a/sc/source/ui/inc/printfun.hxx
+++ b/sc/source/ui/inc/printfun.hxx
@@ -36,7 +36,6 @@
 #include <vcl/print.hxx>
 
 class SfxPrinter;
-class SfxProgress;
 class ScDocShell;
 class ScDocument;
 class ScViewData;
diff --git a/sc/source/ui/inc/pvlaydlg.hxx b/sc/source/ui/inc/pvlaydlg.hxx
index b4e3ae4..4b20f57 100644
--- a/sc/source/ui/inc/pvlaydlg.hxx
+++ b/sc/source/ui/inc/pvlaydlg.hxx
@@ -68,7 +68,6 @@
 
 class ScViewData;
 class ScDocument;
-class ScRangeData;
 struct ScDPFuncData;
 class ScDPObject;
 
diff --git a/sc/source/ui/inc/refundo.hxx b/sc/source/ui/inc/refundo.hxx
index eaa77e1..0085a26 100644
--- a/sc/source/ui/inc/refundo.hxx
+++ b/sc/source/ui/inc/refundo.hxx
@@ -36,7 +36,6 @@ class ScDBCollection;
 class ScRangeName;
 class ScPrintRangeSaver;
 class ScDPCollection;
-class ScChartCollection;
 class ScDetOpList;
 class ScChartListenerCollection;
 class ScAreaLinkSaveCollection;
diff --git a/sc/source/ui/inc/scuitphfedit.hxx b/sc/source/ui/inc/scuitphfedit.hxx
index f14d5fc..549b10d 100644
--- a/sc/source/ui/inc/scuitphfedit.hxx
+++ b/sc/source/ui/inc/scuitphfedit.hxx
@@ -49,12 +49,7 @@ enum ScHFEntryId
     eEntryCount
 };
 
-class ScHeaderEditEngine;
-class ScPatternAttr;
-class EditView;
 class EditTextObject;
-class SvxFieldItem;
-class ScAccessibleEditObject;
 
 
 class ScHFEditPage : public SfxTabPage
diff --git a/sc/source/ui/inc/tabview.hxx b/sc/source/ui/inc/tabview.hxx
index 8879b07..aadadc9 100644
--- a/sc/source/ui/inc/tabview.hxx
+++ b/sc/source/ui/inc/tabview.hxx
@@ -47,7 +47,6 @@ class ScColBar;
 class ScTabControl;
 class ScTabViewShell;
 struct ScRangeFindData;
-class SfxPrinter;
 class ScDrawView;
 class SvBorder;
 class FuPoor;
diff --git a/sc/source/ui/inc/tabvwsh.hxx b/sc/source/ui/inc/tabvwsh.hxx
index ecf3ebe..21ab63a 100644
--- a/sc/source/ui/inc/tabvwsh.hxx
+++ b/sc/source/ui/inc/tabvwsh.hxx
@@ -48,7 +48,6 @@ class SdrOle2Obj;
 class SfxBindings;
 class SfxChildWindow;
 class SfxModelessDialog;
-class SvxBoxObjectRef;
 class SvxNumberInfoItem;
 struct SfxChildWinInfo;
 
diff --git a/sc/source/ui/inc/tpcompatibility.hxx b/sc/source/ui/inc/tpcompatibility.hxx
index 8b1c733..67b906c 100644
--- a/sc/source/ui/inc/tpcompatibility.hxx
+++ b/sc/source/ui/inc/tpcompatibility.hxx
@@ -14,8 +14,6 @@
 #include <vcl/fixed.hxx>
 #include <vcl/lstbox.hxx>
 
-class ScAppOptions;
-
 class ScTpCompatOptions : public SfxTabPage
 {
 public:
diff --git a/sc/source/ui/inc/tpsort.hxx b/sc/source/ui/inc/tpsort.hxx
index 14fce4e..a89084b 100644
--- a/sc/source/ui/inc/tpsort.hxx
+++ b/sc/source/ui/inc/tpsort.hxx
@@ -113,7 +113,6 @@ private:
 // Sort Options
 
 class ScDocument;
-class ScRangeData;
 class CollatorRessource;
 class CollatorWrapper;
 
diff --git a/sc/source/ui/inc/undoblk.hxx b/sc/source/ui/inc/undoblk.hxx
index 6d5d20e..43717e1 100644
--- a/sc/source/ui/inc/undoblk.hxx
+++ b/sc/source/ui/inc/undoblk.hxx
@@ -39,12 +39,9 @@
 #include <boost/shared_ptr.hpp>
 
 class ScDocShell;
-class ScBaseCell;
 class ScDocument;
 class ScOutlineTable;
-class ScRangeName;
 class ScRangeList;
-class ScDBCollection;
 class ScPatternAttr;
 class SvxBoxItem;
 class SvxBoxInfoItem;
diff --git a/sc/source/ui/inc/viewfunc.hxx b/sc/source/ui/inc/viewfunc.hxx
index ff0cea5..f337715 100644
--- a/sc/source/ui/inc/viewfunc.hxx
+++ b/sc/source/ui/inc/viewfunc.hxx
@@ -49,8 +49,6 @@ class SfxPoolItem;
 class EditTextObject;
 struct ScSolveParam;
 struct ScTabOpParam;
-class ScPostIt;
-class ScConditionalFormat;
 class ScValidationData;
 class ScConversionParam;
 class SdrModel;
diff --git a/sc/source/ui/unoobj/scdetect.hxx b/sc/source/ui/unoobj/scdetect.hxx
index 2713d7a..c0de6c8 100644
--- a/sc/source/ui/unoobj/scdetect.hxx
+++ b/sc/source/ui/unoobj/scdetect.hxx
@@ -39,29 +39,16 @@
 #include <com/sun/star/lang/XSingleServiceFactory.hpp>
 #include <cppuhelper/factory.hxx>
 
-class SfxObjectFactory;
-class SfxFilterMatcher;
-class LoadEnvironment_Impl;
-class SfxMedium;
-
 namespace com
 {
     namespace sun
     {
         namespace star
         {
-            namespace uno
-            {
-                class Any;
-            }
             namespace lang
             {
                 class XMultiServiceFactory;
             }
-            namespace frame
-            {
-                class XFrame;
-            }
             namespace beans
             {
                 struct PropertyValue;
diff --git a/sc/source/ui/vba/vbafont.hxx b/sc/source/ui/vba/vbafont.hxx
index 8527919..00c6927 100644
--- a/sc/source/ui/vba/vbafont.hxx
+++ b/sc/source/ui/vba/vbafont.hxx
@@ -36,7 +36,6 @@
 #include <vbahelper/vbafontbase.hxx>
 #include "vbapalette.hxx"
 
-class ScTableSheetsObj;
 class ScCellRangeObj;
 
 typedef cppu::ImplInheritanceHelper1< VbaFontBase, ov::excel::XFont > ScVbaFont_BASE;
diff --git a/sc/source/ui/vba/vbarange.hxx b/sc/source/ui/vba/vbarange.hxx
index a76136f..b395445 100644
--- a/sc/source/ui/vba/vbarange.hxx
+++ b/sc/source/ui/vba/vbarange.hxx
@@ -57,10 +57,8 @@
 #include "vbaformat.hxx"
 #include <formula/grammar.hxx>
 
-class ScTableSheetsObj;
 class ScCellRangesBase;
 class ScCellRangeObj;
-class ScCellRangesObj;
 class ScDocShell;
 class ScDocument;
 class ScRangeList;
diff --git a/sc/source/ui/vba/vbaworkbook.hxx b/sc/source/ui/vba/vbaworkbook.hxx
index 985b3ed..90d3629 100644
--- a/sc/source/ui/vba/vbaworkbook.hxx
+++ b/sc/source/ui/vba/vbaworkbook.hxx
@@ -33,8 +33,6 @@
 #include <vbahelper/vbahelperinterface.hxx>
 #include <vbahelper/vbadocumentbase.hxx>
 
-class ScModelObj;
-
 typedef cppu::ImplInheritanceHelper1< VbaDocumentBase, ov::excel::XWorkbook > ScVbaWorkbook_BASE;
 
 class ScVbaWorkbook : public ScVbaWorkbook_BASE
diff --git a/sc/source/ui/vba/vbaworkbooks.hxx b/sc/source/ui/vba/vbaworkbooks.hxx
index 82886a9..d6f56b7 100644
--- a/sc/source/ui/vba/vbaworkbooks.hxx
+++ b/sc/source/ui/vba/vbaworkbooks.hxx
@@ -36,8 +36,6 @@
 #include "excelvbahelper.hxx"
 
 
-class ScModelObj;
-
 typedef cppu::ImplInheritanceHelper1< VbaDocumentsBase, ov::excel::XWorkbooks > ScVbaWorkbooks_BASE;
 
 class ScVbaWorkbooks : public ScVbaWorkbooks_BASE
diff --git a/sc/source/ui/vba/vbaworksheets.hxx b/sc/source/ui/vba/vbaworksheets.hxx
index b184d78..9b77bad 100644
--- a/sc/source/ui/vba/vbaworksheets.hxx
+++ b/sc/source/ui/vba/vbaworksheets.hxx
@@ -40,8 +40,6 @@
 
 #include "address.hxx"
 
-class ScModelObj;
-
 
 typedef CollTestImplHelper< ov::excel::XWorksheets > ScVbaWorksheets_BASE;
 


More information about the Libreoffice-commits mailing list