Remove obsolete fw declarations from cppcanvas/ cui/

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

Change-Id: Ie0669b460378c909d5cee2a786763e4d54087ff0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183881
Tested-by: Jenkins
Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de>
This commit is contained in:
Gabor Kelemen
2025-01-06 11:55:05 +01:00
parent 8d9cd8c894
commit 99741c0ece
26 changed files with 2 additions and 57 deletions

View File

@@ -27,11 +27,6 @@
#include <optional> #include <optional>
namespace com::sun::star::rendering
{
class XGraphicDevice;
}
/* Definition of CanvasGraphicHelper class */ /* Definition of CanvasGraphicHelper class */

View File

@@ -27,8 +27,6 @@
#include <action.hxx> #include <action.hxx>
namespace basegfx { class B2DHomMatrix; }
/* Definition of internal::CachedPrimitiveBase class */ /* Definition of internal::CachedPrimitiveBase class */

View File

@@ -27,12 +27,6 @@
#include <basegfx/polygon/b2dpolypolygon.hxx> #include <basegfx/polygon/b2dpolypolygon.hxx>
namespace basegfx
{
class B2DHomMatrix;
class B2DPolyPolygon;
}
namespace com::sun::star::rendering namespace com::sun::star::rendering
{ {
class XCanvas; class XCanvas;

View File

@@ -26,11 +26,6 @@
#include <cppcanvas/polypolygon.hxx> #include <cppcanvas/polypolygon.hxx>
#include <canvasgraphichelper.hxx> #include <canvasgraphichelper.hxx>
namespace com::sun::star::rendering
{
struct RealPoint2D;
}
namespace cppcanvas::internal namespace cppcanvas::internal
{ {

View File

@@ -30,7 +30,6 @@
#include <atomic> #include <atomic>
class AdditionsDialog;
class SearchAndParseThread; class SearchAndParseThread;
class AdditionsItem; class AdditionsItem;

View File

@@ -22,6 +22,8 @@
#include <i18nutil/searchopt.hxx> #include <i18nutil/searchopt.hxx>
#include "cfgutil.hxx" #include "cfgutil.hxx"
class SaveInData;
class CommandCategoryListBox class CommandCategoryListBox
{ {
SfxGroupInfoArr_Impl m_aGroupInfo; SfxGroupInfoArr_Impl m_aGroupInfo;

View File

@@ -34,9 +34,6 @@
#if HAVE_FEATURE_SCRIPTING #if HAVE_FEATURE_SCRIPTING
class SfxMacroInfoItem; class SfxMacroInfoItem;
#endif #endif
class CuiConfigFunctionListBox;
class SfxAcceleratorConfigPage;
class SfxStringItem;
// class SfxAcceleratorConfigPage ---------------------------------------- // class SfxAcceleratorConfigPage ----------------------------------------

View File

@@ -22,10 +22,6 @@
#include "cuitabarea.hxx" #include "cuitabarea.hxx"
class BackgroundPreviewImpl;
class SvxOpenGraphicDialog;
class SvxBrushItem;
/** class SvxBackgroundTabPage -------------------------------------------- /** class SvxBackgroundTabPage --------------------------------------------
[Description] [Description]

View File

@@ -33,8 +33,6 @@
#include <vcl/weld.hxx> #include <vcl/weld.hxx>
#include <config_features.h> #include <config_features.h>
class Button;
class SaveInData;
#if HAVE_FEATURE_SCRIPTING #if HAVE_FEATURE_SCRIPTING
class SfxMacroInfoItem; class SfxMacroInfoItem;
#endif #endif

View File

@@ -23,10 +23,8 @@
#include <utility> #include <utility>
// forward-declarations // forward-declarations
struct IconChoicePageData;
class SvxHpLinkDlg; class SvxHpLinkDlg;
class IconChoicePage; class IconChoicePage;
class SfxItemPool;
class SfxItemSet; class SfxItemSet;
// Create-Function // Create-Function

View File

@@ -26,8 +26,6 @@
#include <vcl/weld.hxx> #include <vcl/weld.hxx>
#include <comphelper/embeddedobjectcontainer.hxx> #include <comphelper/embeddedobjectcontainer.hxx>
class INetURLObject;
class InsertObjectDialog_Impl : public weld::GenericDialogController class InsertObjectDialog_Impl : public weld::GenericDialogController
{ {
protected: protected:

View File

@@ -27,7 +27,6 @@
#include <com/sun/star/frame/XFrame.hpp> #include <com/sun/star/frame/XFrame.hpp>
#include <memory> #include <memory>
class SfxMacroTabPage_;
class SfxMacroTabPage_Impl; class SfxMacroTabPage_Impl;
class Timer; class Timer;

View File

@@ -28,7 +28,6 @@
class SvxNumberFormatShell; class SvxNumberFormatShell;
class SvxNumberInfoItem; class SvxNumberInfoItem;
class vector;
class SvxNumberPreview : public weld::CustomWidgetController class SvxNumberPreview : public weld::CustomWidgetController

View File

@@ -36,7 +36,6 @@ class ColorListBox;
class SvxNumValueSet; class SvxNumValueSet;
class SvxNumRule; class SvxNumRule;
class SvxBmpNumValueSet; class SvxBmpNumValueSet;
class SvxBrushItem;
struct ImplSVEvent; struct ImplSVEvent;
struct SvxNumSettings_Impl struct SvxNumSettings_Impl

View File

@@ -26,7 +26,6 @@
namespace com::sun::star{ namespace com::sun::star{
namespace linguistic2{ namespace linguistic2{
class XDictionary; class XDictionary;
class XSpellChecker1;
} }
} }

View File

@@ -25,9 +25,6 @@
#include <com/sun/star/configuration/ReadWriteAccess.hpp> #include <com/sun/star/configuration/ReadWriteAccess.hpp>
namespace com::sun::star{ namespace com::sun::star{
namespace beans{
class XPropertySet;
}
namespace linguistic2{ namespace linguistic2{
class XDictionary; class XDictionary;
class XDictionaryList; class XDictionaryList;

View File

@@ -27,7 +27,6 @@
// forward --------------------------------------------------------------- // forward ---------------------------------------------------------------
struct OptPath_Impl; struct OptPath_Impl;
class SvxPathTabPage;
// class SvxPathTabPage -------------------------------------------------- // class SvxPathTabPage --------------------------------------------------
class SvxPathTabPage : public SfxTabPage class SvxPathTabPage : public SfxTabPage

View File

@@ -25,7 +25,6 @@
#include <vcl/transfer.hxx> #include <vcl/transfer.hxx>
#include <vcl/weld.hxx> #include <vcl/weld.hxx>
struct TransferableObjectDescriptor;
class TransferableDataHelper; class TransferableDataHelper;
class SvPasteObjectDialog : public weld::GenericDialogController class SvPasteObjectDialog : public weld::GenericDialogController

View File

@@ -32,8 +32,6 @@
typedef std::unordered_map < OUString, OUString > Selection_hash; typedef std::unordered_map < OUString, OUString > Selection_hash;
class SFEntry;
enum class InputDialogMode { enum class InputDialogMode {
NEWLIB = 1, NEWLIB = 1,
NEWMACRO = 2, NEWMACRO = 2,

View File

@@ -25,8 +25,6 @@
#include <editeng/tstpitem.hxx> #include <editeng/tstpitem.hxx>
#include <svx/flagsdef.hxx> #include <svx/flagsdef.hxx>
class SvxTabulatorTabPage;
// class TabWin_Impl ----------------------------------------------------- // class TabWin_Impl -----------------------------------------------------
class TabWin_Impl : public weld::CustomWidgetController class TabWin_Impl : public weld::CustomWidgetController

View File

@@ -21,8 +21,6 @@
#include <svx/dlgctrl.hxx> #include <svx/dlgctrl.hxx>
#include <svx/svdobjkind.hxx> #include <svx/svdobjkind.hxx>
class SdrView;
/************************************************************************* /*************************************************************************
|* |*
|* Dialog for changing TextAttributes |* Dialog for changing TextAttributes

View File

@@ -112,9 +112,6 @@ namespace com::sun::star::frame { class XFrame; }
namespace com::sun::star::awt { class XContainerWindowProvider; } namespace com::sun::star::awt { class XContainerWindowProvider; }
struct OptionsPageInfo; struct OptionsPageInfo;
struct Module;
class ExtensionsTabPage;
class SvxColorTabPage;
struct OptionsGroupInfo; struct OptionsGroupInfo;
struct OptionsPageIdInfo; struct OptionsPageIdInfo;

View File

@@ -22,7 +22,6 @@
#include <sfx2/tabdlg.hxx> #include <sfx2/tabdlg.hxx>
// class SvxFontSubstTabPage ---------------------------------------------------- // class SvxFontSubstTabPage ----------------------------------------------------
class SvtFontSubstConfig;
class SvxFontSubstTabPage : public SfxTabPage class SvxFontSubstTabPage : public SfxTabPage
{ {
OUString m_sAutomatic; OUString m_sAutomatic;

View File

@@ -17,8 +17,6 @@
#include <vector> #include <vector>
class CuiAboutConfigTabPage;
class CuiAboutConfigValueDialog;
struct Prop_Impl; struct Prop_Impl;
struct UserData; struct UserData;

View File

@@ -41,8 +41,6 @@ typedef void* JavaInfo;
class SvxJavaParameterDlg; class SvxJavaParameterDlg;
class SvxJavaClassPathDlg; class SvxJavaClassPathDlg;
class SvxJavaListBox;
class OfaTreeOptionsDialog;
// class SvxJavaOptionsPage ---------------------------------------------- // class SvxJavaOptionsPage ----------------------------------------------

View File

@@ -33,8 +33,6 @@ enum AppType
APP_COUNT = 7, APP_COUNT = 7,
}; };
namespace com::sun::star::beans { struct PropertyValue; }
// class SvxSaveTabPage -------------------------------------------------- // class SvxSaveTabPage --------------------------------------------------
struct SvxSaveTabPage_Impl; struct SvxSaveTabPage_Impl;