From dbd9db69bb2ca982d76c09f8cb9561b42c9138b8 Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Thu, 21 Jun 2012 23:22:36 +0900 Subject: removed unused forward declarations of class Change-Id: Ibb3918b95c2518fd83f566bb726273dbf90cf8c8 --- 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 - 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 ------------- 22 files changed, 1 insertion(+), 70 deletions(-) diff --git a/reportdesign/inc/UndoActions.hxx b/reportdesign/inc/UndoActions.hxx index fbdb23843d10..61d055c73fb1 100644 --- a/reportdesign/inc/UndoActions.hxx +++ b/reportdesign/inc/UndoActions.hxx @@ -60,21 +60,12 @@ #include #include -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 99eae1bf3929..f1c55a1d1696 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 b05a1ecb8a90..8df9bd35d850 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 6c2fad9e4d4a..af115410bbd3 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 623d1c73bd38..8e16fceadf40 100644 --- a/reportdesign/source/ui/inc/Formula.hxx +++ b/reportdesign/source/ui/inc/Formula.hxx @@ -35,12 +35,10 @@ #include #include -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 37fca8563926..7c36f8861503 100644 --- a/reportdesign/source/ui/inc/ReportController.hxx +++ b/reportdesign/source/ui/inc/ReportController.hxx @@ -70,14 +70,12 @@ #include #include -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 fef632984b4a..ef9ae1e156a7 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 81d887860beb..a9a0be8c0e5d 100644 --- a/reportdesign/source/ui/inc/RptUndo.hxx +++ b/reportdesign/source/ui/inc/RptUndo.hxx @@ -32,24 +32,13 @@ #include 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 8703f628c544..7a7125eaa9e8 100644 --- a/reportdesign/source/ui/inc/ScrollHelper.hxx +++ b/reportdesign/source/ui/inc/ScrollHelper.hxx @@ -32,14 +32,11 @@ #include #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 14aa85c8dae9..7f00e8ea3b59 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 041da5de03ce..9a4502f1e224 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 1d913062bc8a..4530c63d485d 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 f9f832690837..d60410789b48 100644 --- a/starmath/inc/applicat.hxx +++ b/starmath/inc/applicat.hxx @@ -20,8 +20,6 @@ #ifndef APPLICAT_HXX #define APPLICAT_HXX -class SvxErrorHandler; - #include diff --git a/starmath/inc/config.hxx b/starmath/inc/config.hxx index 668a4433127a..901d8502b597 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 5e4ce31db759..cc38ae02ca57 100644 --- a/starmath/inc/parse.hxx +++ b/starmath/inc/parse.hxx @@ -41,7 +41,6 @@ #include class SmNode; -class SmDocShell; ////////////////////////////////////////////////////////////////////// diff --git a/starmath/inc/smmod.hxx b/starmath/inc/smmod.hxx index 43b45392a9d1..7a323ab75380 100644 --- a/starmath/inc/smmod.hxx +++ b/starmath/inc/smmod.hxx @@ -40,7 +40,6 @@ #include -class SvxErrorHandler; class SfxObjectFactory; class SmConfig; class SmModule; diff --git a/starmath/inc/unomodel.hxx b/starmath/inc/unomodel.hxx index b66c82a3fc8c..fddf9e3c55a6 100644 --- a/starmath/inc/unomodel.hxx +++ b/starmath/inc/unomodel.hxx @@ -40,8 +40,6 @@ #include #include -class SmFormat; - //////////////////////////////////////////////////////////// #define PRTUIOPT_TITLE_ROW "TitleRow" diff --git a/starmath/inc/utility.hxx b/starmath/inc/utility.hxx index a80fc5d44f60..9d4f2ed6fa55 100644 --- a/starmath/inc/utility.hxx +++ b/starmath/inc/utility.hxx @@ -36,7 +36,6 @@ #include -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 8ed6c48465f9..c138764e84f0 100644 --- a/starmath/source/accessibility.hxx +++ b/starmath/source/accessibility.hxx @@ -52,7 +52,6 @@ #include #include -class Window; class SmGraphicWindow; class SmEditWindow; class SmDocShell; diff --git a/starmath/source/mathmlexport.hxx b/starmath/source/mathmlexport.hxx index 87b2b693a24c..c0e7743e14ee 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 e67e6a079bbe..2f229124a37f 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 1d20f6abcaa3..8dd3cbc9c06c 100644 --- a/starmath/source/smdetect.hxx +++ b/starmath/source/smdetect.hxx @@ -40,29 +40,16 @@ #include #include -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; -- cgit