filter/source/graphicfilter/icgm/cgm.hxx | 3 --- filter/source/graphicfilter/icgm/chart.hxx | 2 -- filter/source/graphicfilter/icgm/outact.hxx | 1 - filter/source/msfilter/eschesdo.cxx | 1 - filter/source/msfilter/eschesdo.hxx | 4 ---- filter/source/pdf/impdialog.hxx | 2 -- filter/source/pdf/pdfexport.hxx | 2 -- filter/source/svg/svgwriter.hxx | 5 ----- filter/source/xsltdialog/typedetectionimport.cxx | 1 - filter/source/xsltdialog/typedetectionimport.hxx | 5 ----- fpicker/source/office/OfficeFilePicker.hxx | 1 - fpicker/source/office/OfficeFolderPicker.hxx | 2 -- fpicker/source/office/PlacesListBox.hxx | 2 -- fpicker/source/office/fileview.hxx | 2 -- fpicker/source/office/fpdialogbase.hxx | 1 - fpicker/source/office/iodlg.hxx | 1 - fpicker/source/office/iodlgimp.hxx | 1 - 17 files changed, 36 deletions(-)
New commits: commit d5a4086b1f8f38bfa79700df93e525e1bc2be1de Author: Gabor Kelemen <gabor.kelemen.ext...@allotropia.de> AuthorDate: Mon Jan 6 12:26:49 2025 +0100 Commit: Gabor Kelemen <gabor.kelemen.ext...@allotropia.de> CommitDate: Sat Apr 19 20:57:04 2025 +0200 Remove obsolete fw declarations from filter/ found with bin/find-unneeded-includes --fwdecl Change-Id: Ia06dc5ab883e515fed05d8a3f05e248b5127eb39 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183886 Reviewed-by: Gabor Kelemen <gabor.kelemen.ext...@allotropia.de> Tested-by: Jenkins diff --git a/filter/source/graphicfilter/icgm/cgm.hxx b/filter/source/graphicfilter/icgm/cgm.hxx index e2281311e438..6dd650312c5a 100644 --- a/filter/source/graphicfilter/icgm/cgm.hxx +++ b/filter/source/graphicfilter/icgm/cgm.hxx @@ -26,14 +26,11 @@ #include <vector> #include "cgmtypes.hxx" -class Graphic; class SvStream; class CGMChart; class CGMBitmap; class CGMImpressOutAct; class CGMElements; -class GDIMetaFile; -class VirtualDevice; class CGM { diff --git a/filter/source/graphicfilter/icgm/chart.hxx b/filter/source/graphicfilter/icgm/chart.hxx index 3a8e8d946382..8d221eb8709b 100644 --- a/filter/source/graphicfilter/icgm/chart.hxx +++ b/filter/source/graphicfilter/icgm/chart.hxx @@ -52,8 +52,6 @@ struct DataNode } }; -class CGM; -class CGMImpressOutAct; class CGMChart final { friend class CGM; diff --git a/filter/source/graphicfilter/icgm/outact.hxx b/filter/source/graphicfilter/icgm/outact.hxx index b06fffda8cc0..242ae1a340aa 100644 --- a/filter/source/graphicfilter/icgm/outact.hxx +++ b/filter/source/graphicfilter/icgm/outact.hxx @@ -35,7 +35,6 @@ #include <array> #include <memory> -class CGM; class CGMBitmapDescriptor; class CGMImpressOutAct diff --git a/filter/source/msfilter/eschesdo.cxx b/filter/source/msfilter/eschesdo.cxx index edffd563ffc5..2c80da995bd2 100644 --- a/filter/source/msfilter/eschesdo.cxx +++ b/filter/source/msfilter/eschesdo.cxx @@ -43,7 +43,6 @@ using namespace ::com::sun::star::container; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::drawing; using namespace ::com::sun::star::text; -using namespace ::com::sun::star::task; constexpr o3tl::Length geUnitsSrc(o3tl::Length::mm100); // PowerPoint: 576 dpi, WinWord: 1440 dpi, Excel: 1440 dpi diff --git a/filter/source/msfilter/eschesdo.hxx b/filter/source/msfilter/eschesdo.hxx index 5e4bda191e1f..3411d247c6dd 100644 --- a/filter/source/msfilter/eschesdo.hxx +++ b/filter/source/msfilter/eschesdo.hxx @@ -88,12 +88,8 @@ public: class EscherEx; namespace com::sun::star { namespace drawing { - class XDrawPage; class XShape; } - namespace task { - class XStatusIndicator; - } } class EscherExHostAppData; diff --git a/filter/source/pdf/impdialog.hxx b/filter/source/pdf/impdialog.hxx index fba49c8f0301..66bf90e5b51a 100644 --- a/filter/source/pdf/impdialog.hxx +++ b/filter/source/pdf/impdialog.hxx @@ -30,7 +30,6 @@ #include <com/sun/star/lang/XComponent.hpp> class ImpPDFTabGeneralPage; -class ImpPDFTabViewerPage; class ImpPDFTabOpnFtrPage; class ImpPDFTabLinksPage; @@ -52,7 +51,6 @@ public: class ImpPDFTabSecurityPage; -class ImpPDFTabLinksPage; /// Class tabbed dialog diff --git a/filter/source/pdf/pdfexport.hxx b/filter/source/pdf/pdfexport.hxx index 0e8e7fc429bc..f4e3e20fbb17 100644 --- a/filter/source/pdf/pdfexport.hxx +++ b/filter/source/pdf/pdfexport.hxx @@ -33,8 +33,6 @@ class GDIMetaFile; class Size; -namespace vcl { class PDFWriter; } - class PDFExport { private: diff --git a/filter/source/svg/svgwriter.hxx b/filter/source/svg/svgwriter.hxx index a798b8b74a78..d7b8e7907ae8 100644 --- a/filter/source/svg/svgwriter.hxx +++ b/filter/source/svg/svgwriter.hxx @@ -181,11 +181,6 @@ struct SVGShapeDescriptor }; -class SVGAttributeWriter; -class SVGExport; -class GDIMetaFile; - - struct BulletListItemInfo { vcl::Font aFont; diff --git a/filter/source/xsltdialog/typedetectionimport.cxx b/filter/source/xsltdialog/typedetectionimport.cxx index e6c947fe6268..9fc0d0fd6acf 100644 --- a/filter/source/xsltdialog/typedetectionimport.cxx +++ b/filter/source/xsltdialog/typedetectionimport.cxx @@ -30,7 +30,6 @@ using namespace com::sun::star::lang; using namespace com::sun::star::uno; using namespace com::sun::star::io; -using namespace com::sun::star::beans; using namespace com::sun::star::xml::sax; using namespace com::sun::star; diff --git a/filter/source/xsltdialog/typedetectionimport.hxx b/filter/source/xsltdialog/typedetectionimport.hxx index 3b69ef9afb22..94670ddd7ebb 100644 --- a/filter/source/xsltdialog/typedetectionimport.hxx +++ b/filter/source/xsltdialog/typedetectionimport.hxx @@ -30,11 +30,6 @@ #include <vector> #include <stack> -namespace com::sun::star { - namespace xml::sax { class XAttributeList; } - namespace beans { struct PropertyValue; } -} - enum ImportState { e_Root, commit aba8ab7cf0e2c49e8a4e4953790e73ade92863ad Author: Gabor Kelemen <gabor.kelemen.ext...@allotropia.de> AuthorDate: Tue Apr 8 15:38:58 2025 +0200 Commit: Gabor Kelemen <gabor.kelemen.ext...@allotropia.de> CommitDate: Sat Apr 19 20:56:49 2025 +0200 Remove obsolete fw declarations from fpicker/ found with bin/find-unneeded-includes --fwdecl Change-Id: Ie44abd2cc79fffbde80eb17af866b2ac9e7d5c53 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183889 Tested-by: Jenkins Reviewed-by: Gabor Kelemen <gabor.kelemen.ext...@allotropia.de> diff --git a/fpicker/source/office/OfficeFilePicker.hxx b/fpicker/source/office/OfficeFilePicker.hxx index 33e2b6d16e7c..4bac2df4be33 100644 --- a/fpicker/source/office/OfficeFilePicker.hxx +++ b/fpicker/source/office/OfficeFilePicker.hxx @@ -33,7 +33,6 @@ #include <vector> -class Dialog; struct FilterEntry; struct ElementEntry_Impl; enum class PickerFlags; diff --git a/fpicker/source/office/OfficeFolderPicker.hxx b/fpicker/source/office/OfficeFolderPicker.hxx index 7b98fb5bf903..73b0e3904561 100644 --- a/fpicker/source/office/OfficeFolderPicker.hxx +++ b/fpicker/source/office/OfficeFolderPicker.hxx @@ -24,8 +24,6 @@ #include <com/sun/star/lang/XServiceInfo.hpp> #include "commonpicker.hxx" -class Dialog; - typedef cppu::ImplInheritanceHelper< svt::OCommonPicker, css::ui::dialogs::XFolderPicker2, diff --git a/fpicker/source/office/PlacesListBox.hxx b/fpicker/source/office/PlacesListBox.hxx index 934126072d53..175b7806fc84 100644 --- a/fpicker/source/office/PlacesListBox.hxx +++ b/fpicker/source/office/PlacesListBox.hxx @@ -18,8 +18,6 @@ typedef std::shared_ptr<Place> PlacePtr; -class PlacesListBox; - /** ListBox to handle Places. */ class PlacesListBox diff --git a/fpicker/source/office/fileview.hxx b/fpicker/source/office/fileview.hxx index a19c2095507f..81f70cf5d97b 100644 --- a/fpicker/source/office/fileview.hxx +++ b/fpicker/source/office/fileview.hxx @@ -24,8 +24,6 @@ #include <vcl/weld.hxx> #include <rtl/ustring.hxx> -namespace com :: sun :: star :: ucb { class XContent; } - // class SvtFileView ----------------------------------------------------- class SvtFileView_Impl; diff --git a/fpicker/source/office/fpdialogbase.hxx b/fpicker/source/office/fpdialogbase.hxx index fea0f6e9766e..c57633cebb6f 100644 --- a/fpicker/source/office/fpdialogbase.hxx +++ b/fpicker/source/office/fpdialogbase.hxx @@ -25,7 +25,6 @@ #include "pickercallbacks.hxx" class SvtFileView; -class SvtFileDialogFilter_Impl; enum class PickerFlags { diff --git a/fpicker/source/office/iodlg.hxx b/fpicker/source/office/iodlg.hxx index 9de9261af2d7..e920d7deba91 100644 --- a/fpicker/source/office/iodlg.hxx +++ b/fpicker/source/office/iodlg.hxx @@ -37,7 +37,6 @@ class SvtFileView; class SvtFileDialogFilter_Impl; class SvtExpFileDlg_Impl; -class SvtURLBox; enum class AdjustFilterFlags { NONE = 0x0000, diff --git a/fpicker/source/office/iodlgimp.hxx b/fpicker/source/office/iodlgimp.hxx index 11a9e89d2642..e34c2710205e 100644 --- a/fpicker/source/office/iodlgimp.hxx +++ b/fpicker/source/office/iodlgimp.hxx @@ -26,7 +26,6 @@ #include <memory> #include <vector> -class CheckBox; class SvtFileDialog; #define FILEDIALOG_DEF_EXTSEP ';'