Remove obsolete fw declarations from sd/

found with bin/find-unneeded-includes --fwdecl

Change-Id: Icca48a80a17fad6765d0e871ec2a6f12e0317d60
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183901
Tested-by: Jenkins
Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de>
This commit is contained in:
Gabor Kelemen 2025-04-08 16:18:22 +02:00
parent 90ce84a5dd
commit 1c99fa6372
64 changed files with 8 additions and 181 deletions

View File

@ -72,9 +72,6 @@ excludelist:
- com/sun/star/lang/XServiceInfo.hpp - com/sun/star/lang/XServiceInfo.hpp
- com/sun/star/style/XStyle.hpp - com/sun/star/style/XStyle.hpp
- com/sun/star/util/XModifyBroadcaster.hpp - com/sun/star/util/XModifyBroadcaster.hpp
sd/inc/textapi.hxx:
# base class has to be a complete type
- editeng/outliner.hxx
sd/inc/TransitionPreset.hxx: sd/inc/TransitionPreset.hxx:
# base class has to be a complete type # base class has to be a complete type
- com/sun/star/lang/XMultiServiceFactory.hpp - com/sun/star/lang/XMultiServiceFactory.hpp
@ -91,6 +88,9 @@ excludelist:
sd/source/filter/eppt/eppt.hxx: sd/source/filter/eppt/eppt.hxx:
# base class has to be a complete type # base class has to be a complete type
- escherex.hxx - escherex.hxx
sd/source/filter/html/htmlex.hxx:
# Needed in --fwdecl mode, to silence "externally available entity 'HtmlState' is not previously declared in an included file"
- class HtmlState
sd/source/ui/annotations/annotationmanagerimpl.hxx: sd/source/ui/annotations/annotationmanagerimpl.hxx:
# base class has to be a complete type # base class has to be a complete type
- annotationtag.hxx - annotationtag.hxx
@ -122,16 +122,16 @@ excludelist:
# base class has to be a complete type # base class has to be a complete type
- com/sun/star/container/XNamed.hpp - com/sun/star/container/XNamed.hpp
- com/sun/star/drawing/framework/XConfigurationChangeRequest.hpp - com/sun/star/drawing/framework/XConfigurationChangeRequest.hpp
sd/source/ui/framework/factories/BasicToolBarFactory.hxx: sd/source/ui/inc/framework/factories/BasicToolBarFactory.hxx:
# base class has to be a complete type # base class has to be a complete type
- com/sun/star/drawing/framework/XResourceFactory.hpp - com/sun/star/drawing/framework/XResourceFactory.hpp
- com/sun/star/lang/XInitialization.hpp - com/sun/star/lang/XInitialization.hpp
sd/source/ui/framework/factories/BasicPaneFactory.hxx: sd/source/ui/inc/framework/factories/BasicPaneFactory.hxx:
# base class has to be a complete type # base class has to be a complete type
- com/sun/star/drawing/framework/XConfigurationChangeListener.hpp - com/sun/star/drawing/framework/XConfigurationChangeListener.hpp
- com/sun/star/drawing/framework/XResourceFactory.hpp - com/sun/star/drawing/framework/XResourceFactory.hpp
- com/sun/star/lang/XInitialization.hpp - com/sun/star/lang/XInitialization.hpp
sd/source/ui/framework/factories/BasicViewFactory.hxx: sd/source/ui/inc/framework/factories/BasicViewFactory.hxx:
# base class has to be a complete type # base class has to be a complete type
- com/sun/star/drawing/framework/XResourceFactory.hpp - com/sun/star/drawing/framework/XResourceFactory.hpp
- com/sun/star/lang/XInitialization.hpp - com/sun/star/lang/XInitialization.hpp
@ -259,9 +259,6 @@ excludelist:
- com/sun/star/drawing/framework/XView.hpp - com/sun/star/drawing/framework/XView.hpp
- com/sun/star/lang/XUnoTunnel.hpp - com/sun/star/lang/XUnoTunnel.hpp
- com/sun/star/view/XSelectionSupplier.hpp - com/sun/star/view/XSelectionSupplier.hpp
sd/source/ui/inc/tools/PropertySet.hxx:
# base class has to be a complete type
- com/sun/star/beans/XPropertySet.hpp
sd/source/ui/inc/tools/SlotStateListener.hxx: sd/source/ui/inc/tools/SlotStateListener.hxx:
# base class has to be a complete type # base class has to be a complete type
- com/sun/star/frame/XStatusListener.hpp - com/sun/star/frame/XStatusListener.hpp
@ -308,11 +305,6 @@ excludelist:
- com/sun/star/beans/XPropertyChangeListener.hpp - com/sun/star/beans/XPropertyChangeListener.hpp
- com/sun/star/accessibility/XAccessibleEventListener.hpp - com/sun/star/accessibility/XAccessibleEventListener.hpp
- com/sun/star/frame/XFrameActionListener.hpp - com/sun/star/frame/XFrameActionListener.hpp
sd/source/ui/slidesorter/shell/SlideSorterService.hxx:
# base class has to be a complete type
- com/sun/star/awt/XWindowListener.hpp
- com/sun/star/drawing/XSlideSorterBase.hpp
- com/sun/star/lang/XInitialization.hpp
sd/source/ui/unoidl/sddetect.hxx: sd/source/ui/unoidl/sddetect.hxx:
# base class has to be a complete type # base class has to be a complete type
- com/sun/star/document/XExtendedFilterDetection.hpp - com/sun/star/document/XExtendedFilterDetection.hpp
@ -332,9 +324,6 @@ excludelist:
- com/sun/star/beans/XPropertyState.hpp - com/sun/star/beans/XPropertyState.hpp
- com/sun/star/lang/XServiceInfo.hpp - com/sun/star/lang/XServiceInfo.hpp
- com/sun/star/lang/XUnoTunnel.hpp - com/sun/star/lang/XUnoTunnel.hpp
sd/source/core/annotations/AnnotationEnumeration.cxx:
# Avoid loplugin:unreffun error
- AnnotationEnumeration.hxx
sd/source/core/CustomAnimationCloner.cxx: sd/source/core/CustomAnimationCloner.cxx:
# Avoid loplugin:unreffun error # Avoid loplugin:unreffun error
- CustomAnimationCloner.hxx - CustomAnimationCloner.hxx
@ -423,9 +412,6 @@ excludelist:
sd/source/core/drawdoc.cxx: sd/source/core/drawdoc.cxx:
# Needed for template # Needed for template
- com/sun/star/frame/XModel.hpp - com/sun/star/frame/XModel.hpp
sd/source/core/text/textapi.cxx:
# Needed for macro defines
- editeng/unoprnms.hxx
sd/source/filter/eppt/epptso.cxx: sd/source/filter/eppt/epptso.cxx:
# Needed for direct member access # Needed for direct member access
- com/sun/star/table/XTable.hpp - com/sun/star/table/XTable.hpp
@ -457,9 +443,6 @@ excludelist:
sd/source/filter/xml/sdtransform.cxx: sd/source/filter/xml/sdtransform.cxx:
# Needed for implicit dtor # Needed for implicit dtor
- editeng/outlobj.hxx - editeng/outlobj.hxx
sd/source/ui/annotations/annotationtag.cxx:
# Needed for template
- com/sun/star/office/XAnnotation.hpp
sd/source/ui/animations/CustomAnimationList.cxx: sd/source/ui/animations/CustomAnimationList.cxx:
# Actually used # Actually used
- comphelper/scopeguard.hxx - comphelper/scopeguard.hxx

View File

@ -36,12 +36,8 @@
class SdrUndoAction; class SdrUndoAction;
namespace com::sun::star::office { class XAnnotation; }
namespace com::sun::star::uno { template <typename > class Reference; } namespace com::sun::star::uno { template <typename > class Reference; }
class SfxViewShell;
namespace sd namespace sd
{ {

View File

@ -38,7 +38,6 @@
#include "stlpool.hxx" #include "stlpool.hxx"
namespace com::sun::star::xml::dom { class XNode; } namespace com::sun::star::xml::dom { class XNode; }
namespace com::sun::star::uno { class XInterface; }
namespace editeng { class SvxFieldItemUpdater; } namespace editeng { class SvxFieldItemUpdater; }
namespace vcl { class Font; } namespace vcl { class Font; }
namespace com::sun::star::presentation { class XPresentation2; } namespace com::sun::star::presentation { class XPresentation2; }
@ -58,9 +57,7 @@ class SdCustomShowList;
class SdUndoGroup; class SdUndoGroup;
class SdrObject; class SdrObject;
class Idle; class Idle;
class ImageMap;
class Outliner; class Outliner;
class SdrModel;
class SdrOutliner; class SdrOutliner;
class SdrPage; class SdrPage;
class SdrTextObj; class SdrTextObj;

View File

@ -56,7 +56,6 @@ class Graphic;
namespace sd namespace sd
{ {
class MainSequence; class MainSequence;
class Annotation;
} }
namespace sd { namespace sd {

View File

@ -48,11 +48,9 @@ namespace sdext::presenter {
class PresenterCanvasHelper; class PresenterCanvasHelper;
class PresenterPaintManager; class PresenterPaintManager;
class PresenterPaneAnimator;
class PresenterPaneContainer; class PresenterPaneContainer;
class PresenterPaneBorderPainter; class PresenterPaneBorderPainter;
class PresenterScreen; class PresenterScreen;
class PresenterTheme;
class PresenterWindowManager; class PresenterWindowManager;
typedef ::cppu::WeakComponentImplHelper < typedef ::cppu::WeakComponentImplHelper <

View File

@ -32,8 +32,6 @@
namespace sdext::presenter { namespace sdext::presenter {
class PresenterPaneContainer;
/** Synchronize painting of windows and canvases. At the moment there is /** Synchronize painting of windows and canvases. At the moment there is
just some processing of invalidate calls. just some processing of invalidate calls.
This could be extended to process incoming windowPaint() calls. This could be extended to process incoming windowPaint() calls.

View File

@ -30,7 +30,6 @@
namespace sdext::presenter { namespace sdext::presenter {
class PresenterPane;
class PresenterTheme; class PresenterTheme;
typedef ::cppu::WeakComponentImplHelper< typedef ::cppu::WeakComponentImplHelper<

View File

@ -36,9 +36,6 @@
namespace sdext::presenter { namespace sdext::presenter {
class PresenterPaneBase;
class PresenterSprite;
typedef ::cppu::WeakComponentImplHelper < typedef ::cppu::WeakComponentImplHelper <
css::lang::XEventListener css::lang::XEventListener
> PresenterPaneContainerInterfaceBase; > PresenterPaneContainerInterfaceBase;

View File

@ -36,7 +36,6 @@
namespace com::sun::star::awt { class XControlModel; } namespace com::sun::star::awt { class XControlModel; }
namespace com::sun::star::beans { class XPropertySet; } namespace com::sun::star::beans { class XPropertySet; }
namespace com::sun::star::beans { struct PropertyValue; }
namespace com::sun::star::drawing { class XShape; } namespace com::sun::star::drawing { class XShape; }
namespace com::sun::star::frame { class XModel; } namespace com::sun::star::frame { class XModel; }
namespace com::sun::star::task { class XStatusIndicator; } namespace com::sun::star::task { class XStatusIndicator; }

View File

@ -28,7 +28,6 @@
#include <memory> #include <memory>
namespace com::sun::star { namespace com::sun::star {
namespace awt { struct FontDescriptor; }
namespace beans { class XPropertyState; } namespace beans { class XPropertyState; }
namespace text { class XTextRange; class XTextContent; class XSimpleText; } namespace text { class XTextRange; class XTextContent; class XSimpleText; }
namespace style { struct TabStop; } namespace style { struct TabStop; }

View File

@ -32,16 +32,9 @@
namespace sd { class DrawDocShell; } namespace sd { class DrawDocShell; }
class OutlinerParaObject;
class SfxItemSet;
class SfxProgress; class SfxProgress;
class SdrOutliner;
class SdPage; class SdPage;
class HtmlState; class HtmlState;
class SdrTextObj;
class SdrObjGroup;
namespace sdr::table { class SdrTableObj; }
class SdrPage;
class SdDrawDocument; class SdDrawDocument;
/// this class exports an Impress Document as a HTML Presentation. /// this class exports an Impress Document as a HTML Presentation.

View File

@ -12,10 +12,6 @@
#include <svx/annotation/IAnnotationPopup.hxx> #include <svx/annotation/IAnnotationPopup.hxx>
#include <vcl/weld.hxx> #include <vcl/weld.hxx>
namespace com::sun::star::office
{
class XAnnotation;
}
namespace sdr::annotation namespace sdr::annotation
{ {
class Annotation; class Annotation;
@ -23,7 +19,6 @@ class Annotation;
namespace sd namespace sd
{ {
class View;
class AnnotationWindow; class AnnotationWindow;
class AnnotationPopup final : public sdr::annotation::IAnnotationPopup class AnnotationPopup final : public sdr::annotation::IAnnotationPopup

View File

@ -35,7 +35,6 @@ namespace sdr::annotation { class TextApiObject; }
namespace sd namespace sd
{ {
class AnnotationManagerImpl;
class DrawDocShell; class DrawDocShell;
class AnnotationWindow; class AnnotationWindow;

View File

@ -31,10 +31,6 @@ class XConfiguration;
} }
namespace com::sun::star::drawing::framework namespace com::sun::star::drawing::framework
{ {
class XControllerManager;
}
namespace com::sun::star::drawing::framework
{
class XResourceId; class XResourceId;
} }
namespace sd namespace sd

View File

@ -23,7 +23,6 @@
#include <com/sun/star/container/XNamed.hpp> #include <com/sun/star/container/XNamed.hpp>
#include <comphelper/compbase.hxx> #include <comphelper/compbase.hxx>
namespace com::sun::star::drawing::framework { class XConfiguration; }
namespace com::sun::star::drawing::framework { class XResourceId; } namespace com::sun::star::drawing::framework { class XResourceId; }
namespace sd::framework { namespace sd::framework {

View File

@ -30,7 +30,6 @@
#include <rtl/ref.hxx> #include <rtl/ref.hxx>
#include <rtl/ustring.hxx> #include <rtl/ustring.hxx>
namespace com::sun::star::drawing::framework { class XControllerManager; }
namespace com::sun::star::drawing::framework { class XResourceFactory; } namespace com::sun::star::drawing::framework { class XResourceFactory; }
namespace com::sun::star::util { class XURLTransformer; } namespace com::sun::star::util { class XURLTransformer; }
namespace sd { class DrawController; } namespace sd { class DrawController; }

View File

@ -23,8 +23,6 @@
#include <com/sun/star/container/XNamed.hpp> #include <com/sun/star/container/XNamed.hpp>
#include <comphelper/compbase.hxx> #include <comphelper/compbase.hxx>
namespace com::sun::star::drawing::framework { class XConfiguration; }
namespace sd::framework { namespace sd::framework {
typedef comphelper::WeakComponentImplHelper < typedef comphelper::WeakComponentImplHelper <

View File

@ -29,7 +29,6 @@
class SfxShell; class SfxShell;
namespace sd { class ViewShellBase; } namespace sd { class ViewShellBase; }
namespace com::sun::star::awt { class XWindow; }
namespace com::sun::star::drawing::framework { class XResourceId; } namespace com::sun::star::drawing::framework { class XResourceId; }
namespace sd::framework { namespace sd::framework {

View File

@ -27,10 +27,6 @@ namespace com::sun::star::drawing::framework
{ {
class XConfigurationController; class XConfigurationController;
} }
namespace com::sun::star::frame
{
class XController;
}
namespace sd namespace sd
{ {

View File

@ -19,10 +19,6 @@ namespace com::sun::star::drawing::framework
class XConfigurationController; class XConfigurationController;
class XView; class XView;
} }
namespace com::sun::star::frame
{
class XController;
}
namespace sd namespace sd
{ {
class DrawController; class DrawController;

View File

@ -32,10 +32,6 @@ namespace com::sun::star::drawing::framework
{ {
class XConfigurationController; class XConfigurationController;
} }
namespace com::sun::star::frame
{
class XController;
}
namespace sd namespace sd
{ {

View File

@ -26,9 +26,7 @@
#include <set> #include <set>
namespace com::sun::star::drawing::framework { class XConfigurationController; } namespace com::sun::star::drawing::framework { class XConfigurationController; }
namespace com::sun::star::drawing::framework { class XControllerManager; }
namespace com::sun::star::drawing::framework { class XTabBar; } namespace com::sun::star::drawing::framework { class XTabBar; }
namespace com::sun::star::frame { class XController; }
namespace sd { class DrawController; } namespace sd { class DrawController; }
namespace sd::framework { namespace sd::framework {

View File

@ -33,10 +33,6 @@ namespace com::sun::star::drawing::framework
class XConfigurationController; class XConfigurationController;
class XResourceId; class XResourceId;
} }
namespace com::sun::star::frame
{
class XController;
}
namespace sd { namespace sd {
class DrawController; class DrawController;

View File

@ -25,7 +25,6 @@
namespace com::sun::star::drawing::framework { class XConfigurationController; } namespace com::sun::star::drawing::framework { class XConfigurationController; }
namespace com::sun::star::drawing::framework { class XTabBar; } namespace com::sun::star::drawing::framework { class XTabBar; }
namespace com::sun::star::frame { class XController; }
namespace sd { class DrawController; } namespace sd { class DrawController; }
namespace sd::framework { namespace sd::framework {

View File

@ -32,11 +32,7 @@
#define MN_GALLERY_ENTRY 100 #define MN_GALLERY_ENTRY 100
class ColorListBox; class ColorListBox;
class SvxNumValueSet;
class SvxNumRule; class SvxNumRule;
class SvxBmpNumValueSet;
class SvxBrushItem;
class SdDrawDocument;
namespace sd namespace sd
{ {

View File

@ -28,7 +28,6 @@
#include <vector> #include <vector>
namespace com::sun::star::drawing { class XDrawPage; } namespace com::sun::star::drawing { class XDrawPage; }
namespace com::sun::star::drawing { class XDrawView; }
namespace weld { class ComboBox; } namespace weld { class ComboBox; }
namespace com::sun::star::animations { class XAnimationNode; } namespace com::sun::star::animations { class XAnimationNode; }
namespace sd::tools { class EventMultiplexerEvent; } namespace sd::tools { class EventMultiplexerEvent; }

View File

@ -36,8 +36,6 @@
#include <vector> #include <vector>
namespace com::sun::star::drawing { class XDrawSubController; } namespace com::sun::star::drawing { class XDrawSubController; }
namespace com::sun::star::drawing::framework { class XConfigurationController; }
namespace com::sun::star::drawing::framework { class XModuleController; }
namespace com::sun::star::drawing { class XLayer; } namespace com::sun::star::drawing { class XLayer; }
namespace osl { class Mutex; } namespace osl { class Mutex; }
namespace sd::framework { class ConfigurationController; } namespace sd::framework { class ConfigurationController; }

View File

@ -25,11 +25,6 @@
#include <memory> #include <memory>
#include <set> #include <set>
namespace osl
{
class Mutex;
}
class SdDrawDocument; class SdDrawDocument;
namespace sd namespace sd

View File

@ -13,8 +13,6 @@
#include "fuoltext.hxx" #include "fuoltext.hxx"
#include <glob.hxx> #include <glob.hxx>
class SdPage;
namespace sd namespace sd
{ {
class NotesPanelView; class NotesPanelView;

View File

@ -30,7 +30,6 @@ class SdPage;
class SdrPage; class SdrPage;
class SdrTextObj; class SdrTextObj;
class SfxProgress; class SfxProgress;
struct PasteOrDropInfos;
class EditView; class EditView;
namespace sd::tools { namespace sd::tools {

View File

@ -22,7 +22,6 @@
#include "DrawSubController.hxx" #include "DrawSubController.hxx"
namespace sd::slidesorter { class SlideSorter; } namespace sd::slidesorter { class SlideSorter; }
namespace com::sun::star::drawing { class XDrawPage; }
namespace sd { namespace sd {

View File

@ -31,7 +31,6 @@
class SdDrawDocument; class SdDrawDocument;
class SdXImpressDocument; class SdXImpressDocument;
namespace com::sun::star::drawing { class XDrawView; } namespace com::sun::star::drawing { class XDrawView; }
namespace com::sun::star::frame { class XModel; }
namespace sd::tools { class EventMultiplexerEvent; } namespace sd::tools { class EventMultiplexerEvent; }
namespace sd namespace sd

View File

@ -33,12 +33,6 @@
class SdrPage; class SdrPage;
class SdrModel; class SdrModel;
class SdrObject; class SdrObject;
class Size;
namespace com::sun::star::animations
{
class XAnimate;
}
namespace sdr::contact namespace sdr::contact
{ {

View File

@ -26,7 +26,6 @@
namespace com::sun::star::beans { class XPropertySet; } namespace com::sun::star::beans { class XPropertySet; }
namespace com::sun::star::container { class XIndexAccess; class XNameContainer; } namespace com::sun::star::container { class XIndexAccess; class XNameContainer; }
namespace com::sun::star::drawing { class XDrawView; }
namespace sd namespace sd
{ {

View File

@ -32,7 +32,6 @@
class SdDrawDocument; class SdDrawDocument;
class SdPage; class SdPage;
class SdrOle2Obj;
class SdrGrafObj; class SdrGrafObj;
class SdrMediaObj; class SdrMediaObj;
class OutputDevice; class OutputDevice;

View File

@ -30,8 +30,6 @@
namespace com::sun::star::drawing::framework { class XConfigurationController; } namespace com::sun::star::drawing::framework { class XConfigurationController; }
namespace com::sun::star::drawing::framework { class XResourceId; } namespace com::sun::star::drawing::framework { class XResourceId; }
namespace com::sun::star::drawing::framework { struct ConfigurationChangeEvent; }
namespace com::sun::star::frame { class XController; }
namespace vcl { class Window; } namespace vcl { class Window; }
namespace sd { namespace sd {

View File

@ -23,7 +23,6 @@
#include <svx/xtable.hxx> #include <svx/xtable.hxx>
class SfxObjectShell; class SfxObjectShell;
enum class ChangeType;
/** /**
* Page configuration-tab-dialog * Page configuration-tab-dialog

View File

@ -26,7 +26,6 @@
#include <memory> #include <memory>
namespace com::sun::star::util { class XCloneable; }
namespace com::sun::star::drawing::framework { class XConfigurationControllerBroadcaster; } namespace com::sun::star::drawing::framework { class XConfigurationControllerBroadcaster; }
namespace sd::framework { namespace sd::framework {

View File

@ -29,12 +29,6 @@
#include <memory> #include <memory>
namespace com::sun::star::drawing::framework { class XConfiguration; }
namespace com::sun::star::drawing::framework { class XConfigurationChangeRequest; }
namespace com::sun::star::drawing::framework { class XResourceId; }
namespace com::sun::star::drawing::framework { struct ConfigurationChangeEvent; }
namespace com::sun::star::frame { class XController; }
namespace sd { class DrawController; } namespace sd { class DrawController; }
namespace sd::framework { namespace sd::framework {

View File

@ -22,14 +22,6 @@
#include <sal/types.h> #include <sal/types.h>
#include <rtl/ref.hxx> #include <rtl/ref.hxx>
namespace com::sun::star::frame
{
class XController;
}
namespace com::sun::star::uno
{
template <typename> class Reference;
}
namespace sd namespace sd
{ {
class DrawController; class DrawController;

View File

@ -22,14 +22,6 @@
#include <sal/types.h> #include <sal/types.h>
#include <rtl/ref.hxx> #include <rtl/ref.hxx>
namespace com::sun::star::frame
{
class XController;
}
namespace com::sun::star::uno
{
template <class interface_type> class Reference;
}
namespace sd namespace sd
{ {
class DrawController; class DrawController;

View File

@ -27,8 +27,6 @@
#include <unordered_map> #include <unordered_map>
namespace com::sun::star::frame { class XController; }
namespace com::sun::star::uno { class XComponentContext; }
namespace sd { class DrawController; } namespace sd { class DrawController; }
namespace sd::framework { namespace sd::framework {

View File

@ -24,7 +24,6 @@
#include <comphelper/compbase.hxx> #include <comphelper/compbase.hxx>
#include <rtl/ref.hxx> #include <rtl/ref.hxx>
namespace com::sun::star::frame { class XController; }
namespace sd { class DrawController; } namespace sd { class DrawController; }
namespace sd::framework { namespace sd::framework {

View File

@ -22,14 +22,6 @@
#include <sal/types.h> #include <sal/types.h>
#include <rtl/ref.hxx> #include <rtl/ref.hxx>
namespace com::sun::star::frame
{
class XController;
}
namespace com::sun::star::uno
{
template <class interface_type> class Reference;
}
namespace sd namespace sd
{ {
class DrawController; class DrawController;

View File

@ -28,7 +28,6 @@
#include <memory> #include <memory>
namespace com::sun::star::drawing::framework { class XConfigurationController; }
namespace com::sun::star::uno { class XComponentContext; } namespace com::sun::star::uno { class XComponentContext; }
namespace sd { namespace sd {

View File

@ -24,8 +24,6 @@
#include <comphelper/compbase.hxx> #include <comphelper/compbase.hxx>
#include <rtl/ref.hxx> #include <rtl/ref.hxx>
namespace com::sun::star::frame { class XController; }
namespace com::sun::star::drawing::framework { class XResourceId; }
namespace com::sun::star::drawing::framework { class XConfigurationController; } namespace com::sun::star::drawing::framework { class XConfigurationController; }
namespace sd { class DrawController; } namespace sd { class DrawController; }

View File

@ -24,7 +24,6 @@
class SdDrawDocument; class SdDrawDocument;
class SfxRequest; class SfxRequest;
class SfxItemSet; class SfxItemSet;
class SfxPoolItem;
class SvxNumBulletItem; class SvxNumBulletItem;
namespace sd { namespace sd {

View File

@ -21,8 +21,6 @@
#include "fudraw.hxx" #include "fudraw.hxx"
namespace com::sun::star::media { class XPlayer; }
class SdrHdl; class SdrHdl;
class SdrObject; class SdrObject;

View File

@ -33,9 +33,7 @@ namespace vcl { class Window; }
namespace sd { namespace sd {
class DrawDocShell; class DrawDocShell;
class SdNavigatorFloat;
} }
class Menu;
class SdNavigatorControllerItem; class SdNavigatorControllerItem;
class SdPageNameControllerItem; class SdPageNameControllerItem;

View File

@ -26,9 +26,7 @@
#include <functional> #include <functional>
namespace com::sun::star::container { class XHierarchicalNameAccess; } namespace com::sun::star::container { class XHierarchicalNameAccess; }
namespace com::sun::star::container { class XNameAccess; }
namespace com::sun::star::lang { class XMultiServiceFactory; } namespace com::sun::star::lang { class XMultiServiceFactory; }
namespace com::sun::star::uno { class XComponentContext; }
namespace sd::tools { namespace sd::tools {

View File

@ -27,7 +27,6 @@
namespace com::sun::star::frame { class XDispatch; } namespace com::sun::star::frame { class XDispatch; }
namespace com::sun::star::frame { class XDispatchProvider; } namespace com::sun::star::frame { class XDispatchProvider; }
namespace com::sun::star::frame { class XStatusListener; } namespace com::sun::star::frame { class XStatusListener; }
namespace com::sun::star::frame { struct FeatureStateEvent; }
namespace sd::tools { namespace sd::tools {

View File

@ -25,7 +25,6 @@
#include <sdundo.hxx> #include <sdundo.hxx>
class SfxItemSet;
class SfxStyleSheet; class SfxStyleSheet;
class SdDrawDocument; class SdDrawDocument;

View File

@ -27,8 +27,6 @@
class SdDrawDocument; class SdDrawDocument;
class SdPage; class SdPage;
class SfxItemSet;
class SfxPoolItem;
class SdBackgroundObjUndoAction final : public SdUndoAction class SdBackgroundObjUndoAction final : public SdUndoAction
{ {

View File

@ -47,9 +47,7 @@
#include <cppuhelper/weakref.hxx> #include <cppuhelper/weakref.hxx>
#include <sddllapi.h> #include <sddllapi.h>
namespace com::sun::star::container { class XNameContainer; }
namespace com::sun::star::i18n { class XForbiddenCharacters; } namespace com::sun::star::i18n { class XForbiddenCharacters; }
namespace com::sun::star::presentation { class XPresentation; }
class SdDrawDocument; class SdDrawDocument;
class SdPage; class SdPage;

View File

@ -30,7 +30,6 @@
namespace com::sun::star::drawing { class XDrawPage; } namespace com::sun::star::drawing { class XDrawPage; }
namespace com::sun::star::drawing { class XShape; } namespace com::sun::star::drawing { class XShape; }
namespace com::sun::star::text { class XTextRange; } namespace com::sun::star::text { class XTextRange; }
namespace com::sun::star::util { class XSearchDescriptor; }
class SvxItemPropertySet; class SvxItemPropertySet;
class SdUnoSearchReplaceDescriptor; class SdUnoSearchReplaceDescriptor;

View File

@ -18,6 +18,8 @@
#include "DiscoveryService.hxx" #include "DiscoveryService.hxx"
#include "ZeroconfService.hxx" #include "ZeroconfService.hxx"
struct sockaddr_in;
#ifdef _WIN32 #ifdef _WIN32
// LO vs WinAPI conflict // LO vs WinAPI conflict
#undef WB_LEFT #undef WB_LEFT

View File

@ -20,8 +20,6 @@
#define kREG_TYPE "_impressremote._tcp" #define kREG_TYPE "_impressremote._tcp"
struct sockaddr_in;
typedef unsigned int uint; typedef unsigned int uint;
namespace sd{ namespace sd{

View File

@ -26,10 +26,6 @@
#include <sfx2/request.hxx> #include <sfx2/request.hxx>
#include <xmloff/autolayout.hxx> #include <xmloff/autolayout.hxx>
namespace com::sun::star::frame
{
class XStatusListener;
}
namespace com::sun::star::ui namespace com::sun::star::ui
{ {
class XSidebar; class XSidebar;

View File

@ -35,7 +35,6 @@
#include <slideshow.hxx> #include <slideshow.hxx>
namespace com::sun::star::frame { class XModel; }
namespace com::sun::star::media { class XPlayer; } namespace com::sun::star::media { class XPlayer; }
namespace sd { class DrawDocShell; } namespace sd { class DrawDocShell; }
namespace sd { class ViewShell; } namespace sd { class ViewShell; }

View File

@ -33,8 +33,6 @@
namespace com::sun::star::awt { class XPointer; } namespace com::sun::star::awt { class XPointer; }
namespace com::sun::star::awt { class XWindow; } namespace com::sun::star::awt { class XWindow; }
namespace com::sun::star::awt { class XWindowPeer; } namespace com::sun::star::awt { class XWindowPeer; }
namespace com::sun::star::awt { struct WindowEvent; }
namespace com::sun::star::rendering { class XSpriteCanvas; }
class SdDrawDocument; class SdDrawDocument;
namespace sd namespace sd

View File

@ -24,11 +24,6 @@
#include <memory> #include <memory>
#include <vector> #include <vector>
namespace com::sun::star::uno
{
class XInterface;
}
class SdrPage; class SdrPage;
class SdXImpressDocument; class SdXImpressDocument;

View File

@ -26,8 +26,6 @@
#include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XServiceInfo.hpp>
namespace com::sun::star::beans { struct PropertyValue; }
class SdFilterDetect : public ::cppu::WeakImplHelper< css::document::XExtendedFilterDetection, css::lang::XServiceInfo > class SdFilterDetect : public ::cppu::WeakImplHelper< css::document::XExtendedFilterDetection, css::lang::XServiceInfo >
{ {
public: public:

View File

@ -27,9 +27,6 @@
#include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XServiceInfo.hpp>
namespace com::sun::star::beans { struct PropertyValue; }
namespace com::sun::star::frame { struct DispatchDescriptor; }
class SdUnoModule : public ::cppu::WeakImplHelper< css::frame::XDispatchProvider, css::frame::XNotifyingDispatch, css::lang::XServiceInfo > class SdUnoModule : public ::cppu::WeakImplHelper< css::frame::XDispatchProvider, css::frame::XNotifyingDispatch, css::lang::XServiceInfo >
{ {
public: public:

View File

@ -35,7 +35,6 @@
class SdDrawDocument; class SdDrawDocument;
class SdrModel; class SdrModel;
class SfxItemSet; class SfxItemSet;
class SvxItemPropertySet;
struct SfxItemPropertyMapEntry; struct SfxItemPropertyMapEntry;
const SvxItemPropertySet* ImplGetPageBackgroundPropertySet(); const SvxItemPropertySet* ImplGetPageBackgroundPropertySet();