summaryrefslogtreecommitdiff
path: root/sc/source/ui/attrdlg
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2019-02-18 23:46:24 +0100
committerMiklos Vajna <vmiklos@collabora.com>2019-02-21 12:03:22 +0100
commite5c3d5f3b0b9dc6af4c347f30636535dd69ee64f (patch)
tree76dcc6e076dcdd1677382b99c9f02858faa88a0b /sc/source/ui/attrdlg
parent00e89430a2f8cd1f9ec702a7583a1e4c886a2b46 (diff)
tdf#42949 Fix IWYU warnings in sc/source/ui/[a-c]*
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I5e810ed15cc33900d106b64353584d21f081517f Reviewed-on: https://gerrit.libreoffice.org/67992 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sc/source/ui/attrdlg')
-rw-r--r--sc/source/ui/attrdlg/attrdlg.cxx6
-rw-r--r--sc/source/ui/attrdlg/scdlgfact.cxx7
-rw-r--r--sc/source/ui/attrdlg/scdlgfact.hxx64
-rw-r--r--sc/source/ui/attrdlg/scuiexp.cxx31
-rw-r--r--sc/source/ui/attrdlg/tabpages.cxx2
5 files changed, 31 insertions, 79 deletions
diff --git a/sc/source/ui/attrdlg/attrdlg.cxx b/sc/source/ui/attrdlg/attrdlg.cxx
index 7a0006c643b7..3ebc3019aec8 100644
--- a/sc/source/ui/attrdlg/attrdlg.cxx
+++ b/sc/source/ui/attrdlg/attrdlg.cxx
@@ -19,19 +19,15 @@
#undef SC_DLLIMPLEMENTATION
-#include <scitems.hxx>
-
#include <sfx2/objsh.hxx>
#include <sfx2/tabdlg.hxx>
+#include <sfx2/sfxdlg.hxx>
#include <svl/cjkoptions.hxx>
#include <tabpages.hxx>
#include <attrdlg.hxx>
-#include <svx/svxdlg.hxx>
#include <svx/dialogs.hrc>
-#include <svx/flagsdef.hxx>
#include <editeng/flstitem.hxx>
-#include <sfx2/app.hxx>
#include <osl/diagnose.h>
ScAttrDlg::ScAttrDlg(weld::Window* pParent, const SfxItemSet* pCellAttrs)
diff --git a/sc/source/ui/attrdlg/scdlgfact.cxx b/sc/source/ui/attrdlg/scdlgfact.cxx
index b99de9b218f8..dcf8de1a42f2 100644
--- a/sc/source/ui/attrdlg/scdlgfact.cxx
+++ b/sc/source/ui/attrdlg/scdlgfact.cxx
@@ -21,11 +21,9 @@
#include "scdlgfact.hxx"
-#include <sc.hrc>
#include <scuiasciiopt.hxx>
#include <scuiautofmt.hxx>
#include <corodlg.hxx>
-#include <crdlg.hxx>
#include <dapidata.hxx>
#include <dapitype.hxx>
#include <delcldlg.hxx>
@@ -41,7 +39,6 @@
#include <mvtabdlg.hxx>
#include <namecrea.hxx>
#include <namepast.hxx>
-#include <namedefdlg.hxx>
#include <pfiltdlg.hxx>
#include <pvfundlg.hxx>
#include <dpgroupdlg.hxx>
@@ -67,11 +64,7 @@
#include <datafdlg.hxx>
#include <tpcompatibility.hxx>
#include <tpdefaults.hxx>
-#include <colorformat.hxx>
-#include <condformatdlg.hxx>
#include <condformatmgr.hxx>
-#include <xmlsourcedlg.hxx>
-#include <editutil.hxx>
#include <scres.hrc>
#include <svx/dialogs.hrc>
#include <sfx2/sfxdlg.hxx>
diff --git a/sc/source/ui/attrdlg/scdlgfact.hxx b/sc/source/ui/attrdlg/scdlgfact.hxx
index ce82fa0bf333..1c277e484ecc 100644
--- a/sc/source/ui/attrdlg/scdlgfact.hxx
+++ b/sc/source/ui/attrdlg/scdlgfact.hxx
@@ -22,40 +22,36 @@
#include <scabstdlg.hxx>
#include <sfx2/sfxdlg.hxx>
-class ScImportAsciiDlg;
-class ScAutoFormatDlg;
-class ScColRowLabelDlg;
-class ScDataPilotDatabaseDlg;
-class ScDataPilotSourceTypeDlg;
-class ScDataPilotServiceDlg;
-class ScDeleteCellDlg;
-class ScDataFormDlg;
-class ScDeleteContentsDlg;
-class ScFillSeriesDlg;
-class ScGroupDlg;
-class ScInsertCellDlg;
-class ScInsertContentsDlg;
-class ScInsertTableDlg;
-class ScSelEntryDlg;
-class ScLinkedAreaDlg;
-class ScMetricInputDlg;
-class ScMoveTableDlg;
-class ScNameCreateDlg;
-class ScNamePasteDlg;
-class ScPivotFilterDlg;
-class ScDPFunctionDlg;
-class ScDPSubtotalDlg;
-class ScDPNumGroupDlg;
-class ScDPDateGroupDlg;
-class ScDPShowDetailDlg;
-class ScSortWarningDlg;
-class ScNewScenarioDlg;
-class ScShowTabDlg;
-class ScStringInputDlg;
-class ScTabBgColorDlg;
-class ScImportOptionsDlg;
-class ScTextImportOptionsDlg;
-class ScCondFormatManagerDlg;
+#include <corodlg.hxx>
+#include <condformatmgr.hxx>
+#include <dapitype.hxx>
+#include <dapidata.hxx>
+#include <datafdlg.hxx>
+#include <delcodlg.hxx>
+#include <delcldlg.hxx>
+#include <dpgroupdlg.hxx>
+#include <filldlg.hxx>
+#include <groupdlg.hxx>
+#include <linkarea.hxx>
+#include <lbseldlg.hxx>
+#include <inscldlg.hxx>
+#include <instbdlg.hxx>
+#include <inscodlg.hxx>
+#include <mtrindlg.hxx>
+#include <mvtabdlg.hxx>
+#include <namecrea.hxx>
+#include <namepast.hxx>
+#include <pfiltdlg.hxx>
+#include <pvfundlg.hxx>
+#include <shtabdlg.hxx>
+#include <scendlg.hxx>
+#include <scuiasciiopt.hxx>
+#include <scuiautofmt.hxx>
+#include <scuiimoptdlg.hxx>
+#include <sortdlg.hxx>
+#include <strindlg.hxx>
+#include <tabbgcolordlg.hxx>
+#include <textimportoptions.hxx>
#define DECL_ABSTDLG_BASE(Class,DialogClass) \
ScopedVclPtr<DialogClass> pDlg; \
diff --git a/sc/source/ui/attrdlg/scuiexp.cxx b/sc/source/ui/attrdlg/scuiexp.cxx
index 6a04553b499b..66665ae8c0a0 100644
--- a/sc/source/ui/attrdlg/scuiexp.cxx
+++ b/sc/source/ui/attrdlg/scuiexp.cxx
@@ -20,38 +20,7 @@
#undef SC_DLLIMPLEMENTATION
#include "scdlgfact.hxx"
-#include <corodlg.hxx>
-#include <condformatmgr.hxx>
-#include <dapitype.hxx>
-#include <dapidata.hxx>
-#include <datafdlg.hxx>
-#include <delcodlg.hxx>
-#include <delcldlg.hxx>
-#include <dpgroupdlg.hxx>
-#include <filldlg.hxx>
-#include <groupdlg.hxx>
-#include <linkarea.hxx>
-#include <lbseldlg.hxx>
-#include <inscldlg.hxx>
-#include <instbdlg.hxx>
-#include <inscodlg.hxx>
-#include <mtrindlg.hxx>
-#include <mvtabdlg.hxx>
-#include <namecrea.hxx>
-#include <namepast.hxx>
-#include <pfiltdlg.hxx>
-#include <pvfundlg.hxx>
-#include <shtabdlg.hxx>
-#include <scendlg.hxx>
-#include <scuiasciiopt.hxx>
-#include <scuiautofmt.hxx>
-#include <scuiimoptdlg.hxx>
-#include <sortdlg.hxx>
-#include <strindlg.hxx>
-#include <tabbgcolordlg.hxx>
-#include <textimportoptions.hxx>
#include <sal/types.h>
-#include <sfx2/sfxdlg.hxx>
namespace scui
{
diff --git a/sc/source/ui/attrdlg/tabpages.cxx b/sc/source/ui/attrdlg/tabpages.cxx
index 4e82125791dc..8e1bf7572f18 100644
--- a/sc/source/ui/attrdlg/tabpages.cxx
+++ b/sc/source/ui/attrdlg/tabpages.cxx
@@ -19,8 +19,6 @@
#undef SC_DLLIMPLEMENTATION
-#include <global.hxx>
-#include <document.hxx>
#include <attrib.hxx>
#include <sc.hrc>