[Libreoffice-commits] .: 2 commits - cppcanvas/source reportdesign/inc reportdesign/source sc/inc sc/source starmath/inc starmath/source

Takeshi Abe tabe at kemper.freedesktop.org
Fri Jun 22 10:49:35 PDT 2012


 cppcanvas/source/inc/implrenderer.hxx           |    3 ---
 cppcanvas/source/mtfrenderer/mtftools.hxx       |    1 -
 reportdesign/inc/UndoActions.hxx                |    9 ---------
 reportdesign/source/filter/xml/xmlHelper.hxx    |    2 --
 reportdesign/source/ui/dlg/Condition.hxx        |    1 -
 reportdesign/source/ui/inc/DesignView.hxx       |    3 ---
 reportdesign/source/ui/inc/Formula.hxx          |    2 --
 reportdesign/source/ui/inc/ReportController.hxx |    2 --
 reportdesign/source/ui/inc/ReportWindow.hxx     |    5 -----
 reportdesign/source/ui/inc/RptUndo.hxx          |   11 -----------
 reportdesign/source/ui/inc/ScrollHelper.hxx     |    3 ---
 reportdesign/source/ui/inc/SectionWindow.hxx    |    2 --
 reportdesign/source/ui/inc/ViewsWindow.hxx      |    2 --
 reportdesign/source/ui/inc/dlgedfac.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 +
 starmath/inc/applicat.hxx                       |    2 --
 starmath/inc/config.hxx                         |    3 ---
 starmath/inc/parse.hxx                          |    1 -
 starmath/inc/smmod.hxx                          |    1 -
 starmath/inc/unomodel.hxx                       |    2 --
 starmath/inc/utility.hxx                        |    1 -
 starmath/source/accessibility.hxx               |    1 -
 starmath/source/mathmlexport.hxx                |    1 -
 starmath/source/mathmlimport.hxx                |    3 +--
 starmath/source/smdetect.hxx                    |   13 -------------
 60 files changed, 2 insertions(+), 155 deletions(-)

New commits:
commit cdea32dd8a03fe5375eaef785461170cdee10622
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date:   Sat Jun 23 00:42:24 2012 +0900

    removed unused forward declarations of class
    
    except moving ScPostIt into source/filter/inc/xeescher.hxx
    
    Change-Id: I85fbfe88e30edce5a48a65c494ced7b2129964ff

diff --git a/cppcanvas/source/inc/implrenderer.hxx b/cppcanvas/source/inc/implrenderer.hxx
index a91a818..9b737d8 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 bfe5bc5..1cfc46b 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 662b45d..e79357f 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 367dc5c..f190259 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 3343d8b..e57b125 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 c6d2aff..9b81440 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 9499084..1717d8d 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 3a5418d..39ec3b8 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 3b9b89d..eff3725 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 7fd5be7..e969ffb 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 98bdca0..e26906a 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 520c910..128d271 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 a4de4c8..72d5168 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 261a21d..4ec4463 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 fe5fd62..4bf9972 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 46642a9..67f4af2 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 64525fd..da0fc09 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 24de356..22f18a6 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 38a0d58..3a0fcb3 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 3a64f6d..b652bac 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 f879e74..dc98185 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 1f7b132..4b9c42c 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 62ab90f..6f225b3 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 80dace2..9b470b5 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 e4be804..c19ca73 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 60d9445..9faa380 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 97befcb..3eb8c74 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 c6b95f8..108785c 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 34fc22a..8446e78 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 d04b978..d0bef1c 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 921773a..375bb98 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 e446ea6..bd86e49 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 8e14c46..222f863 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 69bc665..bc0ebd9 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 efba4dd..611bfae 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 95ab430..966c458 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 cc55936..a0d3f47 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 7f2cc1f..b2f793b 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; }
commit dbd9db69bb2ca982d76c09f8cb9561b42c9138b8
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date:   Thu Jun 21 23:22:36 2012 +0900

    removed unused forward declarations of class
    
    Change-Id: Ibb3918b95c2518fd83f566bb726273dbf90cf8c8

diff --git a/reportdesign/inc/UndoActions.hxx b/reportdesign/inc/UndoActions.hxx
index fbdb238..61d055c 100644
--- a/reportdesign/inc/UndoActions.hxx
+++ b/reportdesign/inc/UndoActions.hxx
@@ -60,21 +60,12 @@
 #include <memory>
 #include <boost/shared_ptr.hpp>
 
-namespace com { namespace sun { namespace star {
-    namespace awt {
-        class XControl;
-        class XControlContainer;
-    }
-}}}
-
 namespace dbaui
 {
     class IController;
 }
 namespace rptui
 {
-    class OObjectBase;
-
     enum Action
     {
         Inserted = 1,
diff --git a/reportdesign/source/filter/xml/xmlHelper.hxx b/reportdesign/source/filter/xml/xmlHelper.hxx
index 99eae1b..f1c55a1 100644
--- a/reportdesign/source/filter/xml/xmlHelper.hxx
+++ b/reportdesign/source/filter/xml/xmlHelper.hxx
@@ -35,8 +35,6 @@
 #define XML_STYLE_FAMILY_REPORT_PREFIX          "rptelem"
 
 
-class SvXMLImport;
-class SvXMLExport;
 class SvXMLStylesContext;
 class SvXMLTokenMap;
 namespace rptxml
diff --git a/reportdesign/source/ui/dlg/Condition.hxx b/reportdesign/source/ui/dlg/Condition.hxx
index b05a1ec..8df9bd3 100644
--- a/reportdesign/source/ui/dlg/Condition.hxx
+++ b/reportdesign/source/ui/dlg/Condition.hxx
@@ -49,7 +49,6 @@ namespace svx { class ToolboxButtonColorUpdater; }
 
 namespace rptui
 {
-    class ConditionalFormattingDialog;
     class OColorPopup;
     class OReportController;
     class IConditionalFormatAction;
diff --git a/reportdesign/source/ui/inc/DesignView.hxx b/reportdesign/source/ui/inc/DesignView.hxx
index 6c2fad9..af11541 100644
--- a/reportdesign/source/ui/inc/DesignView.hxx
+++ b/reportdesign/source/ui/inc/DesignView.hxx
@@ -58,13 +58,10 @@ class Window;
 
 namespace rptui
 {
-    class OReportSection;
-    class OUnoObject;
     class OSectionView;
     class OReportController;
     class PropBrw;
     class OAddFieldWindow;
-    class OReportModel;
     class ONavigator;
     //==================================================================
     //==================================================================
diff --git a/reportdesign/source/ui/inc/Formula.hxx b/reportdesign/source/ui/inc/Formula.hxx
index 623d1c7..8e16fce 100644
--- a/reportdesign/source/ui/inc/Formula.hxx
+++ b/reportdesign/source/ui/inc/Formula.hxx
@@ -35,12 +35,10 @@
 #include <com/sun/star/beans/XPropertySet.hpp>
 #include <com/sun/star/report/meta/XFormulaParser.hpp>
 
-class SvLBoxEntry;
 //============================================================================
 namespace rptui
 {
 //============================================================================
-class FunctionManager;
 class OAddFieldWindow;
 
 //============================================================================
diff --git a/reportdesign/source/ui/inc/ReportController.hxx b/reportdesign/source/ui/inc/ReportController.hxx
index 37fca85..7c36f88 100644
--- a/reportdesign/source/ui/inc/ReportController.hxx
+++ b/reportdesign/source/ui/inc/ReportController.hxx
@@ -70,14 +70,12 @@
 #include <boost/shared_ptr.hpp>
 #include <functional>
 
-class TransferableHelper;
 class TransferableClipboardListener;
 class VclWindowEvent;
 class SfxUndoManager;
 namespace rptui
 {
     class OGroupsSortingDialog;
-    class OPropertyMediator;
     class OReportModel;
     class OSectionView;
     class OAddFieldWindow;
diff --git a/reportdesign/source/ui/inc/ReportWindow.hxx b/reportdesign/source/ui/inc/ReportWindow.hxx
index fef6329..ef9ae1e 100644
--- a/reportdesign/source/ui/inc/ReportWindow.hxx
+++ b/reportdesign/source/ui/inc/ReportWindow.hxx
@@ -45,13 +45,8 @@
 namespace rptui
 {
     class ODesignView;
-    class OReportSection;
     class OScrollWindowHelper;
     class OSectionView;
-    class OReportModel;
-    class OEndMarker;
-    class OReportPage;
-    class DlgEdFunc;
     class DlgEdFactory;
 
     class OReportWindow :    public Window
diff --git a/reportdesign/source/ui/inc/RptUndo.hxx b/reportdesign/source/ui/inc/RptUndo.hxx
index 81d8878..a9a0be8 100644
--- a/reportdesign/source/ui/inc/RptUndo.hxx
+++ b/reportdesign/source/ui/inc/RptUndo.hxx
@@ -32,24 +32,13 @@
 #include <functional>
 
 namespace com { namespace sun { namespace star {
-    namespace awt {
-        class XControl;
-        class XControlContainer;
-    }
     namespace drawing {
         class XShape;
     }
 }}}
 
-namespace dbaui
-{
-    class IController;
-}
 namespace rptui
 {
-    class OObjectBase;
-
-
     /** \class OSectionUndo
      * Undo class for section add and remove.
      */
diff --git a/reportdesign/source/ui/inc/ScrollHelper.hxx b/reportdesign/source/ui/inc/ScrollHelper.hxx
index 8703f62..7a7125e 100644
--- a/reportdesign/source/ui/inc/ScrollHelper.hxx
+++ b/reportdesign/source/ui/inc/ScrollHelper.hxx
@@ -32,14 +32,11 @@
 #include <MarkedSection.hxx>
 #include "ReportWindow.hxx"
 
-class SdrView;
 namespace rptui
 {
     class ODesignView;
     class OReportWindow;
     class OSectionView;
-    class OReportSection;
-    class OReportModel;
 
     /** This class defines the scrollable area of the report design. It includes
         the h-ruler and the sections, and end marker. Not the start marker.
diff --git a/reportdesign/source/ui/inc/SectionWindow.hxx b/reportdesign/source/ui/inc/SectionWindow.hxx
index 14aa85c..7f00e8e 100644
--- a/reportdesign/source/ui/inc/SectionWindow.hxx
+++ b/reportdesign/source/ui/inc/SectionWindow.hxx
@@ -42,8 +42,6 @@ namespace comphelper
 }
 namespace rptui
 {
-    class OReportWindow;
-    class ODesignView;
     class OViewsWindow;
     class OSectionWindow :      public Window
                             ,   public ::cppu::BaseMutex
diff --git a/reportdesign/source/ui/inc/ViewsWindow.hxx b/reportdesign/source/ui/inc/ViewsWindow.hxx
index 041da5d..9a4502f 100644
--- a/reportdesign/source/ui/inc/ViewsWindow.hxx
+++ b/reportdesign/source/ui/inc/ViewsWindow.hxx
@@ -51,8 +51,6 @@ class SdrHdl;
 namespace rptui
 {
     class OReportWindow;
-    class ODesignView;
-    class OEndMarker;
     class OReportSection;
     class OSectionView;
 
diff --git a/reportdesign/source/ui/inc/dlgedfac.hxx b/reportdesign/source/ui/inc/dlgedfac.hxx
index 1d91306..4530c63 100644
--- a/reportdesign/source/ui/inc/dlgedfac.hxx
+++ b/reportdesign/source/ui/inc/dlgedfac.hxx
@@ -25,7 +25,6 @@
 
 namespace rptui
 {
-    class OReportSection;
 //============================================================================
 // DlgEdFactory
 //============================================================================
diff --git a/starmath/inc/applicat.hxx b/starmath/inc/applicat.hxx
index f9f8326..d604107 100644
--- a/starmath/inc/applicat.hxx
+++ b/starmath/inc/applicat.hxx
@@ -20,8 +20,6 @@
 #ifndef APPLICAT_HXX
 #define APPLICAT_HXX
 
-class SvxErrorHandler;
-
 #include <sfx2/app.hxx>
 
 
diff --git a/starmath/inc/config.hxx b/starmath/inc/config.hxx
index 668a443..901d850 100644
--- a/starmath/inc/config.hxx
+++ b/starmath/inc/config.hxx
@@ -26,9 +26,6 @@
 #include "cfgitem.hxx"
 
 
-class SmPreferenceDialog;
-class SmPrintDialog;
-class SmPrintOptionDialog;
 class SfxItemSet;
 
 class SmConfig : public SmMathConfig, public SfxBroadcaster
diff --git a/starmath/inc/parse.hxx b/starmath/inc/parse.hxx
index 5e4ce31..cc38ae0 100644
--- a/starmath/inc/parse.hxx
+++ b/starmath/inc/parse.hxx
@@ -41,7 +41,6 @@
 #include <vector>
 
 class SmNode;
-class SmDocShell;
 
 //////////////////////////////////////////////////////////////////////
 
diff --git a/starmath/inc/smmod.hxx b/starmath/inc/smmod.hxx
index 43b4539..7a323ab 100644
--- a/starmath/inc/smmod.hxx
+++ b/starmath/inc/smmod.hxx
@@ -40,7 +40,6 @@
 
 #include <unotools/options.hxx>
 
-class SvxErrorHandler;
 class SfxObjectFactory;
 class SmConfig;
 class SmModule;
diff --git a/starmath/inc/unomodel.hxx b/starmath/inc/unomodel.hxx
index b66c82a..fddf9e3 100644
--- a/starmath/inc/unomodel.hxx
+++ b/starmath/inc/unomodel.hxx
@@ -40,8 +40,6 @@
 #include <oox/mathml/export.hxx>
 #include <oox/mathml/import.hxx>
 
-class SmFormat;
-
 ////////////////////////////////////////////////////////////
 
 #define PRTUIOPT_TITLE_ROW          "TitleRow"
diff --git a/starmath/inc/utility.hxx b/starmath/inc/utility.hxx
index a80fc5d..9d4f2ed 100644
--- a/starmath/inc/utility.hxx
+++ b/starmath/inc/utility.hxx
@@ -36,7 +36,6 @@
 #include <tools/fract.hxx>
 
 
-class SmRect;
 class String;
 
 #define C2S(cChar) String::CreateFromAscii(RTL_CONSTASCII_STRINGPARAM(cChar))
diff --git a/starmath/source/accessibility.hxx b/starmath/source/accessibility.hxx
index 8ed6c48..c138764 100644
--- a/starmath/source/accessibility.hxx
+++ b/starmath/source/accessibility.hxx
@@ -52,7 +52,6 @@
 #include <svx/AccessibleTextHelper.hxx>
 #include <edit.hxx>
 
-class Window;
 class SmGraphicWindow;
 class SmEditWindow;
 class SmDocShell;
diff --git a/starmath/source/mathmlexport.hxx b/starmath/source/mathmlexport.hxx
index 87b2b69..c0e7743 100644
--- a/starmath/source/mathmlexport.hxx
+++ b/starmath/source/mathmlexport.hxx
@@ -30,7 +30,6 @@
 class SfxMedium;
 namespace com { namespace sun { namespace star {
     namespace io {
-        class XInputStream;
         class XOutputStream; }
     namespace beans {
         class XPropertySet; }
diff --git a/starmath/source/mathmlimport.hxx b/starmath/source/mathmlimport.hxx
index e67e6a0..2f22912 100644
--- a/starmath/source/mathmlimport.hxx
+++ b/starmath/source/mathmlimport.hxx
@@ -39,8 +39,7 @@
 class SfxMedium;
 namespace com { namespace sun { namespace star {
     namespace io {
-        class XInputStream;
-        class XOutputStream; }
+        class XIutputStream; }
     namespace beans {
         class XPropertySet; }
 } } }
diff --git a/starmath/source/smdetect.hxx b/starmath/source/smdetect.hxx
index 1d20f6a..8dd3cbc 100644
--- a/starmath/source/smdetect.hxx
+++ b/starmath/source/smdetect.hxx
@@ -40,29 +40,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;


More information about the Libreoffice-commits mailing list