From 30d3637516e9d22d237fb0bd4d71e12eebb16615 Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Wed, 4 Jul 2012 19:18:15 +0900 Subject: removed unnecessary forward declarations of class Change-Id: I0d6aad17c471b6edd584c668dc7ff054090c185c --- basic/source/inc/codegen.hxx | 1 - basic/source/inc/runtime.hxx | 1 - basic/source/inc/scriptcont.hxx | 2 -- binaryurp/source/reader.hxx | 1 - binaryurp/source/unmarshal.hxx | 1 - canvas/source/cairo/cairo_devicehelper.hxx | 6 ------ canvas/source/cairo/cairo_spritedevicehelper.hxx | 1 - canvas/source/directx/dx_canvasfont.hxx | 2 -- canvas/source/directx/dx_impltools.hxx | 3 --- canvas/source/directx/dx_rendermodule.hxx | 1 - canvas/source/directx/dx_spritedevicehelper.hxx | 1 - canvas/source/directx/dx_textlayout.hxx | 2 -- canvas/source/directx/dx_vcltools.hxx | 5 ----- canvas/source/null/null_canvasfont.hxx | 2 -- canvas/source/null/null_devicehelper.hxx | 1 - canvas/source/vcl/devicehelper.hxx | 2 -- canvas/source/vcl/impltools.hxx | 10 ---------- canvas/source/vcl/spritecanvashelper.hxx | 1 - canvas/source/vcl/spritedevicehelper.hxx | 3 --- editeng/source/editeng/editattr.hxx | 1 - editeng/source/editeng/editdbg.hxx | 3 --- editeng/source/editeng/editdoc.hxx | 1 - editeng/source/editeng/editobj2.hxx | 2 -- editeng/source/editeng/textconv.hxx | 2 -- idl/inc/basobj.hxx | 1 - idl/inc/globals.hxx | 1 - idl/inc/lex.hxx | 1 - idl/inc/object.hxx | 1 - idl/inc/slot.hxx | 1 - shell/inc/internal/zipfile.hxx | 1 - svtools/source/dialogs/filedlg2.hxx | 1 - svtools/source/inc/svimpbox.hxx | 2 -- svtools/source/toolpanel/tabbargeometry.hxx | 1 - writerfilter/source/dmapper/MeasureHandler.hxx | 1 - writerfilter/source/dmapper/OLEHandler.hxx | 6 ------ writerfilter/source/dmapper/PropertyMap.hxx | 1 - writerfilter/source/dmapper/SectionColumnHandler.hxx | 2 -- writerfilter/source/dmapper/TblStylePrHandler.hxx | 1 - writerfilter/source/rtftok/rtfreferenceproperties.hxx | 2 -- writerfilter/source/rtftok/rtfreferencetable.hxx | 2 -- writerfilter/source/rtftok/rtfskipdestination.hxx | 2 -- 41 files changed, 82 deletions(-) diff --git a/basic/source/inc/codegen.hxx b/basic/source/inc/codegen.hxx index ced319c4ce22..06e8771de6b3 100644 --- a/basic/source/inc/codegen.hxx +++ b/basic/source/inc/codegen.hxx @@ -29,7 +29,6 @@ #ifndef _CODEGEN_HXX #define _CODEGEN_HXX -class SbiImage; class SbiParser; class SbModule; #include "opcodes.hxx" diff --git a/basic/source/inc/runtime.hxx b/basic/source/inc/runtime.hxx index 1c70828c19a7..f8e8f8f4fb5d 100644 --- a/basic/source/inc/runtime.hxx +++ b/basic/source/inc/runtime.hxx @@ -124,7 +124,6 @@ struct SbiGosubStack { // GOSUB-Stack: #define Sb_ATTR_ARCHIVE 0x0020 -class Dir; class WildCard; class SbiRTLData diff --git a/basic/source/inc/scriptcont.hxx b/basic/source/inc/scriptcont.hxx index 54c05559c5a1..f74963d5c3fd 100644 --- a/basic/source/inc/scriptcont.hxx +++ b/basic/source/inc/scriptcont.hxx @@ -34,8 +34,6 @@ #include #include -class BasicManager; - namespace basic { diff --git a/binaryurp/source/reader.hxx b/binaryurp/source/reader.hxx index 105ad2daf594..eeadc22e2919 100644 --- a/binaryurp/source/reader.hxx +++ b/binaryurp/source/reader.hxx @@ -32,7 +32,6 @@ #include "readerstate.hxx" namespace binaryurp { - class BinaryAny; class Bridge; class Unmarshal; } diff --git a/binaryurp/source/unmarshal.hxx b/binaryurp/source/unmarshal.hxx index f1a845197ec6..491ff04a73c3 100644 --- a/binaryurp/source/unmarshal.hxx +++ b/binaryurp/source/unmarshal.hxx @@ -39,7 +39,6 @@ namespace com { namespace sun { namespace star { namespace uno { class TypeDescription; } } } } namespace rtl { - class ByteSequecne; class OUString; } diff --git a/canvas/source/cairo/cairo_devicehelper.hxx b/canvas/source/cairo/cairo_devicehelper.hxx index 6d3abafa4d8d..fec36e59d1c6 100644 --- a/canvas/source/cairo/cairo_devicehelper.hxx +++ b/canvas/source/cairo/cairo_devicehelper.hxx @@ -34,14 +34,8 @@ /* Definition of DeviceHelper class */ -struct SystemEnvData; -class Window; - namespace cairocanvas { - class Canvas; - class CanvasHelper; - class DeviceHelper : private ::boost::noncopyable { public: diff --git a/canvas/source/cairo/cairo_spritedevicehelper.hxx b/canvas/source/cairo/cairo_spritedevicehelper.hxx index 830a7ee40a55..7236400918ca 100644 --- a/canvas/source/cairo/cairo_spritedevicehelper.hxx +++ b/canvas/source/cairo/cairo_spritedevicehelper.hxx @@ -37,7 +37,6 @@ namespace cairocanvas { class SpriteCanvas; - class SpriteCanvasHelper; class SpriteDeviceHelper : public DeviceHelper { diff --git a/canvas/source/directx/dx_canvasfont.hxx b/canvas/source/directx/dx_canvasfont.hxx index 073cf8136102..ccff49553a47 100644 --- a/canvas/source/directx/dx_canvasfont.hxx +++ b/canvas/source/directx/dx_canvasfont.hxx @@ -42,8 +42,6 @@ namespace dxcanvas { - class SpriteCanvas; - typedef ::boost::shared_ptr< Gdiplus::Font > FontSharedPtr; typedef ::boost::shared_ptr< Gdiplus::FontFamily > FontFamilySharedPtr; diff --git a/canvas/source/directx/dx_impltools.hxx b/canvas/source/directx/dx_impltools.hxx index 44a85f707366..0720046a876b 100644 --- a/canvas/source/directx/dx_impltools.hxx +++ b/canvas/source/directx/dx_impltools.hxx @@ -36,7 +36,6 @@ namespace basegfx class B2DPoint; class B2DRange; class B2DHomMatrix; - class B2IPoint; class B2IRange; class B2DPolyPolygon; }; @@ -49,8 +48,6 @@ namespace com { namespace sun { namespace star { namespace geometry namespace com { namespace sun { namespace star { namespace rendering { - class XCanvas; - class XGraphicDevice; class XBitmap; class XPolyPolygon2D; class XCanvasFont; diff --git a/canvas/source/directx/dx_rendermodule.hxx b/canvas/source/directx/dx_rendermodule.hxx index 463addd3953c..34babfe52cbe 100644 --- a/canvas/source/directx/dx_rendermodule.hxx +++ b/canvas/source/directx/dx_rendermodule.hxx @@ -30,7 +30,6 @@ class Window; namespace basegfx { class B2IRange; - class B2DVector; } namespace dxcanvas diff --git a/canvas/source/directx/dx_spritedevicehelper.hxx b/canvas/source/directx/dx_spritedevicehelper.hxx index e6a2b1b7612f..a6a5ff2d33c2 100644 --- a/canvas/source/directx/dx_spritedevicehelper.hxx +++ b/canvas/source/directx/dx_spritedevicehelper.hxx @@ -36,7 +36,6 @@ namespace dxcanvas { class SpriteCanvas; - class SpriteCanvasHelper; class SpriteDeviceHelper : public DeviceHelper { diff --git a/canvas/source/directx/dx_textlayout.hxx b/canvas/source/directx/dx_textlayout.hxx index 17dfe3514541..7af73749321a 100644 --- a/canvas/source/directx/dx_textlayout.hxx +++ b/canvas/source/directx/dx_textlayout.hxx @@ -38,8 +38,6 @@ /* Definition of TextLayout class */ -class DXBitmapSharedPtr; - namespace dxcanvas { typedef ::cppu::WeakComponentImplHelper2< ::com::sun::star::rendering::XTextLayout, diff --git a/canvas/source/directx/dx_vcltools.hxx b/canvas/source/directx/dx_vcltools.hxx index e2c40d7e87d2..ab7d73e351be 100644 --- a/canvas/source/directx/dx_vcltools.hxx +++ b/canvas/source/directx/dx_vcltools.hxx @@ -26,11 +26,6 @@ #include -namespace com { namespace sun { namespace star { namespace lang -{ - class XUnoTunnel; -} } } } - namespace Gdiplus { class Graphics; } namespace dxcanvas diff --git a/canvas/source/null/null_canvasfont.hxx b/canvas/source/null/null_canvasfont.hxx index 0712e2bb3a40..c6299d229d84 100644 --- a/canvas/source/null/null_canvasfont.hxx +++ b/canvas/source/null/null_canvasfont.hxx @@ -50,8 +50,6 @@ namespace nullcanvas { - class SpriteCanvas; - typedef ::cppu::WeakComponentImplHelper2< ::com::sun::star::rendering::XCanvasFont, ::com::sun::star::lang::XServiceInfo > CanvasFont_Base; diff --git a/canvas/source/null/null_devicehelper.hxx b/canvas/source/null/null_devicehelper.hxx index 9a009969ab08..173985433f78 100644 --- a/canvas/source/null/null_devicehelper.hxx +++ b/canvas/source/null/null_devicehelper.hxx @@ -32,7 +32,6 @@ namespace nullcanvas { class SpriteCanvas; - class SpriteCanvasHelper; class DeviceHelper : private ::boost::noncopyable { diff --git a/canvas/source/vcl/devicehelper.hxx b/canvas/source/vcl/devicehelper.hxx index 624d30213edf..dd841bb982f6 100644 --- a/canvas/source/vcl/devicehelper.hxx +++ b/canvas/source/vcl/devicehelper.hxx @@ -37,8 +37,6 @@ namespace vclcanvas { - class Canvas; - class DeviceHelper : private ::boost::noncopyable { public: diff --git a/canvas/source/vcl/impltools.hxx b/canvas/source/vcl/impltools.hxx index b93e83aa4e85..7c2a506181da 100644 --- a/canvas/source/vcl/impltools.hxx +++ b/canvas/source/vcl/impltools.hxx @@ -45,14 +45,6 @@ namespace basegfx { class B2DHomMatrix; } - namespace vector - { - class B2DVector; - } - namespace point - { - class B2DPoint; - } } namespace com { namespace sun { namespace star { namespace awt @@ -78,9 +70,7 @@ namespace com { namespace sun { namespace star { namespace rendering { struct RenderState; struct ViewState; - class XCanvas; class XBitmap; - class XPolyPolygon2D; } } } } diff --git a/canvas/source/vcl/spritecanvashelper.hxx b/canvas/source/vcl/spritecanvashelper.hxx index f33a9843c366..7a598e2da868 100644 --- a/canvas/source/vcl/spritecanvashelper.hxx +++ b/canvas/source/vcl/spritecanvashelper.hxx @@ -34,7 +34,6 @@ namespace vclcanvas { - class RedrawManager; class SpriteCanvas; class SpriteCanvasHelper : public CanvasHelper diff --git a/canvas/source/vcl/spritedevicehelper.hxx b/canvas/source/vcl/spritedevicehelper.hxx index 5d2d2b586546..926fee34ab48 100644 --- a/canvas/source/vcl/spritedevicehelper.hxx +++ b/canvas/source/vcl/spritedevicehelper.hxx @@ -38,9 +38,6 @@ namespace vclcanvas { - class SpriteCanvas; - class SpriteCanvasHelper; - class SpriteDeviceHelper : public DeviceHelper { public: diff --git a/editeng/source/editeng/editattr.hxx b/editeng/source/editeng/editattr.hxx index 30dd97c18f84..cf331fa254a4 100644 --- a/editeng/source/editeng/editattr.hxx +++ b/editeng/source/editeng/editattr.hxx @@ -49,7 +49,6 @@ class SvxCharScaleWidthItem; class SvxColorItem; class SvxAutoKernItem; class SvxKerningItem; -class SvxCharSetColorItem; class SvxWordLineModeItem; class SvxFieldItem; class SvxLanguageItem; diff --git a/editeng/source/editeng/editdbg.hxx b/editeng/source/editeng/editdbg.hxx index f2089811db1c..38d40f1b6f3f 100644 --- a/editeng/source/editeng/editdbg.hxx +++ b/editeng/source/editeng/editdbg.hxx @@ -33,9 +33,6 @@ #include class EditEngine; -class ParaPortion; -class EditUndoList; -class TextPortionList; class SfxItemSet; class SfxItemPool; class SfxPoolItem; diff --git a/editeng/source/editeng/editdoc.hxx b/editeng/source/editeng/editdoc.hxx index a97fcecd8538..8bbcb07f9830 100644 --- a/editeng/source/editeng/editdoc.hxx +++ b/editeng/source/editeng/editdoc.hxx @@ -46,7 +46,6 @@ class ImpEditEngine; class SvxTabStop; -class SvtCTLOptions; DBG_NAMEEX( EE_TextPortion ) diff --git a/editeng/source/editeng/editobj2.hxx b/editeng/source/editeng/editobj2.hxx index cb0642db9209..f502b1d8cdfb 100644 --- a/editeng/source/editeng/editobj2.hxx +++ b/editeng/source/editeng/editobj2.hxx @@ -36,8 +36,6 @@ #include -class SfxStyleSheetPool; - class XEditAttribute { private: diff --git a/editeng/source/editeng/textconv.hxx b/editeng/source/editeng/textconv.hxx index 1bcc7f935c87..dc531e2f16ef 100644 --- a/editeng/source/editeng/textconv.hxx +++ b/editeng/source/editeng/textconv.hxx @@ -26,8 +26,6 @@ #include class EditView; -class ImpEditEngine; -class ContentNode; class TextConvWrapper : public editeng::HangulHanjaConversion { diff --git a/idl/inc/basobj.hxx b/idl/inc/basobj.hxx index 9cd03b72702a..8b22febcab55 100644 --- a/idl/inc/basobj.hxx +++ b/idl/inc/basobj.hxx @@ -35,7 +35,6 @@ class SvTokenStream; class SvMetaObject; -class SvAttributeList; class SvIdlDataBase; typedef SvMetaObject * (*CreateMetaObjectType)(); diff --git a/idl/inc/globals.hxx b/idl/inc/globals.hxx index 4e79333cadc3..d743d1022aa9 100644 --- a/idl/inc/globals.hxx +++ b/idl/inc/globals.hxx @@ -26,7 +26,6 @@ #undef _Export #endif -class SvIdlWorkingBase; class SvClassManager; struct SvGlobalHashNames { diff --git a/idl/inc/lex.hxx b/idl/inc/lex.hxx index 03b657890f71..1bc1aee59521 100644 --- a/idl/inc/lex.hxx +++ b/idl/inc/lex.hxx @@ -41,7 +41,6 @@ enum SVTOKEN_ENUM { SVTOKEN_EMPTY, SVTOKEN_COMMENT, SVTOKEN_CHAR, SVTOKEN_RTTIBASE, SVTOKEN_EOF, SVTOKEN_HASHID }; -class BigInt; class SvToken { friend class SvTokenStream; diff --git a/idl/inc/object.hxx b/idl/inc/object.hxx index f23262d95189..e89355be957f 100644 --- a/idl/inc/object.hxx +++ b/idl/inc/object.hxx @@ -77,7 +77,6 @@ public: SV_DECL_IMPL_REF(SvClassElement) SV_DECL_IMPL_PERSIST_LIST(SvClassElement,SvClassElement *) -class SvMetaModule; SV_DECL_PERSIST_LIST(SvMetaClass,SvMetaClass *) class SvMetaClass : public SvMetaType { diff --git a/idl/inc/slot.hxx b/idl/inc/slot.hxx index d4ae0be1cab2..bb11b004af42 100644 --- a/idl/inc/slot.hxx +++ b/idl/inc/slot.hxx @@ -32,7 +32,6 @@ #include #include -class SvMetaSlotMemberList; class SvMetaSlot : public SvMetaAttribute { SvMetaTypeRef aSlotType; diff --git a/shell/inc/internal/zipfile.hxx b/shell/inc/internal/zipfile.hxx index 24fba6542fcf..aaf3c6c7073a 100644 --- a/shell/inc/internal/zipfile.hxx +++ b/shell/inc/internal/zipfile.hxx @@ -44,7 +44,6 @@ #include class StreamInterface; -class ZipFilePrivate; /** A simple zip content provider based on the zlib */ diff --git a/svtools/source/dialogs/filedlg2.hxx b/svtools/source/dialogs/filedlg2.hxx index 604329d80b6b..c31fab676f58 100644 --- a/svtools/source/dialogs/filedlg2.hxx +++ b/svtools/source/dialogs/filedlg2.hxx @@ -41,7 +41,6 @@ class ListBox; class Button; class PathDialog; -class FileDialog; class ImpPathDialog; struct ImpFilterItem diff --git a/svtools/source/inc/svimpbox.hxx b/svtools/source/inc/svimpbox.hxx index 094c59de3429..b12e3b959418 100644 --- a/svtools/source/inc/svimpbox.hxx +++ b/svtools/source/inc/svimpbox.hxx @@ -40,11 +40,9 @@ class SvTreeListBox; class Point; -class DropEvent; class SvLBoxTreeList; class SvImpLBox; class SvLBoxEntry; -class SvLBoxItem; class SvLBoxTab; class TabBar; namespace comphelper diff --git a/svtools/source/toolpanel/tabbargeometry.hxx b/svtools/source/toolpanel/tabbargeometry.hxx index 8bd3f0d6e5a3..04390234f9be 100644 --- a/svtools/source/toolpanel/tabbargeometry.hxx +++ b/svtools/source/toolpanel/tabbargeometry.hxx @@ -77,7 +77,6 @@ namespace svt //================================================================================================================== //= TabBarGeometry //================================================================================================================== - class TabBarGeometry_Impl; class TabBarGeometry { public: diff --git a/writerfilter/source/dmapper/MeasureHandler.hxx b/writerfilter/source/dmapper/MeasureHandler.hxx index 7af3707c6b13..1ac87ab6f819 100644 --- a/writerfilter/source/dmapper/MeasureHandler.hxx +++ b/writerfilter/source/dmapper/MeasureHandler.hxx @@ -26,7 +26,6 @@ namespace writerfilter { namespace dmapper { -class PropertyMap; /** Handler for sprms that contain a measure and a unit - Left indent of tables - Preferred width of tables diff --git a/writerfilter/source/dmapper/OLEHandler.hxx b/writerfilter/source/dmapper/OLEHandler.hxx index 16c8e2d7bd49..880edb41a20d 100644 --- a/writerfilter/source/dmapper/OLEHandler.hxx +++ b/writerfilter/source/dmapper/OLEHandler.hxx @@ -28,9 +28,6 @@ #include namespace com{ namespace sun{ namespace star{ - namespace embed{ - class XEmbeddedObject; - } namespace graphic{ class XGraphic; } @@ -40,9 +37,6 @@ namespace com{ namespace sun{ namespace star{ namespace text{ class XTextDocument; } - namespace uno{ - class XComponentContext; - } }}} namespace writerfilter { namespace dmapper diff --git a/writerfilter/source/dmapper/PropertyMap.hxx b/writerfilter/source/dmapper/PropertyMap.hxx index c3f3ba1201e5..78f9c6244773 100644 --- a/writerfilter/source/dmapper/PropertyMap.hxx +++ b/writerfilter/source/dmapper/PropertyMap.hxx @@ -36,7 +36,6 @@ namespace com{namespace sun{namespace star{ struct PropertyValue; } namespace container{ - class XNameAccess; class XNameContainer; } namespace lang{ diff --git a/writerfilter/source/dmapper/SectionColumnHandler.hxx b/writerfilter/source/dmapper/SectionColumnHandler.hxx index c3430ab9697b..43f70a1f19ad 100644 --- a/writerfilter/source/dmapper/SectionColumnHandler.hxx +++ b/writerfilter/source/dmapper/SectionColumnHandler.hxx @@ -27,8 +27,6 @@ namespace writerfilter { namespace dmapper { -class PropertyMap; - struct _Column { sal_Int32 nWidth; diff --git a/writerfilter/source/dmapper/TblStylePrHandler.hxx b/writerfilter/source/dmapper/TblStylePrHandler.hxx index 1d1ce5e9da0e..f44c6853be2d 100644 --- a/writerfilter/source/dmapper/TblStylePrHandler.hxx +++ b/writerfilter/source/dmapper/TblStylePrHandler.hxx @@ -31,7 +31,6 @@ namespace writerfilter { namespace dmapper { class DomainMapper; -class PropertyMap; enum TblStyleType { diff --git a/writerfilter/source/rtftok/rtfreferenceproperties.hxx b/writerfilter/source/rtftok/rtfreferenceproperties.hxx index ed8676519e47..d580de912ca8 100644 --- a/writerfilter/source/rtftok/rtfreferenceproperties.hxx +++ b/writerfilter/source/rtftok/rtfreferenceproperties.hxx @@ -30,8 +30,6 @@ #include -class SvStream; - namespace writerfilter { namespace rtftok { /// Sends RTFSprm instances to DomainMapper. diff --git a/writerfilter/source/rtftok/rtfreferencetable.hxx b/writerfilter/source/rtftok/rtfreferencetable.hxx index f0e0194c0f87..9038c00f7a9f 100644 --- a/writerfilter/source/rtftok/rtfreferencetable.hxx +++ b/writerfilter/source/rtftok/rtfreferencetable.hxx @@ -31,8 +31,6 @@ #include #include -class SvStream; - namespace writerfilter { namespace rtftok { /// Sends tables (e.g. font table) to the domain mapper. diff --git a/writerfilter/source/rtftok/rtfskipdestination.hxx b/writerfilter/source/rtftok/rtfskipdestination.hxx index 31f016478032..c4b1d229bbc7 100644 --- a/writerfilter/source/rtftok/rtfskipdestination.hxx +++ b/writerfilter/source/rtftok/rtfskipdestination.hxx @@ -30,8 +30,6 @@ #include -class SvStream; - namespace writerfilter { namespace rtftok { /// Skips a destination after a not parsed control word if it was prefixed with \* -- cgit