summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-06-21 23:22:36 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-06-23 02:48:28 +0900
commitdbd9db69bb2ca982d76c09f8cb9561b42c9138b8 (patch)
treee7a76414b49eff37c9b916050f92bed4cdd9ffa8
parent0ffc81ffdbb535301fa5d5608c7eeb1052d2c3a4 (diff)
removed unused forward declarations of class
Change-Id: Ibb3918b95c2518fd83f566bb726273dbf90cf8c8
-rw-r--r--reportdesign/inc/UndoActions.hxx9
-rw-r--r--reportdesign/source/filter/xml/xmlHelper.hxx2
-rw-r--r--reportdesign/source/ui/dlg/Condition.hxx1
-rw-r--r--reportdesign/source/ui/inc/DesignView.hxx3
-rw-r--r--reportdesign/source/ui/inc/Formula.hxx2
-rw-r--r--reportdesign/source/ui/inc/ReportController.hxx2
-rw-r--r--reportdesign/source/ui/inc/ReportWindow.hxx5
-rw-r--r--reportdesign/source/ui/inc/RptUndo.hxx11
-rw-r--r--reportdesign/source/ui/inc/ScrollHelper.hxx3
-rw-r--r--reportdesign/source/ui/inc/SectionWindow.hxx2
-rw-r--r--reportdesign/source/ui/inc/ViewsWindow.hxx2
-rw-r--r--reportdesign/source/ui/inc/dlgedfac.hxx1
-rw-r--r--starmath/inc/applicat.hxx2
-rw-r--r--starmath/inc/config.hxx3
-rw-r--r--starmath/inc/parse.hxx1
-rw-r--r--starmath/inc/smmod.hxx1
-rw-r--r--starmath/inc/unomodel.hxx2
-rw-r--r--starmath/inc/utility.hxx1
-rw-r--r--starmath/source/accessibility.hxx1
-rw-r--r--starmath/source/mathmlexport.hxx1
-rw-r--r--starmath/source/mathmlimport.hxx3
-rw-r--r--starmath/source/smdetect.hxx13
22 files changed, 1 insertions, 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 <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 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 <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 37fca8563926..7c36f8861503 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 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 <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 8703f628c544..7a7125eaa9e8 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 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 <sfx2/app.hxx>
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 <vector>
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 <unotools/options.hxx>
-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 <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 a80fc5d44f60..9d4f2ed6fa55 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 8ed6c48465f9..c138764e84f0 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 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 <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;