tdf#42949 Fix IWYU warnings in sc/source/ui/inc/[m-z]*
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
Change-Id: I6ca0168abc71b4d9b6d332dc0fd8a3c779fdaa87
Reviewed-on: https://gerrit.libreoffice.org/62524
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
diff --git a/include/sfx2/viewsh.hxx b/include/sfx2/viewsh.hxx
index de4285e..cb185bb 100644
--- a/include/sfx2/viewsh.hxx
+++ b/include/sfx2/viewsh.hxx
@@ -33,6 +33,7 @@
#include <com/sun/star/datatransfer/clipboard/XClipboardNotifier.hpp>
#include <cppuhelper/interfacecontainer.hxx>
#include <sfx2/shell.hxx>
#include <sfx2/viewfac.hxx>
#include <tools/gen.hxx>
#include <vcl/IDialogRenderable.hxx>
#include <vcl/errcode.hxx>
diff --git a/sc/IwyuFilter_sc.yaml b/sc/IwyuFilter_sc.yaml
index e3c0a34..2a6dd86 100644
--- a/sc/IwyuFilter_sc.yaml
+++ b/sc/IwyuFilter_sc.yaml
@@ -476,6 +476,9 @@
sc/source/ui/inc/RandomNumberGeneratorDialog.hxx:
# base class has to be a complete type
- viewdata.hxx
sc/source/ui/inc/scui_def.hxx:
# Needed for template
- o3tl/typed_flags_set.hxx
sc/source/ui/inc/StatisticsInputOutputDialog.hxx:
# base class has to be a complete type
- viewdata.hxx
diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx
index 2f1e739..df677ef 100644
--- a/sc/qa/unit/ucalc.cxx
+++ b/sc/qa/unit/ucalc.cxx
@@ -63,6 +63,7 @@
#include <docpool.hxx>
#include <globalnames.hxx>
#include <inputopt.hxx>
#include <columnspanset.hxx>
#include <editable.hxx>
#include <bcaslot.hxx>
diff --git a/sc/source/ui/dbgui/scuiimoptdlg.cxx b/sc/source/ui/dbgui/scuiimoptdlg.cxx
index 632e297..169875f 100644
--- a/sc/source/ui/dbgui/scuiimoptdlg.cxx
+++ b/sc/source/ui/dbgui/scuiimoptdlg.cxx
@@ -27,6 +27,7 @@
#include <officecfg/Office/Calc.hxx>
#include <osl/thread.h>
#include <rtl/tencinfo.h>
#include <imoptdlg.hxx>
// ScDelimiterTable
diff --git a/sc/source/ui/dbgui/sortdlg.cxx b/sc/source/ui/dbgui/sortdlg.cxx
index 92a996e..0af2011 100644
--- a/sc/source/ui/dbgui/sortdlg.cxx
+++ b/sc/source/ui/dbgui/sortdlg.cxx
@@ -19,6 +19,7 @@
#undef SC_DLLIMPLEMENTATION
#include <scui_def.hxx>
#include <tpsort.hxx>
#include <sortdlg.hxx>
diff --git a/sc/source/ui/dbgui/subtdlg.cxx b/sc/source/ui/dbgui/subtdlg.cxx
index 4c26955..288ffae 100644
--- a/sc/source/ui/dbgui/subtdlg.cxx
+++ b/sc/source/ui/dbgui/subtdlg.cxx
@@ -21,6 +21,7 @@
#include <tpsubt.hxx>
#include <subtdlg.hxx>
#include <scui_def.hxx>
ScSubTotalDlg::ScSubTotalDlg(vcl::Window* pParent, const SfxItemSet* pArgSet)
: SfxTabDialog(pParent, "SubTotalDialog",
diff --git a/sc/source/ui/docshell/docfunc.cxx b/sc/source/ui/docshell/docfunc.cxx
index 438e975..ad52515 100644
--- a/sc/source/ui/docshell/docfunc.cxx
+++ b/sc/source/ui/docshell/docfunc.cxx
@@ -94,6 +94,8 @@
#include <undoconvert.hxx>
#include <docfuncutil.hxx>
#include <sheetevents.hxx>
#include <conditio.hxx>
#include <columnspanset.hxx>
#include <memory>
#include <utility>
diff --git a/sc/source/ui/docshell/docfuncutil.cxx b/sc/source/ui/docshell/docfuncutil.cxx
index 6e469c5..a2559ee 100644
--- a/sc/source/ui/docshell/docfuncutil.cxx
+++ b/sc/source/ui/docshell/docfuncutil.cxx
@@ -23,6 +23,7 @@
#include <undobase.hxx>
#include <global.hxx>
#include <undoblk.hxx>
#include <columnspanset.hxx>
#include <o3tl/make_unique.hxx>
diff --git a/sc/source/ui/inc/redcom.hxx b/sc/source/ui/inc/redcom.hxx
index 245e259..2164af8 100644
--- a/sc/source/ui/inc/redcom.hxx
+++ b/sc/source/ui/inc/redcom.hxx
@@ -20,9 +20,13 @@
#ifndef INCLUDED_SC_SOURCE_UI_INC_REDCOM_HXX
#define INCLUDED_SC_SOURCE_UI_INC_REDCOM_HXX
#include <vcl/weld.hxx>
#include <chgtrack.hxx>
#include <rtl/ustring.hxx>
#include <tools/link.hxx>
#include <vcl/vclptr.hxx>
namespace weld { class Window; }
class ScChangeAction;
class SfxItemSet;
class ScDocShell;
class AbstractSvxPostItDialog;
diff --git a/sc/source/ui/inc/reffact.hxx b/sc/source/ui/inc/reffact.hxx
index 9780f9f..9165fc2 100644
--- a/sc/source/ui/inc/reffact.hxx
+++ b/sc/source/ui/inc/reffact.hxx
@@ -23,8 +23,6 @@
#include <sfx2/childwin.hxx>
#include "ChildWindowWrapper.hxx"
#include "dbfunc.hxx"
#include <sc.hrc>
#define DECL_WRAPPER_WITHID(Class) \
diff --git a/sc/source/ui/inc/retypepassdlg.hxx b/sc/source/ui/inc/retypepassdlg.hxx
index 650ae661..89543e3 100644
--- a/sc/source/ui/inc/retypepassdlg.hxx
+++ b/sc/source/ui/inc/retypepassdlg.hxx
@@ -22,20 +22,15 @@
#include <vcl/button.hxx>
#include <vcl/dialog.hxx>
#include <vcl/edit.hxx>
#include <vcl/fixed.hxx>
#include <vcl/layout.hxx>
#include <vcl/scrbar.hxx>
#include <vcl/weld.hxx>
#include <svx/checklbx.hxx>
#include <tabprotection.hxx>
#include <memory>
namespace vcl { class Window; }
class ScDocProtection;
class ScTableProtection;
class ScDocument;
class ScRetypePassDlg : public ModalDialog
diff --git a/sc/source/ui/inc/rfindlst.hxx b/sc/source/ui/inc/rfindlst.hxx
index 2a6d13c..d1c543a6 100644
--- a/sc/source/ui/inc/rfindlst.hxx
+++ b/sc/source/ui/inc/rfindlst.hxx
@@ -21,7 +21,6 @@
#define INCLUDED_SC_SOURCE_UI_INC_RFINDLST_HXX
#include <tools/color.hxx>
#include <global.hxx>
#include <address.hxx>
#include <tools/solar.h>
diff --git a/sc/source/ui/inc/scendlg.hxx b/sc/source/ui/inc/scendlg.hxx
index 67b9970..0af25fa 100644
--- a/sc/source/ui/inc/scendlg.hxx
+++ b/sc/source/ui/inc/scendlg.hxx
@@ -21,13 +21,10 @@
#define INCLUDED_SC_SOURCE_UI_INC_SCENDLG_HXX
#include <vcl/dialog.hxx>
#include <vcl/edit.hxx>
#include <vcl/fixed.hxx>
#include <vcl/button.hxx>
#include <svtools/svmedit.hxx>
#include <svtools/ctrlbox.hxx>
enum class ScScenarioFlags;
class Edit;
class SvxColorListBox;
diff --git a/sc/source/ui/inc/scuiasciiopt.hxx b/sc/source/ui/inc/scuiasciiopt.hxx
index 850d992..e2d6518 100644
--- a/sc/source/ui/inc/scuiasciiopt.hxx
+++ b/sc/source/ui/inc/scuiasciiopt.hxx
@@ -28,11 +28,8 @@
class Button;
class CheckBox;
class ComboBox;
class Edit;
class FixedText;
class ListBox;
class NumericField;
class RadioButton;
class ScCsvTableBox;
diff --git a/sc/source/ui/inc/scuiimoptdlg.hxx b/sc/source/ui/inc/scuiimoptdlg.hxx
index aa16ba72..551b3ae 100644
--- a/sc/source/ui/inc/scuiimoptdlg.hxx
+++ b/sc/source/ui/inc/scuiimoptdlg.hxx
@@ -22,9 +22,9 @@
#include <vcl/layout.hxx>
#include <svx/txencbox.hxx>
#include "imoptdlg.hxx"
class ScDelimiterTable;
class ScImportOptions;
class ScImportOptionsDlg : public ModalDialog
{
diff --git a/sc/source/ui/inc/scuitphfedit.hxx b/sc/source/ui/inc/scuitphfedit.hxx
index 50cf770..74b980f 100644
--- a/sc/source/ui/inc/scuitphfedit.hxx
+++ b/sc/source/ui/inc/scuitphfedit.hxx
@@ -21,6 +21,7 @@
#define INCLUDED_SC_SOURCE_UI_INC_SCUITPHFEDIT_HXX
#include "tphfedit.hxx"
#include <vcl/menubtn.hxx>
enum ScHFEntryId
{
diff --git a/sc/source/ui/inc/select.hxx b/sc/source/ui/inc/select.hxx
index 0a2f370..d3071f3 100644
--- a/sc/source/ui/inc/select.hxx
+++ b/sc/source/ui/inc/select.hxx
@@ -25,7 +25,6 @@
#include "viewdata.hxx"
class ScTabView;
class ScViewData;
class ScViewSelectionEngine : public SelectionEngine
{
diff --git a/sc/source/ui/inc/selectionstate.hxx b/sc/source/ui/inc/selectionstate.hxx
index b45b472..0d75052 100644
--- a/sc/source/ui/inc/selectionstate.hxx
+++ b/sc/source/ui/inc/selectionstate.hxx
@@ -21,7 +21,7 @@
#define INCLUDED_SC_SOURCE_UI_INC_SELECTIONSTATE_HXX
#include <editeng/editdata.hxx>
#include <rangelst.hxx>
#include <address.hxx>
/** Enumerates all possible types of selections in a Calc document. */
enum ScSelectionType
diff --git a/sc/source/ui/inc/servobj.hxx b/sc/source/ui/inc/servobj.hxx
index afca29b..d6b664e 100644
--- a/sc/source/ui/inc/servobj.hxx
+++ b/sc/source/ui/inc/servobj.hxx
@@ -23,8 +23,8 @@
#include <svl/lstner.hxx>
#include <svl/listener.hxx>
#include <sfx2/linksrc.hxx>
#include <global.hxx>
#include <address.hxx>
#include <svl/SfxBroadcaster.hxx>
class ScDocShell;
class ScServerObject;
diff --git a/sc/source/ui/inc/sharedocdlg.hxx b/sc/source/ui/inc/sharedocdlg.hxx
index c54c99c..7a6d7a2c 100644
--- a/sc/source/ui/inc/sharedocdlg.hxx
+++ b/sc/source/ui/inc/sharedocdlg.hxx
@@ -23,10 +23,11 @@
#include <vcl/button.hxx>
#include <vcl/dialog.hxx>
#include <vcl/fixed.hxx>
#include <svtools/simptabl.hxx>
#include <scdllapi.h>
class ScViewData;
class ScDocShell;
class SvSimpleTable;
// class ScShareDocumentDlg
diff --git a/sc/source/ui/inc/simpref.hxx b/sc/source/ui/inc/simpref.hxx
index 94b6768..492dac5 100644
--- a/sc/source/ui/inc/simpref.hxx
+++ b/sc/source/ui/inc/simpref.hxx
@@ -20,10 +20,8 @@
#ifndef INCLUDED_SC_SOURCE_UI_INC_SIMPREF_HXX
#define INCLUDED_SC_SOURCE_UI_INC_SIMPREF_HXX
#include <vcl/combobox.hxx>
#include <vcl/fixed.hxx>
#include "anyrefdg.hxx"
#include <dbdata.hxx>
class ScDocument;
diff --git a/sc/source/ui/inc/solveroptions.hxx b/sc/source/ui/inc/solveroptions.hxx
index 9ad1fb0f..73e2dc1 100644
--- a/sc/source/ui/inc/solveroptions.hxx
+++ b/sc/source/ui/inc/solveroptions.hxx
@@ -22,9 +22,6 @@
#include <vcl/button.hxx>
#include <vcl/dialog.hxx>
#include <vcl/field.hxx>
#include <vcl/fixed.hxx>
#include <vcl/layout.hxx>
#include <vcl/lstbox.hxx>
#include <vcl/weld.hxx>
#include <svx/checklbx.hxx>
diff --git a/sc/source/ui/inc/solvrdlg.hxx b/sc/source/ui/inc/solvrdlg.hxx
index b7ca8c7..29883c0 100644
--- a/sc/source/ui/inc/solvrdlg.hxx
+++ b/sc/source/ui/inc/solvrdlg.hxx
@@ -20,7 +20,6 @@
#ifndef INCLUDED_SC_SOURCE_UI_INC_SOLVRDLG_HXX
#define INCLUDED_SC_SOURCE_UI_INC_SOLVRDLG_HXX
#include <global.hxx>
#include <address.hxx>
#include "anyrefdg.hxx"
diff --git a/sc/source/ui/inc/sortdlg.hxx b/sc/source/ui/inc/sortdlg.hxx
index 91a27e4..c451432 100644
--- a/sc/source/ui/inc/sortdlg.hxx
+++ b/sc/source/ui/inc/sortdlg.hxx
@@ -22,7 +22,6 @@
#include <sfx2/tabdlg.hxx>
#include <vcl/weld.hxx>
#include "scui_def.hxx"
class ScSortDlg : public SfxTabDialogController
{
diff --git a/sc/source/ui/inc/sortkeydlg.hxx b/sc/source/ui/inc/sortkeydlg.hxx
index faddd6a..29ab6ab 100644
--- a/sc/source/ui/inc/sortkeydlg.hxx
+++ b/sc/source/ui/inc/sortkeydlg.hxx
@@ -13,10 +13,7 @@
#include <vector>
#include <memory>
#include "anyrefdg.hxx"
#include <vcl/weld.hxx>
#include <svx/langbox.hxx>
struct ScSortKeyItem
{
diff --git a/sc/source/ui/inc/spelldialog.hxx b/sc/source/ui/inc/spelldialog.hxx
index 40da661..655217b 100644
--- a/sc/source/ui/inc/spelldialog.hxx
+++ b/sc/source/ui/inc/spelldialog.hxx
@@ -29,7 +29,6 @@
class ScTabViewShell;
class ScViewData;
class ScRangeList;
class ScDocument;
/** Specialized spell check dialog child window for Calc.
diff --git a/sc/source/ui/inc/subtdlg.hxx b/sc/source/ui/inc/subtdlg.hxx
index 6077f9c..abf9ffd 100644
--- a/sc/source/ui/inc/subtdlg.hxx
+++ b/sc/source/ui/inc/subtdlg.hxx
@@ -22,8 +22,6 @@
#include <sfx2/tabdlg.hxx>
#include "scui_def.hxx"
class ScSubTotalDlg : public SfxTabDialog
{
public:
diff --git a/sc/source/ui/inc/tabbgcolordlg.hxx b/sc/source/ui/inc/tabbgcolordlg.hxx
index 16327bf..4b27a4f 100644
--- a/sc/source/ui/inc/tabbgcolordlg.hxx
+++ b/sc/source/ui/inc/tabbgcolordlg.hxx
@@ -20,9 +20,6 @@
#ifndef INCLUDED_SC_SOURCE_UI_INC_TABBGCOLORDLG_HXX
#define INCLUDED_SC_SOURCE_UI_INC_TABBGCOLORDLG_HXX
#include <vcl/dialog.hxx>
#include <vcl/fixed.hxx>
#include <vcl/button.hxx>
#include <svx/SvxColorValueSet.hxx>
class ScTabBgColorDlg : public weld::GenericDialogController
diff --git a/sc/source/ui/inc/tabcont.hxx b/sc/source/ui/inc/tabcont.hxx
index f8d7167..d59af22 100644
--- a/sc/source/ui/inc/tabcont.hxx
+++ b/sc/source/ui/inc/tabcont.hxx
@@ -20,7 +20,7 @@
#ifndef INCLUDED_SC_SOURCE_UI_INC_TABCONT_HXX
#define INCLUDED_SC_SOURCE_UI_INC_TABCONT_HXX
#include <address.hxx>
#include <types.hxx>
#include <svtools/tabbar.hxx>
#include <svtools/transfer.hxx>
diff --git a/sc/source/ui/inc/tabopdlg.hxx b/sc/source/ui/inc/tabopdlg.hxx
index 65b8dec..c02ef28 100644
--- a/sc/source/ui/inc/tabopdlg.hxx
+++ b/sc/source/ui/inc/tabopdlg.hxx
@@ -21,7 +21,6 @@
#define INCLUDED_SC_SOURCE_UI_INC_TABOPDLG_HXX
#include <vcl/fixed.hxx>
#include <global.hxx>
#include <address.hxx>
#include "anyrefdg.hxx"
diff --git a/sc/source/ui/inc/tabview.hxx b/sc/source/ui/inc/tabview.hxx
index 344eda2..d534809 100644
--- a/sc/source/ui/inc/tabview.hxx
+++ b/sc/source/ui/inc/tabview.hxx
@@ -26,9 +26,6 @@
#include <vcl/scrbar.hxx>
#include <vcl/help.hxx>
#include <sfx2/ipclient.hxx>
#include "fupoor.hxx"
#include "hiranges.hxx"
#include "viewutil.hxx"
#include "select.hxx"
@@ -40,14 +37,12 @@
}
class ScEditEngineDefaulter;
class ScGridWindow;
class ScOutlineWindow;
class ScRowBar;
class ScColBar;
class ScTabControl;
class ScTabViewShell;
struct ScRangeFindData;
class ScDrawView;
class SvBorder;
class FuPoor;
class Splitter;
diff --git a/sc/source/ui/inc/tabvwsh.hxx b/sc/source/ui/inc/tabvwsh.hxx
index cf5b872..28e19d4 100644
--- a/sc/source/ui/inc/tabvwsh.hxx
+++ b/sc/source/ui/inc/tabvwsh.hxx
@@ -21,23 +21,18 @@
#define INCLUDED_SC_SOURCE_UI_INC_TABVWSH_HXX
#include <formula/errorcodes.hxx>
#include <o3tl/deleter.hxx>
#include <svx/fmshell.hxx>
#include <svtools/htmlcfg.hxx>
#include <sfx2/viewsh.hxx>
#include <sfx2/viewfac.hxx>
#include <editeng/svxenum.hxx>
#include <scdllapi.h>
#include "dbfunc.hxx"
#include "target.hxx"
#include <rangelst.hxx>
#include <shellids.hxx>
#include <tabprotection.hxx>
#include <memory>
#include <map>
class SbxObject;
class SdrOle2Obj;
class SfxBindings;
class SfxChildWindow;
@@ -65,6 +60,8 @@
struct ScHeaderFieldData;
namespace o3tl { template <typename T> struct default_delete; }
namespace editeng { class SvxBorderLine; }
namespace com { namespace sun { namespace star { namespace frame {
diff --git a/sc/source/ui/inc/tbzoomsliderctrl.hxx b/sc/source/ui/inc/tbzoomsliderctrl.hxx
index e81f913..2b664bf 100644
--- a/sc/source/ui/inc/tbzoomsliderctrl.hxx
+++ b/sc/source/ui/inc/tbzoomsliderctrl.hxx
@@ -22,8 +22,10 @@
#include <vcl/window.hxx>
#include <svl/poolitem.hxx>
#include <sfx2/tbxctrl.hxx>
#include <com/sun/star/frame/XDispatchProvider.hpp>
#include <svx/zoomslideritem.hxx>
namespace com { namespace sun { namespace star { namespace frame { class XDispatchProvider; } } } }
class SvxZoomSliderItem;
class ScZoomSliderControl : public SfxToolBoxControl
{
diff --git a/sc/source/ui/inc/textimportoptions.hxx b/sc/source/ui/inc/textimportoptions.hxx
index 9a1e005..b052b4f 100644
--- a/sc/source/ui/inc/textimportoptions.hxx
+++ b/sc/source/ui/inc/textimportoptions.hxx
@@ -22,7 +22,6 @@
#include <vcl/dialog.hxx>
#include <vcl/button.hxx>
#include <vcl/fixed.hxx>
#include <i18nlangtag/lang.h>
#include <svx/langbox.hxx>
diff --git a/sc/source/ui/inc/tpcompatibility.hxx b/sc/source/ui/inc/tpcompatibility.hxx
index 8430b637..ad9d19f 100644
--- a/sc/source/ui/inc/tpcompatibility.hxx
+++ b/sc/source/ui/inc/tpcompatibility.hxx
@@ -11,7 +11,6 @@
#define INCLUDED_SC_SOURCE_UI_INC_TPCOMPATIBILITY_HXX
#include <sfx2/tabdlg.hxx>
#include <vcl/fixed.hxx>
#include <vcl/lstbox.hxx>
class ScTpCompatOptions : public SfxTabPage
diff --git a/sc/source/ui/inc/tpdefaults.hxx b/sc/source/ui/inc/tpdefaults.hxx
index 7808f31..b173e6a 100644
--- a/sc/source/ui/inc/tpdefaults.hxx
+++ b/sc/source/ui/inc/tpdefaults.hxx
@@ -11,7 +11,6 @@
#define INCLUDED_SC_SOURCE_UI_INC_TPDEFAULTS_HXX
#include <sfx2/tabdlg.hxx>
#include <vcl/fixed.hxx>
#include <vcl/field.hxx>
class ScTpDefaultsOptions : public SfxTabPage
diff --git a/sc/source/ui/inc/tpformula.hxx b/sc/source/ui/inc/tpformula.hxx
index 22445b7..d15b060 100644
--- a/sc/source/ui/inc/tpformula.hxx
+++ b/sc/source/ui/inc/tpformula.hxx
@@ -21,9 +21,7 @@
#define INCLUDED_SC_SOURCE_UI_INC_TPFORMULA_HXX
#include <sfx2/tabdlg.hxx>
#include <vcl/fixed.hxx>
#include <vcl/lstbox.hxx>
#include <vcl/edit.hxx>
#include <vcl/button.hxx>
#include <calcconfig.hxx>
diff --git a/sc/source/ui/inc/tphfedit.hxx b/sc/source/ui/inc/tphfedit.hxx
index a527912..f7036cf 100644
--- a/sc/source/ui/inc/tphfedit.hxx
+++ b/sc/source/ui/inc/tphfedit.hxx
@@ -20,26 +20,24 @@
#ifndef INCLUDED_SC_SOURCE_UI_INC_TPHFEDIT_HXX
#define INCLUDED_SC_SOURCE_UI_INC_TPHFEDIT_HXX
#include <sfx2/tabdlg.hxx>
#include <svx/pageitem.hxx>
#include <vcl/lstbox.hxx>
#include <vcl/menubtn.hxx>
#include <vcl/timer.hxx>
#include <vcl/virdev.hxx>
#include <scdllapi.h>
#include <scitems.hxx>
#include <com/sun/star/accessibility/XAccessible.hpp>
#include <cppuhelper/weakref.hxx>
#include <tools/wintypes.hxx>
#include <editeng/svxenum.hxx>
#include <vcl/ctrl.hxx>
#include <vcl/menu.hxx>
#include <functional>
namespace com { namespace sun { namespace star { namespace accessibility { class XAccessible; } } } }
class ScHeaderEditEngine;
class ScPatternAttr;
class EditView;
class EditTextObject;
class SvxFieldItem;
class ScAccessibleEditObject;
class ScEditWindow;
namespace vcl { class Window; }
enum ScEditWindowLocation
{
diff --git a/sc/source/ui/inc/tpsort.hxx b/sc/source/ui/inc/tpsort.hxx
index 1e4c2b1..755b9f8 100644
--- a/sc/source/ui/inc/tpsort.hxx
+++ b/sc/source/ui/inc/tpsort.hxx
@@ -23,14 +23,12 @@
#include <vector>
#include <sfx2/tabdlg.hxx>
#include <vcl/edit.hxx>
#include <vcl/fixed.hxx>
#include <vcl/lstbox.hxx>
#include <svx/langbox.hxx>
#include <unotools/collatorwrapper.hxx>
#include <svtools/collatorres.hxx>
#include "sortkeydlg.hxx"
#include <global.hxx>
#include <address.hxx>
#include <sortparam.hxx>
@@ -38,8 +36,6 @@
#define SC_MAXFIELDS MAXCOLCOUNT+1
class ScViewData;
class ScSortDlg;
struct ScSortParam;
// Sort Criteria
@@ -97,8 +93,6 @@
// Sort Options
class ScDocument;
class CollatorResource;
class CollatorWrapper;
class ScTabPageSortOptions : public SfxTabPage
{
diff --git a/sc/source/ui/inc/tpsubt.hxx b/sc/source/ui/inc/tpsubt.hxx
index 8ed4b12..60f94a8 100644
--- a/sc/source/ui/inc/tpsubt.hxx
+++ b/sc/source/ui/inc/tpsubt.hxx
@@ -22,7 +22,6 @@
#include <sfx2/tabdlg.hxx>
#include <svx/checklbx.hxx>
#include <vcl/fixed.hxx>
#include <vcl/lstbox.hxx>
#include <global.hxx>
diff --git a/sc/source/ui/inc/tptable.hxx b/sc/source/ui/inc/tptable.hxx
index 93e643f..61e5317 100644
--- a/sc/source/ui/inc/tptable.hxx
+++ b/sc/source/ui/inc/tptable.hxx
@@ -21,7 +21,6 @@
#define INCLUDED_SC_SOURCE_UI_INC_TPTABLE_HXX
#include <sfx2/tabdlg.hxx>
#include <vcl/weld.hxx>
class ScTablePage : public SfxTabPage
{
diff --git a/sc/source/ui/inc/tpusrlst.hxx b/sc/source/ui/inc/tpusrlst.hxx
index bd1c690..1493e85 100644
--- a/sc/source/ui/inc/tpusrlst.hxx
+++ b/sc/source/ui/inc/tpusrlst.hxx
@@ -28,7 +28,7 @@
class ScUserList;
class ScDocument;
class ScViewData;
class ScRangeUtil;
class ScRefAddress;
class ScTpUserLists : public SfxTabPage
{
diff --git a/sc/source/ui/inc/tpview.hxx b/sc/source/ui/inc/tpview.hxx
index adebba2..c0985e2 100644
--- a/sc/source/ui/inc/tpview.hxx
+++ b/sc/source/ui/inc/tpview.hxx
@@ -23,8 +23,6 @@
#include <sfx2/tabdlg.hxx>
#include <vcl/field.hxx>
#include <vcl/fixed.hxx>
#include <svtools/ctrlbox.hxx>
#include <svx/strarray.hxx>
class ScViewOptions;
class SvxColorListBox;
diff --git a/sc/source/ui/inc/transobj.hxx b/sc/source/ui/inc/transobj.hxx
index e22ee5b..9c2bd0a 100644
--- a/sc/source/ui/inc/transobj.hxx
+++ b/sc/source/ui/inc/transobj.hxx
@@ -21,7 +21,6 @@
#define INCLUDED_SC_SOURCE_UI_INC_TRANSOBJ_HXX
#include <svtools/transfer.hxx>
#include <global.hxx>
#include <address.hxx>
#include <document.hxx>
#include <sfx2/objsh.hxx>
@@ -29,7 +28,6 @@
class ScDocShell;
class ScMarkData;
class SfxObjectShell;
enum class ScDragSrc;
namespace com { namespace sun { namespace star {
diff --git a/sc/source/ui/inc/uiitems.hxx b/sc/source/ui/inc/uiitems.hxx
index c3d0094..7ed2c35 100644
--- a/sc/source/ui/inc/uiitems.hxx
+++ b/sc/source/ui/inc/uiitems.hxx
@@ -21,7 +21,6 @@
#define INCLUDED_SC_SOURCE_UI_INC_UIITEMS_HXX
#include <scdllapi.h>
#include <conditio.hxx>
#include <sortparam.hxx>
#include <subtotalparam.hxx>
#include <paramisc.hxx>
diff --git a/sc/source/ui/inc/undobase.hxx b/sc/source/ui/inc/undobase.hxx
index 0057d54..fea2852 100644
--- a/sc/source/ui/inc/undobase.hxx
+++ b/sc/source/ui/inc/undobase.hxx
@@ -21,16 +21,12 @@
#define INCLUDED_SC_SOURCE_UI_INC_UNDOBASE_HXX
#include <svl/undo.hxx>
#include <global.hxx>
#include <address.hxx>
#include "docsh.hxx"
#include <columnspanset.hxx>
#include <memory>
#include <map>
class ScDocument;
class ScDocShell;
class SdrUndoAction;
class ScRefUndoData;
class ScDBData;
diff --git a/sc/source/ui/inc/undoblk.hxx b/sc/source/ui/inc/undoblk.hxx
index 93a8db9..875766b 100644
--- a/sc/source/ui/inc/undoblk.hxx
+++ b/sc/source/ui/inc/undoblk.hxx
@@ -21,20 +21,16 @@
#include "undobase.hxx"
#include <markdata.hxx>
#include "viewutil.hxx"
#include "spellparam.hxx"
#include "cellmergeoption.hxx"
#include <paramisc.hxx>
#include <editeng/boxitem.hxx>
#include <memory>
class ScDocShell;
class ScDocument;
class ScOutlineTable;
class ScRangeList;
class ScPatternAttr;
class SvxBoxItem;
class SvxBoxInfoItem;
class SvxSearchItem;
class SdrUndoAction;
class ScEditDataArray;
diff --git a/sc/source/ui/inc/undocell.hxx b/sc/source/ui/inc/undocell.hxx
index 5785ac8..3227c33 100644
--- a/sc/source/ui/inc/undocell.hxx
+++ b/sc/source/ui/inc/undocell.hxx
@@ -26,22 +26,13 @@
#include <cellvalue.hxx>
#include <cellvalues.hxx>
#include <svx/svdundo.hxx>
#include <editeng/editobj.hxx>
#include <memory>
class ScDocShell;
class ScPatternAttr;
class EditTextObject;
class ScDetOpList;
class ScDetOpData;
class ScRangeName;
class ScDocument;
namespace sc {
class CellValues;
}
class ScUndoSdrCaptionObj: public SdrUndoAction
{
diff --git a/sc/source/ui/inc/undodat.hxx b/sc/source/ui/inc/undodat.hxx
index 5a3035d..5ff7159 100644
--- a/sc/source/ui/inc/undodat.hxx
+++ b/sc/source/ui/inc/undodat.hxx
@@ -21,24 +21,18 @@
#define INCLUDED_SC_SOURCE_UI_INC_UNDODAT_HXX
#include "undobase.hxx"
#include "refundo.hxx"
#include <dpobject.hxx>
#include <olinetab.hxx>
#include <rangeutl.hxx>
#include <rangelst.hxx>
#include <sortparam.hxx>
#include <queryparam.hxx>
#include <subtotalparam.hxx>
#include <pivot.hxx>
#include <memory>
class ScDocShell;
class ScDocument;
class ScOutlineTable;
class ScRangeName;
class ScDBData;
class ScDBCollection;
class ScDPObject;
class SdrUndoAction;
class ScMarkData;
class ScUndoDoOutline: public ScSimpleUndo
{
diff --git a/sc/source/ui/inc/undostyl.hxx b/sc/source/ui/inc/undostyl.hxx
index c5d5f42..20e749f 100644
--- a/sc/source/ui/inc/undostyl.hxx
+++ b/sc/source/ui/inc/undostyl.hxx
@@ -25,7 +25,6 @@
#include "undobase.hxx"
class ScDocShell;
class SfxStyleSheetBase;
class ScStyleSaveData
{
diff --git a/sc/source/ui/inc/undotab.hxx b/sc/source/ui/inc/undotab.hxx
index e7df530..b652985 100644
--- a/sc/source/ui/inc/undotab.hxx
+++ b/sc/source/ui/inc/undotab.hxx
@@ -21,7 +21,6 @@
#define INCLUDED_SC_SOURCE_UI_INC_UNDOTAB_HXX
#include "undobase.hxx"
#include <formula/grammar.hxx>
#include <tools/color.hxx>
#include <tabbgcolor.hxx>
@@ -29,7 +28,6 @@
#include <vector>
class ScDocShell;
class ScDocument;
class SdrUndoAction;
class ScPrintRangeSaver;
class SdrObject;
diff --git a/sc/source/ui/inc/undoutil.hxx b/sc/source/ui/inc/undoutil.hxx
index 40e8f74..b95af8a 100644
--- a/sc/source/ui/inc/undoutil.hxx
+++ b/sc/source/ui/inc/undoutil.hxx
@@ -22,7 +22,6 @@
#include <address.hxx>
class ScRange;
class ScDocShell;
class ScDBData;
class ScDocument;
diff --git a/sc/source/ui/inc/validate.hxx b/sc/source/ui/inc/validate.hxx
index 413c03c..62b4388 100644
--- a/sc/source/ui/inc/validate.hxx
+++ b/sc/source/ui/inc/validate.hxx
@@ -21,12 +21,10 @@
#define INCLUDED_SC_SOURCE_UI_INC_VALIDATE_HXX
#include <sfx2/tabdlg.hxx>
#include <vcl/edit.hxx>
#include <vcl/fixed.hxx>
#include <vcl/layout.hxx>
#include <vcl/lstbox.hxx>
#include <vcl/vclmedit.hxx>
#include <svtools/svmedit.hxx>
#include "anyrefdg.hxx"
#include <sc.hrc>
diff --git a/sc/source/ui/inc/viewdata.hxx b/sc/source/ui/inc/viewdata.hxx
index 80235f8..0e1a275 100644
--- a/sc/source/ui/inc/viewdata.hxx
+++ b/sc/source/ui/inc/viewdata.hxx
@@ -99,7 +99,6 @@
}
class ScDocFunc;
class ScDocShell;
class ScDocument;
class ScDBFunc;
class ScTabViewShell;
diff --git a/sc/source/ui/inc/viewfunc.hxx b/sc/source/ui/inc/viewfunc.hxx
index e9cca10..85857d5 100644
--- a/sc/source/ui/inc/viewfunc.hxx
+++ b/sc/source/ui/inc/viewfunc.hxx
@@ -23,7 +23,6 @@
#include <tabbgcolor.hxx>
#include <com/sun/star/embed/XEmbeddedObject.hpp>
#include <com/sun/star/embed/Aspects.hpp>
#include <vector>
@@ -43,7 +42,6 @@
class ScConversionParam;
class SdrModel;
class Graphic;
class Exchange;
class ScRangeList;
class SvxHyperlinkItem;
class ScTransferObj;
@@ -51,6 +49,7 @@
enum class CreateNameFlags;
namespace editeng { class SvxBorderLine; }
namespace com { namespace sun { namespace star { namespace embed { class XEmbeddedObject; } } } }
namespace sc {
diff --git a/sc/source/ui/inc/viewutil.hxx b/sc/source/ui/inc/viewutil.hxx
index 8d57370..f8dddbfb 100644
--- a/sc/source/ui/inc/viewutil.hxx
+++ b/sc/source/ui/inc/viewutil.hxx
@@ -31,8 +31,6 @@
class ScChangeAction;
class ScChangeViewSettings;
class ScDocument;
class ScAddress;
class ScRange;
class ScMarkData;
enum class SvtScriptType;
enum class TransliterationFlags;
diff --git a/sc/source/ui/miscdlgs/redcom.cxx b/sc/source/ui/miscdlgs/redcom.cxx
index cea274a..cccab8d 100644
--- a/sc/source/ui/miscdlgs/redcom.cxx
+++ b/sc/source/ui/miscdlgs/redcom.cxx
@@ -19,6 +19,7 @@
#include <unotools/localedatawrapper.hxx>
#include <chgtrack.hxx>
#include <redcom.hxx>
#include <docsh.hxx>
#include <tabvwsh.hxx>
diff --git a/sc/source/ui/miscdlgs/sharedocdlg.cxx b/sc/source/ui/miscdlgs/sharedocdlg.cxx
index 6d95002..108e8c9 100644
--- a/sc/source/ui/miscdlgs/sharedocdlg.cxx
+++ b/sc/source/ui/miscdlgs/sharedocdlg.cxx
@@ -21,6 +21,7 @@
#include <sfx2/dialoghelper.hxx>
#include <svl/sharecontrolfile.hxx>
#include <unotools/useroptions.hxx>
#include <svtools/simptabl.hxx>
#include <docsh.hxx>
diff --git a/sc/source/ui/pagedlg/hfedtdlg.cxx b/sc/source/ui/pagedlg/hfedtdlg.cxx
index ca6d105..995e864 100644
--- a/sc/source/ui/pagedlg/hfedtdlg.cxx
+++ b/sc/source/ui/pagedlg/hfedtdlg.cxx
@@ -28,6 +28,9 @@
#include <scresid.hxx>
#include <scuitphfedit.hxx>
#include <svx/svxids.hrc>
#include <svx/pageitem.hxx>
#include <vcl/menubtn.hxx>
#include <vcl/lstbox.hxx>
ScHFEditDlg::ScHFEditDlg( vcl::Window* pParent,
const SfxItemSet& rCoreSet,
diff --git a/sc/source/ui/pagedlg/scuitphfedit.cxx b/sc/source/ui/pagedlg/scuitphfedit.cxx
index 4249db1..36cbaf1 100644
--- a/sc/source/ui/pagedlg/scuitphfedit.cxx
+++ b/sc/source/ui/pagedlg/scuitphfedit.cxx
@@ -30,6 +30,7 @@
#include <sfx2/objsh.hxx>
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
#include <vcl/lstbox.hxx>
#include <sal/log.hxx>
#include <unotools/useroptions.hxx>
diff --git a/sc/source/ui/undo/undobase.cxx b/sc/source/ui/undo/undobase.cxx
index bc905ef..feb652e 100644
--- a/sc/source/ui/undo/undobase.cxx
+++ b/sc/source/ui/undo/undobase.cxx
@@ -34,6 +34,7 @@
#include <rowheightcontext.hxx>
#include <column.hxx>
#include <sortparam.hxx>
#include <columnspanset.hxx>
ScSimpleUndo::ScSimpleUndo( ScDocShell* pDocSh ) :
diff --git a/sc/source/ui/undo/undoblk.cxx b/sc/source/ui/undo/undoblk.cxx
index 7e4a4fa..4e98282 100644
--- a/sc/source/ui/undo/undoblk.cxx
+++ b/sc/source/ui/undo/undoblk.cxx
@@ -57,6 +57,7 @@
#include <validat.hxx>
#include <gridwin.hxx>
#include <svl/listener.hxx>
#include <columnspanset.hxx>
#include <memory>
#include <set>
diff --git a/sc/source/ui/undo/undoblk2.cxx b/sc/source/ui/undo/undoblk2.cxx
index 24f1ee9..6418e60 100644
--- a/sc/source/ui/undo/undoblk2.cxx
+++ b/sc/source/ui/undo/undoblk2.cxx
@@ -28,6 +28,7 @@
#include <scresid.hxx>
#include <global.hxx>
#include <target.hxx>
#include <columnspanset.hxx>
#include <undoolk.hxx>
diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx
index a3531af..15d5a9b 100644
--- a/sc/source/ui/unoobj/cellsuno.cxx
+++ b/sc/source/ui/unoobj/cellsuno.cxx
@@ -135,6 +135,7 @@
#include <TablePivotCharts.hxx>
#include <table.hxx>
#include <refundo.hxx>
#include <columnspanset.hxx>
#include <list>
#include <memory>
diff --git a/sc/source/ui/vba/vbarange.cxx b/sc/source/ui/vba/vbarange.cxx
index 3d43be0..10db96a 100644
--- a/sc/source/ui/vba/vbarange.cxx
+++ b/sc/source/ui/vba/vbarange.cxx
@@ -126,6 +126,8 @@
#include <dbdata.hxx>
#include <docfunc.hxx>
#include <docuno.hxx>
#include <columnspanset.hxx>
#include <sortparam.hxx>
#include <sfx2/dispatch.hxx>
#include <sfx2/app.hxx>
diff --git a/sc/source/ui/view/dbfunc.cxx b/sc/source/ui/view/dbfunc.cxx
index 140b481..0e3ce98 100644
--- a/sc/source/ui/view/dbfunc.cxx
+++ b/sc/source/ui/view/dbfunc.cxx
@@ -39,6 +39,7 @@
#include <queryentry.hxx>
#include <markdata.hxx>
#include <tabvwsh.hxx>
#include <sortparam.hxx>
ScDBFunc::ScDBFunc( vcl::Window* pParent, ScDocShell& rDocSh, ScTabViewShell* pViewShell ) :
ScViewFunc( pParent, rDocSh, pViewShell )
diff --git a/sc/source/ui/view/dbfunc3.cxx b/sc/source/ui/view/dbfunc3.cxx
index 7ca42e0..acc7cce 100644
--- a/sc/source/ui/view/dbfunc3.cxx
+++ b/sc/source/ui/view/dbfunc3.cxx
@@ -68,6 +68,7 @@
#include <stringutil.hxx>
#include <tabvwsh.hxx>
#include <generalfunction.hxx>
#include <sortparam.hxx>
#include <sfx2/lokhelper.hxx>
#include <comphelper/lok.hxx>
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index 20e5be4..ba4d08d 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -35,6 +35,7 @@
#include <sfx2/dispatch.hxx>
#include <sfx2/viewfrm.hxx>
#include <sfx2/docfile.hxx>
#include <sfx2/ipclient.hxx>
#include <svl/stritem.hxx>
#include <svtools/svtabbx.hxx>
#include <svl/urlbmk.hxx>
diff --git a/sc/source/ui/view/preview.cxx b/sc/source/ui/view/preview.cxx
index 0438ce1..82458b0 100644
--- a/sc/source/ui/view/preview.cxx
+++ b/sc/source/ui/view/preview.cxx
@@ -65,6 +65,7 @@
#include <viewutil.hxx>
#include <docpool.hxx>
#include <patattr.hxx>
#include <columnspanset.hxx>
#include <memory>
diff --git a/sc/source/ui/view/tabvwsh4.cxx b/sc/source/ui/view/tabvwsh4.cxx
index f5057c2..696ca8b 100644
--- a/sc/source/ui/view/tabvwsh4.cxx
+++ b/sc/source/ui/view/tabvwsh4.cxx
@@ -34,6 +34,7 @@
#include <sfx2/request.hxx>
#include <sfx2/printer.hxx>
#include <sfx2/dispatch.hxx>
#include <sfx2/ipclient.hxx>
#include <svl/whiter.hxx>
#include <unotools/moduleoptions.hxx>
#include <tools/urlobj.hxx>
diff --git a/sc/source/ui/view/viewfun2.cxx b/sc/source/ui/view/viewfun2.cxx
index 85edda4..3a6d8c2 100644
--- a/sc/source/ui/view/viewfun2.cxx
+++ b/sc/source/ui/view/viewfun2.cxx
@@ -88,6 +88,7 @@
#include <comphelper/lok.hxx>
#include <mergecellsdialog.hxx>
#include <sheetevents.hxx>
#include <columnspanset.hxx>
#include <vector>
#include <memory>
diff --git a/sc/source/ui/view/viewfun7.cxx b/sc/source/ui/view/viewfun7.cxx
index 5124777..b0b1770 100644
--- a/sc/source/ui/view/viewfun7.cxx
+++ b/sc/source/ui/view/viewfun7.cxx
@@ -31,6 +31,7 @@
#include <svtools/embedhlp.hxx>
#include <sfx2/objsh.hxx>
#include <sfx2/viewfrm.hxx>
#include <sfx2/ipclient.hxx>
#include <toolkit/helper/vclunohelper.hxx>
#include <com/sun/star/embed/Aspects.hpp>
diff --git a/sc/source/ui/view/viewfunc.cxx b/sc/source/ui/view/viewfunc.cxx
index 29af7b0..a0e1185 100644
--- a/sc/source/ui/view/viewfunc.cxx
+++ b/sc/source/ui/view/viewfunc.cxx
@@ -83,6 +83,8 @@
#include <docfuncutil.hxx>
#include <sfx2/lokhelper.hxx>
#include <comphelper/lok.hxx>
#include <conditio.hxx>
#include <columnspanset.hxx>
#include <memory>