Kaydet (Commit) bf511532 authored tarafından Takeshi Abe's avatar Takeshi Abe

removed unnecessary forward declarations of class

except
* sd::ViewTabBar moved to ViewShellBase.hxx
* sd::TemplateEntry moved to AllMasterPageSelector.hxx

Change-Id: I802cdc0b77027bbe0843fbb259ce1a5a46354fc3
üst 3f501522
......@@ -55,7 +55,6 @@ namespace sd {
enum EValue { VALUE_FROM, VALUE_TO, VALUE_BY, VALUE_FIRST, VALUE_LAST };
class CustomAnimationEffect;
class AnimationTrigger;
class CustomAnimationPreset;
typedef boost::shared_ptr< CustomAnimationPreset > CustomAnimationPresetPtr;
......
......@@ -40,16 +40,12 @@
#include <boost/noncopyable.hpp>
class Dialog;
class SdPage;
class SdrObject;
class SdrTextObj;
class SdDrawDocument;
class SfxStyleSheetPool;
class SdrObjListIter;
namespace sd {
class DrawViewShell;
class View;
class ViewShell;
class Window;
......
......@@ -33,7 +33,6 @@ namespace sd {
class ViewShell;
class Outliner;
class View;
namespace outliner {
......
......@@ -29,13 +29,8 @@
#include <tools/color.hxx>
#include <sddllapi.h>
class Polygon;
class Point;
class SvStream;
class SdrObjSurrogate;
class SdrObject;
class SdrPathObj;
class SdDrawDocument;
class SdAnimationInfo : public SdrObjUserData
{
......
......@@ -54,14 +54,6 @@ namespace com
{
namespace star
{
namespace embed
{
class XStorage;
}
namespace io
{
class XStream;
}
namespace presentation
{
class XPresentation2;
......@@ -79,7 +71,6 @@ namespace sd
class Timer;
class SfxObjectShell;
class SdDrawDocShell;
class SdPage;
class SdAnimationInfo;
class SdIMapInfo;
......@@ -87,9 +78,7 @@ class IMapObject;
class SdStyleSheetPool;
class SfxMedium;
class SvxSearchItem;
class SdrOle2Obj;
class EditStatus;
class Graphic;
class Point;
class Window;
class SdTransferable;
......
......@@ -51,12 +51,7 @@ namespace sd {
class DrawView;
}
class SfxTabPage;
class SfxViewFrame;
class SfxBindings;
class ResId;
class String;
class SfxItemPool;
class SfxObjectShell;
class SfxObjectShellLock;
class SvxFieldData;
......
......@@ -32,12 +32,6 @@
#include <sfx2/module.hxx>
#include <sfx2/sfxdefs.hxx>
class SvFactory;
class SotFactory;
class SfxMedium;
class SfxFilter;
/*************************************************************************
|*
|* This class is a wrapper for a Load-On-Demand-DLL. One instance
......
......@@ -35,7 +35,6 @@ namespace sd {
class DrawDocShell;
}
class SdDrawDocument;
class SfxProgress;
namespace osl { class Module; }
class SdFilter
......
......@@ -25,8 +25,6 @@
#include <tools/errinf.hxx>
#include "sdfilter.hxx"
class Graphic;
// ---------------
// - SdCGMFilter -
// ---------------
......
......@@ -34,17 +34,12 @@
#include <memory>
class SdOptions;
class BasicIDE;
class SvxSearchItem;
class SdAppLinkHdl;
class SvxErrorHandler;
class EditFieldInfo;
class SvFactory;
class SdTransferable;
class SvNumberFormatter;
class SfxErrorHandler;
class OutputDevice;
class SdPage;
class SdDrawDocument;
class SfxFrame;
......
......@@ -30,8 +30,6 @@ class SdPage;
namespace sd
{
class UndoManager;
///////////////////////////////////////////////////////////////////////
class UndoRemovePresObjectImpl
......
......@@ -47,7 +47,6 @@ class FixedText;
class ListBox;
class ComboBox;
class CheckBox;
class SdDrawDocument;
namespace com { namespace sun { namespace star { namespace animations {
class XAnimationNode;
......
......@@ -44,7 +44,6 @@
#include <map>
class SdDrawDocument;
class SdPage;
namespace sd
{
......
......@@ -43,11 +43,8 @@
class OutlinerView;
class Outliner;
class ScrollBar;
class Edit;
class MultiLineEdit;
class PopupMenu;
class SvxLanguageItem;
class OutlinerParaObject;
class SdDrawDocument;
namespace sd {
......
......@@ -219,7 +219,6 @@ class AbstractSdPresLayoutDlg_Impl : public AbstractSdPresLayoutDlg
};
// add for SdActionDlg
class SfxSingleTabDialog;
class AbstractSfxDialog_Impl : public SfxAbstractDialog
{
DECL_ABSTDLG_BASE(AbstractSfxDialog_Impl,SfxModalDialog)
......
......@@ -40,8 +40,6 @@ typedef ::cppu::ImplInheritanceHelper1 <
} // end of anonymous namespace.
class SfxViewFrame;
namespace sd { class ViewShellBase; }
namespace sd { namespace framework {
......
......@@ -26,8 +26,6 @@
namespace sd { namespace framework {
class ReadOnlyModeObserver;
/** This module is responsible for showing the task pane.
*/
class ToolPanelModule
......
......@@ -40,11 +40,8 @@
#include "fupoor.hxx"
class SfxStyleSheetBasePool;
class SfxStatusBarManager;
class SdStyleSheetPool;
class FontList;
class SdDrawDocument;
class SvxItemFactory;
class SdPage;
class SfxPrinter;
struct SpellCallbackInfo;
......@@ -54,7 +51,6 @@ class SfxUndoManager;
namespace sd {
class FrameView;
class View;
class ViewShell;
// ------------------
......
......@@ -41,8 +41,6 @@
class SdPage;
class DrawDocShell;
class SdAnimationWin;
class SdRuler;
class TabBar;
class SdrObject;
class SdrPageView;
......@@ -57,7 +55,6 @@ namespace sd {
class DrawView;
class LayerTabBar;
class Ruler;
class SdUnoDrawView;
class AnnotationManager;
class ViewOverlayManager;
......
......@@ -25,8 +25,6 @@
#include <com/sun/star/lang/EventObject.hpp>
class SdPage;
namespace css = ::com::sun::star;
namespace sd {
......
......@@ -39,10 +39,6 @@ namespace sd { namespace slidesorter {
class SlideSorter;
} }
namespace sd { namespace slidesorter { namespace controller {
class PageSelector;
} } }
namespace sd {
class DrawController;
......
......@@ -31,7 +31,6 @@ namespace sd {
class View;
class ViewShell;
class Window;
class TextObjectBar
: public SfxShell
......
......@@ -46,7 +46,6 @@ class SdrOle2Obj;
class SdrGrafObj;
class SdrMediaObj;
class OutputDevice;
class VirtualDevice;
class ImageMap;
class Point;
class Graphic;
......
......@@ -52,9 +52,6 @@ class SdrOle2Obj; // fuer die, die Teile von SVDRAW rausdefiniert haben
class ScrollBarBox;
class SdDrawDocument;
class ScrollBar;
class FmFormShell;
class SdOptionsPrintItem;
class MultiSelection;
extern const String aEmptyStr;
......@@ -67,17 +64,11 @@ namespace css = ::com::sun::star;
namespace sd {
class Client;
class DrawDocShell;
class DrawSubController;
class FrameView;
class FuPoor;
class FuSearch;
class SlideShow;
class LayerTabBar;
class View;
class ViewShellBase;
class ViewTabBar;
class Window;
class WindowUpdater;
class ZoomList;
......
......@@ -57,6 +57,7 @@ class FormShellManager;
class ToolBarManager;
class ViewShell;
class ViewShellManager;
class ViewTabBar;
/** SfxViewShell descendant that the stacked Draw/Impress shells are
based on.
......
......@@ -42,8 +42,6 @@ class SvxIMapDlg;
namespace sd {
class DrawController;
/** This class contains (will contain) the implementation of methods that
have not be accessible from the outside.
*/
......
......@@ -32,8 +32,6 @@
#include <sddllapi.h>
class SfxItemSet;
class SvxBulletItem;
class SvxNumberFormat;
class SvxNumRule;
class SD_DLLPUBLIC SdBulletMapper
......
......@@ -31,10 +31,6 @@
#include <sfx2/styledlg.hxx>
class XColorList;
class XGradientList;
class XHatchList;
class XBitmapList;
class SfxStyleSheetBase;
class SdrModel;
......
......@@ -36,8 +36,6 @@
#include <vcl/fixed.hxx>
#include <sfx2/basedlgs.hxx>
class XColorList;
namespace sd {
class View;
......
......@@ -34,10 +34,6 @@
#include "dlgpage.hrc"
class SfxObjectShell;
class XColorList;
class XGradientList;
class XHatchList;
class XBitmapList;
typedef sal_uInt16 ChangeType;
......
......@@ -27,8 +27,6 @@ namespace sd {
class DrawDocShell;
class DrawViewShell;
class FuSlideShow;
class SlideShow;
#define SDDRAWVIEW_MAGIC 0x456789BA
......
......@@ -56,11 +56,6 @@ namespace sd { class ViewShellBase; }
namespace sd { namespace framework {
class ChangeRequestQueueProcessor;
class ConfigurationControllerBroadcaster;
class ConfigurationUpdater;
class ConfigurationUpdaterLock;
/** The configuration controller is responsible for maintaining the current
configuration.
......
......@@ -36,8 +36,6 @@ class SdDrawDocument;
namespace sd {
class DrawView;
class DrawViewShell;
class Window;
......
......@@ -34,8 +34,6 @@
class KeyEvent;
class SdDrawDocument;
class SdrObject;
class SdxRequest;
class SfxItemSet;
namespace sd {
......
......@@ -24,7 +24,6 @@
class SdDrawDocument;
class SfxRequest;
class SfxStyleSheetBasePool;
namespace sd {
......
......@@ -35,7 +35,6 @@
struct StyleRequestData;
class SdrTextObj;
class OutlinerParaObject;
class FontList;
class OutlinerView;
......
......@@ -36,7 +36,6 @@
#include "headerfooterdlg.hrc"
#include "sdpage.hxx"
class SfxObjectShell;
class SdUndoGroup;
namespace sd
......
......@@ -59,7 +59,6 @@
namespace sd {
class DrawDocShell;
class NavigatorChildWindow;
class View;
}
class Menu;
class SdNavigatorControllerItem;
......
......@@ -56,7 +56,6 @@
// - Forwards -
// ------------
class SfxConfigItem;
class SdOptions;
namespace sd {
......
......@@ -37,12 +37,6 @@
#include "prlayout.hxx" // fuer enum PresentationObjects
class XColorList;
class XGradientList;
class XHatchList;
class XBitmapList;
class XDashList;
class XLineEndList;
class SfxObjectShell;
class SfxStyleSheetBase;
class SfxStyleSheetBasePool;
......
......@@ -25,8 +25,6 @@
#include <vector>
#include <memory>
class Window;
namespace sd { namespace toolpanel {
class TreeNode;
......
......@@ -24,10 +24,6 @@
#include <memory>
namespace sd {
class ViewShellBase;
}
namespace sd { namespace toolpanel {
class TreeNode;
} }
......
......@@ -26,10 +26,6 @@
#include <com/sun/star/accessibility/XAccessible.hpp>
#include <tools/link.hxx>
namespace sd {
class ObjectBarManager;
}
namespace sd { namespace toolpanel {
class ControlContainer;
......
......@@ -39,13 +39,8 @@ namespace com { namespace sun { namespace star { namespace ui {
} } } }
namespace sd {
class PaneDockingWindow;
namespace toolpanel {
class TaskPaneShellManager;
class TitleToolBox;
class TitleBar;
class TitledControl;
class ToolPanelViewShell_Impl;
/** The tool panel is a view shell for some very specific reasons:
- It fits better into the concept of panes being docking windows whose
......
......@@ -31,7 +31,6 @@
#include <editeng/editdata.hxx>
#include <editeng/unoipset.hxx>
class SdrObject;
class SvxItemPropertySet;
class SdUnoSearchReplaceDescriptor;
......
......@@ -46,8 +46,6 @@
namespace sd {
class SlideshowImpl;
class PreviewWindow;
class ViewShell;
// -----------
// - Defines -
......
......@@ -46,7 +46,6 @@ class SfxModule;
namespace sd {
class DrawDocShell;
class PaneManagerEvent;
class ViewShellBase;
}
......
......@@ -33,8 +33,6 @@ namespace sd { namespace toolpanel
{
//......................................................................................................................
class TreeNode;
//==================================================================================================================
//= ToolPanelUIElement
//==================================================================================================================
......
......@@ -24,6 +24,10 @@
#include <memory>
namespace sd {
class TemplateEntry;
}
namespace sd { namespace toolpanel { namespace controls {
......
......@@ -22,10 +22,6 @@
#include "taskpane/SubToolPanel.hxx"
namespace sd {
class ViewShellBase;
}
namespace sd { namespace toolpanel {
class TreeNode;
class ControlFactory;
......
......@@ -34,12 +34,6 @@
#include <boost/shared_ptr.hpp>
class SdPage;
class SdDrawDocument;
class SfxObjectShellLock;
namespace sd {
class DrawDocShell;
}
namespace sd { namespace toolpanel { namespace controls {
......
......@@ -44,12 +44,8 @@
class MouseEvent;
class SdDrawDocument;
class SdPage;
class SfxModule;
namespace sd {
class DrawViewShell;
class TemplateEntry;
class TemplateDir;
class ViewShellBase;
}
......
......@@ -30,8 +30,6 @@
#include "MasterPageContainer.hxx"
#include <com/sun/star/uno/XInterface.hpp>
class SdPage;
namespace sd {
class MasterPageObserverEvent;
}
......
......@@ -21,10 +21,6 @@
#include "taskpane/SubToolPanel.hxx"
namespace sd {
class ViewShellBase;
}
namespace sd { namespace toolpanel {
class ControlFactory;
class TreeNode;
......
......@@ -22,10 +22,6 @@
#include "taskpane/SubToolPanel.hxx"
namespace sd {
class ViewShellBase;
}
namespace sd { namespace toolpanel {
class TreeNode;
class ControlFactory;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment