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>
namespace com::sun::star::rendering
{
class XGraphicDevice;
}
/* Definition of CanvasGraphicHelper class */

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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