summaryrefslogtreecommitdiff
path: root/cui/source/inc
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/inc')
-rw-r--r--cui/source/inc/CommandCategoryListBox.hxx1
-rw-r--r--cui/source/inc/CustomNotebookbarGenerator.hxx5
-rw-r--r--cui/source/inc/FontFeaturesDialog.hxx1
-rw-r--r--cui/source/inc/SpellDialog.hxx14
-rw-r--r--cui/source/inc/SvxConfigPageHelper.hxx2
-rw-r--r--cui/source/inc/SvxMenuConfigPage.hxx13
-rw-r--r--cui/source/inc/SvxNotebookbarConfigPage.hxx11
-rw-r--r--cui/source/inc/SvxToolbarConfigPage.hxx11
-rw-r--r--cui/source/inc/about.hxx1
-rw-r--r--cui/source/inc/acccfg.hxx7
-rw-r--r--cui/source/inc/autocdlg.hxx2
-rw-r--r--cui/source/inc/border.hxx2
-rw-r--r--cui/source/inc/cfg.hxx8
-rw-r--r--cui/source/inc/cfgutil.hxx3
-rw-r--r--cui/source/inc/colorpicker.hxx3
-rw-r--r--cui/source/inc/cuigaldlg.hxx4
-rw-r--r--cui/source/inc/cuigrfflt.hxx3
-rw-r--r--cui/source/inc/cuihyperdlg.hxx1
-rw-r--r--cui/source/inc/cuioptgenrl.hxx1
-rw-r--r--cui/source/inc/cuisrchdlg.hxx3
-rw-r--r--cui/source/inc/cuitabarea.hxx2
-rw-r--r--cui/source/inc/cuitabline.hxx6
-rw-r--r--cui/source/inc/dbregister.hxx4
-rw-r--r--cui/source/inc/dstribut.hxx3
-rw-r--r--cui/source/inc/hangulhanjadlg.hxx1
-rw-r--r--cui/source/inc/helpids.h2
-rw-r--r--cui/source/inc/hlinettp.hxx1
-rw-r--r--cui/source/inc/hlmarkwn.hxx1
-rw-r--r--cui/source/inc/hltpbase.hxx5
-rw-r--r--cui/source/inc/iconcdlg.hxx8
-rw-r--r--cui/source/inc/insrc.hxx2
-rw-r--r--cui/source/inc/macropg.hxx2
-rw-r--r--cui/source/inc/multipat.hxx1
-rw-r--r--cui/source/inc/numfmt.hxx2
-rw-r--r--cui/source/inc/numpages.hxx1
-rw-r--r--cui/source/inc/optdict.hxx2
-rw-r--r--cui/source/inc/optlingu.hxx7
-rw-r--r--cui/source/inc/page.hxx1
-rw-r--r--cui/source/inc/paragrph.hxx2
-rw-r--r--cui/source/inc/scriptdlg.hxx1
-rw-r--r--cui/source/inc/showcols.hxx1
-rw-r--r--cui/source/inc/swpossizetabpage.hxx1
-rw-r--r--cui/source/inc/textattr.hxx1
-rw-r--r--cui/source/inc/treeopt.hxx3
-rw-r--r--cui/source/inc/zoom.hxx1
45 files changed, 21 insertions, 136 deletions
diff --git a/cui/source/inc/CommandCategoryListBox.hxx b/cui/source/inc/CommandCategoryListBox.hxx
index 63dfedead272..acc353b93a73 100644
--- a/cui/source/inc/CommandCategoryListBox.hxx
+++ b/cui/source/inc/CommandCategoryListBox.hxx
@@ -19,7 +19,6 @@
#ifndef INCLUDED_CUI_SOURCE_INC_COMMANDCATEGORYLISTBOX_HXX
#define INCLUDED_CUI_SOURCE_INC_COMMANDCATEGORYLISTBOX_HXX
-#include <vcl/lstbox.hxx>
#include <i18nutil/searchopt.hxx>
#include "cfgutil.hxx"
diff --git a/cui/source/inc/CustomNotebookbarGenerator.hxx b/cui/source/inc/CustomNotebookbarGenerator.hxx
index 21424d0b9248..00ebec31e7a4 100644
--- a/cui/source/inc/CustomNotebookbarGenerator.hxx
+++ b/cui/source/inc/CustomNotebookbarGenerator.hxx
@@ -20,7 +20,8 @@
#ifndef INCLUDED_CUI_SOURCE_INC_CUSTOMNOTEBOOKBARGENERATOR_HXX
#define INCLUDED_CUI_SOURCE_INC_CUSTOMNOTEBOOKBARGENERATOR_HXX
-#include "cfg.hxx"
+#include <com/sun/star/uno/Sequence.hxx>
+#include <rtl/ustring.hxx>
using namespace css::uno;
@@ -41,4 +42,4 @@ public:
#endif
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ \ No newline at end of file
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/inc/FontFeaturesDialog.hxx b/cui/source/inc/FontFeaturesDialog.hxx
index 0ef242c87c90..3e4157129944 100644
--- a/cui/source/inc/FontFeaturesDialog.hxx
+++ b/cui/source/inc/FontFeaturesDialog.hxx
@@ -15,7 +15,6 @@
#include <vcl/weld.hxx>
#include <vcl/font/Feature.hxx>
#include <svx/fntctrl.hxx>
-#include "chardlg.hxx"
#include <memory>
namespace cui
diff --git a/cui/source/inc/SpellDialog.hxx b/cui/source/inc/SpellDialog.hxx
index 943d19b50dd8..7f25c3fb2e68 100644
--- a/cui/source/inc/SpellDialog.hxx
+++ b/cui/source/inc/SpellDialog.hxx
@@ -20,24 +20,12 @@
#define INCLUDED_CUI_SOURCE_INC_SPELLDIALOG_HXX
#include <sfx2/basedlgs.hxx>
-#include <vcl/fixed.hxx>
-#include <vcl/edit.hxx>
-#include <vcl/lstbox.hxx>
-#include <vcl/button.hxx>
-#include <vcl/menubtn.hxx>
-#include <vcl/decoview.hxx>
-#include <vcl/image.hxx>
-#include <vcl/toolbox.hxx>
#include <com/sun/star/uno/Reference.hxx>
#include <svx/langbox.hxx>
#include <memory>
-#include <svtools/svmedit.hxx>
-#include <svl/lstner.hxx>
-#include <vcl/fixedhyper.hxx>
-#include <vcl/xtextedt.hxx>
-#include <vcl/txtattr.hxx>
+#include <svl/undo.hxx>
#include <vcl/customweld.hxx>
#include <editeng/weldeditview.hxx>
#include <editeng/SpellPortions.hxx>
diff --git a/cui/source/inc/SvxConfigPageHelper.hxx b/cui/source/inc/SvxConfigPageHelper.hxx
index 4d0596846bd6..e78fc10cfd87 100644
--- a/cui/source/inc/SvxConfigPageHelper.hxx
+++ b/cui/source/inc/SvxConfigPageHelper.hxx
@@ -20,7 +20,7 @@
#ifndef INCLUDED_CUI_SOURCE_INC_SVXCONFIGPAGEHELPER_HXX
#define INCLUDED_CUI_SOURCE_INC_SVXCONFIGPAGEHELPER_HXX
-#include <vector>
+#include <com/sun/star/frame/XModuleManager2.hpp>
#include "cfg.hxx"
diff --git a/cui/source/inc/SvxMenuConfigPage.hxx b/cui/source/inc/SvxMenuConfigPage.hxx
index 8dca571c2080..309428d41c2a 100644
--- a/cui/source/inc/SvxMenuConfigPage.hxx
+++ b/cui/source/inc/SvxMenuConfigPage.hxx
@@ -20,21 +20,8 @@
#define INCLUDED_CUI_SOURCE_INC_SVXMENUCONFIGPAGE_HXX
#include <vcl/weld.hxx>
-#include <com/sun/star/beans/XPropertySet.hpp>
-#include <com/sun/star/container/XIndexContainer.hpp>
-#include <com/sun/star/container/XNameAccess.hpp>
-#include <com/sun/star/ui/XUIConfigurationListener.hpp>
#include <com/sun/star/ui/XUIConfigurationManager.hpp>
-#include <com/sun/star/ui/XImageManager.hpp>
-#include <com/sun/star/frame/XFrame.hpp>
-#include <com/sun/star/uno/XComponentContext.hpp>
-#include <com/sun/star/lang/XSingleComponentFactory.hpp>
-#include <sfx2/tabdlg.hxx>
-#include <memory>
-#include <vector>
-
-#include "cfgutil.hxx"
#include "cfg.hxx" //for SvxConfigPage and SaveInData
class SvxMenuConfigPage : public SvxConfigPage
diff --git a/cui/source/inc/SvxNotebookbarConfigPage.hxx b/cui/source/inc/SvxNotebookbarConfigPage.hxx
index 56298e4edbba..a945c4b47a86 100644
--- a/cui/source/inc/SvxNotebookbarConfigPage.hxx
+++ b/cui/source/inc/SvxNotebookbarConfigPage.hxx
@@ -19,24 +19,13 @@
#ifndef INCLUDED_CUI_SOURCE_INC_SVXNOTEBOOKBARCONFIGPAGE_HXX
#define INCLUDED_CUI_SOURCE_INC_SVXNOTEBOOKBARCONFIGPAGE_HXX
-#include <libxml/xmlmemory.h>
#include <libxml/parser.h>
#include <vcl/weld.hxx>
-#include <com/sun/star/beans/XPropertySet.hpp>
-#include <com/sun/star/container/XIndexContainer.hpp>
-#include <com/sun/star/container/XNameAccess.hpp>
-#include <com/sun/star/ui/XUIConfigurationListener.hpp>
#include <com/sun/star/ui/XUIConfigurationManager.hpp>
-#include <com/sun/star/ui/XImageManager.hpp>
-#include <com/sun/star/frame/XFrame.hpp>
-#include <com/sun/star/uno/XComponentContext.hpp>
-#include <com/sun/star/lang/XSingleComponentFactory.hpp>
-#include <sfx2/tabdlg.hxx>
#include <memory>
#include <vector>
-//#include "cfgutil.hxx"
#include "cfg.hxx" //for SvxConfigPage and SaveInData
class SvxNotebookbarConfigPage : public SvxConfigPage
diff --git a/cui/source/inc/SvxToolbarConfigPage.hxx b/cui/source/inc/SvxToolbarConfigPage.hxx
index bd0d32f3b3ea..c7e86e6a34df 100644
--- a/cui/source/inc/SvxToolbarConfigPage.hxx
+++ b/cui/source/inc/SvxToolbarConfigPage.hxx
@@ -20,21 +20,10 @@
#define INCLUDED_CUI_SOURCE_INC_SVXTOOLBARCONFIGPAGE_HXX
#include <vcl/weld.hxx>
-#include <com/sun/star/beans/XPropertySet.hpp>
-#include <com/sun/star/container/XIndexContainer.hpp>
-#include <com/sun/star/container/XNameAccess.hpp>
-#include <com/sun/star/ui/XUIConfigurationListener.hpp>
#include <com/sun/star/ui/XUIConfigurationManager.hpp>
-#include <com/sun/star/ui/XImageManager.hpp>
-#include <com/sun/star/frame/XFrame.hpp>
-#include <com/sun/star/uno/XComponentContext.hpp>
-#include <com/sun/star/lang/XSingleComponentFactory.hpp>
-#include <sfx2/tabdlg.hxx>
#include <memory>
-#include <vector>
-//#include "cfgutil.hxx"
#include "cfg.hxx" //for SvxConfigPage and SaveInData
class SvxToolbarConfigPage : public SvxConfigPage
diff --git a/cui/source/inc/about.hxx b/cui/source/inc/about.hxx
index 7ef833a8b483..adafb7448ef0 100644
--- a/cui/source/inc/about.hxx
+++ b/cui/source/inc/about.hxx
@@ -19,6 +19,7 @@
#ifndef INCLUDED_CUI_SOURCE_INC_ABOUT_HXX
#define INCLUDED_CUI_SOURCE_INC_ABOUT_HXX
+#include <vcl/bitmapex.hxx>
#include <vcl/weld.hxx>
class AboutDialog : public weld::DialogController
diff --git a/cui/source/inc/acccfg.hxx b/cui/source/inc/acccfg.hxx
index 5601f08406a9..e61fe5199832 100644
--- a/cui/source/inc/acccfg.hxx
+++ b/cui/source/inc/acccfg.hxx
@@ -20,19 +20,12 @@
#ifndef INCLUDED_CUI_SOURCE_INC_ACCCFG_HXX
#define INCLUDED_CUI_SOURCE_INC_ACCCFG_HXX
-#include <com/sun/star/beans/XPropertySet.hpp>
-#include <com/sun/star/container/XIndexContainer.hpp>
-#include <com/sun/star/ui/XUIConfigurationManager.hpp>
#include <com/sun/star/ui/XAcceleratorConfiguration.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
-#include <com/sun/star/lang/XSingleComponentFactory.hpp>
#include <com/sun/star/container/XNameAccess.hpp>
#include <com/sun/star/frame/XFrame.hpp>
-#include <algorithm>
-
#include <sfx2/tabdlg.hxx>
-#include <sfx2/basedlgs.hxx>
#include <i18nutil/searchopt.hxx>
#include "cfgutil.hxx"
diff --git a/cui/source/inc/autocdlg.hxx b/cui/source/inc/autocdlg.hxx
index bcb283f154e6..8d2c9ea1c0d9 100644
--- a/cui/source/inc/autocdlg.hxx
+++ b/cui/source/inc/autocdlg.hxx
@@ -20,9 +20,7 @@
#define INCLUDED_CUI_SOURCE_INC_AUTOCDLG_HXX
#include <sfx2/tabdlg.hxx>
-#include <svtools/langtab.hxx>
#include <svx/langbox.hxx>
-#include <tools/debug.hxx>
#include <vcl/metric.hxx>
#include <set>
diff --git a/cui/source/inc/border.hxx b/cui/source/inc/border.hxx
index 733538499ec0..92790ea285e5 100644
--- a/cui/source/inc/border.hxx
+++ b/cui/source/inc/border.hxx
@@ -21,8 +21,6 @@
#include <editeng/shaditem.hxx>
#include <svtools/ctrlbox.hxx>
-#include <vcl/field.hxx>
-#include <vcl/fixed.hxx>
#include <vcl/weld.hxx>
#include <svtools/valueset.hxx>
#include <sfx2/tabdlg.hxx>
diff --git a/cui/source/inc/cfg.hxx b/cui/source/inc/cfg.hxx
index 140864de6126..5d6a677f8eab 100644
--- a/cui/source/inc/cfg.hxx
+++ b/cui/source/inc/cfg.hxx
@@ -20,22 +20,14 @@
#define INCLUDED_CUI_SOURCE_INC_CFG_HXX
#include <vcl/weld.hxx>
-#include <svtools/imgdef.hxx>
-#include <svtools/miscopt.hxx>
#include <svtools/valueset.hxx>
-#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/container/XIndexContainer.hpp>
#include <com/sun/star/container/XNameAccess.hpp>
-#include <com/sun/star/ui/XUIConfigurationListener.hpp>
#include <com/sun/star/ui/XUIConfigurationManager.hpp>
#include <com/sun/star/ui/XImageManager.hpp>
-#include <com/sun/star/ui/ImageType.hpp>
-#include <com/sun/star/ui/ItemType.hpp>
#include <com/sun/star/graphic/XGraphicProvider.hpp>
#include <com/sun/star/frame/XFrame.hpp>
-#include <com/sun/star/frame/ModuleManager.hpp>
-#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/lang/XSingleComponentFactory.hpp>
#include <sfx2/tabdlg.hxx>
diff --git a/cui/source/inc/cfgutil.hxx b/cui/source/inc/cfgutil.hxx
index e779951f95b2..8b69238cfbaf 100644
--- a/cui/source/inc/cfgutil.hxx
+++ b/cui/source/inc/cfgutil.hxx
@@ -26,10 +26,9 @@
#include <com/sun/star/frame/DispatchInformation.hpp>
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/frame/XFrame.hpp>
-#include <com/sun/star/lang/XSingleComponentFactory.hpp>
#include <com/sun/star/container/XNameAccess.hpp>
#include <com/sun/star/script/browse/XBrowseNode.hpp>
-#include <vcl/timer.hxx>
+#include <com/sun/star/uno/XComponentContext.hpp>
#include <vcl/weld.hxx>
class Button;
diff --git a/cui/source/inc/colorpicker.hxx b/cui/source/inc/colorpicker.hxx
index 53f0fa611142..d20f29f87989 100644
--- a/cui/source/inc/colorpicker.hxx
+++ b/cui/source/inc/colorpicker.hxx
@@ -22,12 +22,9 @@
#include <sal/config.h>
-#include <com/sun/star/uno/Exception.hpp>
#include <com/sun/star/uno/Reference.hxx>
-#include <com/sun/star/uno/RuntimeException.hpp>
#include <com/sun/star/uno/Sequence.hxx>
#include <rtl/ustring.hxx>
-#include <sal/types.h>
namespace com { namespace sun { namespace star { namespace uno {
class XComponentContext;
diff --git a/cui/source/inc/cuigaldlg.hxx b/cui/source/inc/cuigaldlg.hxx
index 29ac048fca86..064bc660bb2e 100644
--- a/cui/source/inc/cuigaldlg.hxx
+++ b/cui/source/inc/cuigaldlg.hxx
@@ -24,11 +24,7 @@
#include <salhelper/thread.hxx>
#include <tools/urlobj.hxx>
-#include <vcl/graph.hxx>
#include <vcl/idle.hxx>
-#include <svl/slstitm.hxx>
-#include <vcl/transfer.hxx>
-#include <vcl/GraphicObject.hxx>
#include <sfx2/tabdlg.hxx>
#include <svx/galctrl.hxx>
#include <svx/galmisc.hxx>
diff --git a/cui/source/inc/cuigrfflt.hxx b/cui/source/inc/cuigrfflt.hxx
index 31b51ca47a44..b5280467334d 100644
--- a/cui/source/inc/cuigrfflt.hxx
+++ b/cui/source/inc/cuigrfflt.hxx
@@ -20,10 +20,7 @@
#ifndef INCLUDED_CUI_SOURCE_INC_CUIGRFFLT_HXX
#define INCLUDED_CUI_SOURCE_INC_CUIGRFFLT_HXX
-#include <tools/helpers.hxx>
-#include <vcl/GraphicObject.hxx>
#include <vcl/timer.hxx>
-#include <svx/graphctl.hxx>
#include <svx/dlgctrl.hxx>
#include <svx/rectenum.hxx>
diff --git a/cui/source/inc/cuihyperdlg.hxx b/cui/source/inc/cuihyperdlg.hxx
index ee5f6a675856..b7f88ef013f5 100644
--- a/cui/source/inc/cuihyperdlg.hxx
+++ b/cui/source/inc/cuihyperdlg.hxx
@@ -28,7 +28,6 @@
#include <sfx2/childwin.hxx>
#include <sfx2/ctrlitem.hxx>
#include <sfx2/bindings.hxx>
-#include <vcl/image.hxx>
#include "iconcdlg.hxx"
diff --git a/cui/source/inc/cuioptgenrl.hxx b/cui/source/inc/cuioptgenrl.hxx
index 2ea91a19eb3d..204cab1e90c7 100644
--- a/cui/source/inc/cuioptgenrl.hxx
+++ b/cui/source/inc/cuioptgenrl.hxx
@@ -21,7 +21,6 @@
// include ---------------------------------------------------------------
-#include <svx/optgenrl.hxx>
#include <sfx2/tabdlg.hxx>
#include <vcl/weld.hxx>
diff --git a/cui/source/inc/cuisrchdlg.hxx b/cui/source/inc/cuisrchdlg.hxx
index 9a72d9de2f71..08b18187f30f 100644
--- a/cui/source/inc/cuisrchdlg.hxx
+++ b/cui/source/inc/cuisrchdlg.hxx
@@ -19,9 +19,8 @@
#ifndef INCLUDED_CUI_SOURCE_INC_CUISRCHDLG_HXX
#define INCLUDED_CUI_SOURCE_INC_CUISRCHDLG_HXX
-#include <sfx2/childwin.hxx>
+#include <i18nutil/transliteration.hxx>
#include <sfx2/basedlgs.hxx>
-#include <svl/srchdefs.hxx>
class SvxJSearchOptionsPage;
diff --git a/cui/source/inc/cuitabarea.hxx b/cui/source/inc/cuitabarea.hxx
index 7ec1b38f1680..e60e718a28ce 100644
--- a/cui/source/inc/cuitabarea.hxx
+++ b/cui/source/inc/cuitabarea.hxx
@@ -21,13 +21,11 @@
#include <svtools/valueset.hxx>
#include <svx/dlgctrl.hxx>
-#include <svx/xfillit0.hxx>
#include <svx/xflasit.hxx>
#include <svx/tabarea.hxx>
#include <svx/hexcolorcontrol.hxx>
#include <svx/SvxColorValueSet.hxx>
#include <svx/SvxPresetListBox.hxx>
-#include <svx/Palette.hxx>
#include <svx/PaletteManager.hxx>
#include <svx/svdview.hxx>
diff --git a/cui/source/inc/cuitabline.hxx b/cui/source/inc/cuitabline.hxx
index 34156ada68f3..f7b123502b3a 100644
--- a/cui/source/inc/cuitabline.hxx
+++ b/cui/source/inc/cuitabline.hxx
@@ -21,10 +21,14 @@
#define INCLUDED_CUI_SOURCE_INC_CUITABLINE_HXX
#include <vector>
+#include <editeng/brushitem.hxx>
+#include <sfx2/tabdlg.hxx>
#include <svx/svdpage.hxx>
-#include <svx/tabline.hxx>
#include <svx/tabarea.hxx>
#include <svx/xlnasit.hxx>
+#include <svx/xtable.hxx>
+#include <svx/dlgctrl.hxx>
+#include <vcl/customweld.hxx>
enum class PageType;
class ColorListBox;
diff --git a/cui/source/inc/dbregister.hxx b/cui/source/inc/dbregister.hxx
index 167090f40d0c..12fe0eff140a 100644
--- a/cui/source/inc/dbregister.hxx
+++ b/cui/source/inc/dbregister.hxx
@@ -22,9 +22,7 @@
#include <rtl/ustring.hxx>
#include <sfx2/basedlgs.hxx>
-#include <svl/poolitem.hxx>
-#include <svtools/simptabl.hxx>
-#include "optpath.hxx"
+#include <sfx2/tabdlg.hxx>
class SvTreeListEntry;
namespace svx
diff --git a/cui/source/inc/dstribut.hxx b/cui/source/inc/dstribut.hxx
index 19f9e263361d..f1e7dbe6f718 100644
--- a/cui/source/inc/dstribut.hxx
+++ b/cui/source/inc/dstribut.hxx
@@ -19,8 +19,9 @@
#ifndef INCLUDED_CUI_SOURCE_INC_DSTRIBUT_HXX
#define INCLUDED_CUI_SOURCE_INC_DSTRIBUT_HXX
-#include <svx/dlgctrl.hxx>
+#include <sfx2/tabdlg.hxx>
#include <svx/dstribut_enum.hxx>
+#include <vcl/weld.hxx>
class SvxDistributePage : public SfxTabPage
{
diff --git a/cui/source/inc/hangulhanjadlg.hxx b/cui/source/inc/hangulhanjadlg.hxx
index cc7572f6cf50..9754b36b7c81 100644
--- a/cui/source/inc/hangulhanjadlg.hxx
+++ b/cui/source/inc/hangulhanjadlg.hxx
@@ -24,7 +24,6 @@
#include <vcl/weld.hxx>
#include <editeng/hangulhanja.hxx>
#include <com/sun/star/uno/Sequence.hxx>
-#include <editeng/unolingu.hxx>
#include <com/sun/star/linguistic2/XConversionDictionaryList.hpp>
#include <svtools/valueset.hxx>
diff --git a/cui/source/inc/helpids.h b/cui/source/inc/helpids.h
index 5f65df49d892..3ae4404c138f 100644
--- a/cui/source/inc/helpids.h
+++ b/cui/source/inc/helpids.h
@@ -19,8 +19,6 @@
#ifndef INCLUDED_CUI_SOURCE_INC_HELPID_HRC
#define INCLUDED_CUI_SOURCE_INC_HELPID_HRC
-#include <svx/svxcommands.h>
-
#define HID_OPTIONS_COLORCONFIG_SAVE_SCHEME "CUI_HID_OPTIONS_COLORCONFIG_SAVE_SCHEME"
#define HID_OFA_FONT_SUBST_CLB "CUI_HID_OFA_FONT_SUBST_CLB"
#define HID_DBPATH_CTL_PATH "CUI_HID_DBPATH_CTL_PATH"
diff --git a/cui/source/inc/hlinettp.hxx b/cui/source/inc/hlinettp.hxx
index 30fb8f8d230a..88020df12c54 100644
--- a/cui/source/inc/hlinettp.hxx
+++ b/cui/source/inc/hlinettp.hxx
@@ -19,7 +19,6 @@
#ifndef INCLUDED_CUI_SOURCE_INC_HLINETTP_HXX
#define INCLUDED_CUI_SOURCE_INC_HLINETTP_HXX
-#include <svx/hyperdlg.hxx>
#include "cuihyperdlg.hxx"
#include "hltpbase.hxx"
diff --git a/cui/source/inc/hlmarkwn.hxx b/cui/source/inc/hlmarkwn.hxx
index 3932e05ac3d8..e45baa8572f7 100644
--- a/cui/source/inc/hlmarkwn.hxx
+++ b/cui/source/inc/hlmarkwn.hxx
@@ -23,7 +23,6 @@
#include <com/sun/star/container/XNameAccess.hpp>
#include <vcl/weld.hxx>
-#include "hlmarkwn_def.hxx"
class SvxHyperlinkTabPageBase;
//# #
diff --git a/cui/source/inc/hltpbase.hxx b/cui/source/inc/hltpbase.hxx
index e079a3c072bf..7c88179d1477 100644
--- a/cui/source/inc/hltpbase.hxx
+++ b/cui/source/inc/hltpbase.hxx
@@ -19,18 +19,13 @@
#ifndef INCLUDED_CUI_SOURCE_INC_HLTPBASE_HXX
#define INCLUDED_CUI_SOURCE_INC_HLTPBASE_HXX
-#include <sfx2/app.hxx>
#include <sfx2/tabdlg.hxx>
-#include <svl/stritem.hxx>
-#include <svl/eitem.hxx>
#include <vcl/transfer.hxx>
#include <sfx2/dispatch.hxx>
-#include <sfx2/fcontnr.hxx>
#include <svtools/inettbc.hxx>
#include <vcl/timer.hxx>
#include <vcl/waitobj.hxx>
-#include <sfx2/docfile.hxx>
#include <com/sun/star/frame/XFrame.hpp>
#include <svx/hlnkitem.hxx>
diff --git a/cui/source/inc/iconcdlg.hxx b/cui/source/inc/iconcdlg.hxx
index 61df6b92d5ec..230c22be74c2 100644
--- a/cui/source/inc/iconcdlg.hxx
+++ b/cui/source/inc/iconcdlg.hxx
@@ -20,15 +20,7 @@
#define INCLUDED_CUI_SOURCE_INC_ICONCDLG_HXX
#include <rtl/ustring.hxx>
-#include <vcl/ivctrl.hxx>
-#include <vcl/tabpage.hxx>
-#include <vcl/dialog.hxx>
-#include <vcl/button.hxx>
-#include <vcl/image.hxx>
-#include <vcl/layout.hxx>
#include <sfx2/tabdlg.hxx>
-#include <sfx2/basedlgs.hxx>
-#include <vector>
// forward-declarations
struct IconChoicePageData;
diff --git a/cui/source/inc/insrc.hxx b/cui/source/inc/insrc.hxx
index 555b07700b7a..ea6428eb3a67 100644
--- a/cui/source/inc/insrc.hxx
+++ b/cui/source/inc/insrc.hxx
@@ -20,7 +20,7 @@
#define INCLUDED_CUI_SOURCE_INC_INSRC_HXX
#include <rtl/string.hxx>
-#include <rtl/ustring.hxx>
+#include <svx/svxdlg.hxx>
#include <vcl/weld.hxx>
class SvxInsRowColDlg : public SvxAbstractInsRowColDlg, public weld::GenericDialogController
diff --git a/cui/source/inc/macropg.hxx b/cui/source/inc/macropg.hxx
index cf60d2ad0a49..c80f848ec759 100644
--- a/cui/source/inc/macropg.hxx
+++ b/cui/source/inc/macropg.hxx
@@ -24,9 +24,7 @@
#include <com/sun/star/container/XNameReplace.hpp>
#include <com/sun/star/util/XModifiable.hpp>
-#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/uno/Reference.hxx>
-#include <svl/macitem.hxx>
#include <rtl/ustring.hxx>
#include <unordered_map>
diff --git a/cui/source/inc/multipat.hxx b/cui/source/inc/multipat.hxx
index 14dfd7331dbe..67832c1e8cae 100644
--- a/cui/source/inc/multipat.hxx
+++ b/cui/source/inc/multipat.hxx
@@ -20,7 +20,6 @@
#define INCLUDED_CUI_SOURCE_INC_MULTIPAT_HXX
#include <vcl/weld.hxx>
-#include "radiobtnbox.hxx"
// define ----------------------------------------------------------------
diff --git a/cui/source/inc/numfmt.hxx b/cui/source/inc/numfmt.hxx
index 70b2806e5c61..cbce3ffbb1b1 100644
--- a/cui/source/inc/numfmt.hxx
+++ b/cui/source/inc/numfmt.hxx
@@ -23,10 +23,8 @@
#include <rtl/ustring.hxx>
#include <sfx2/tabdlg.hxx>
#include <svx/langbox.hxx>
-#include <svx/fontlb.hxx>
#include <tools/color.hxx>
#include <vcl/customweld.hxx>
-#include <vcl/toolbox.hxx>
#include <vcl/weld.hxx>
class SvxNumberFormatShell;
diff --git a/cui/source/inc/numpages.hxx b/cui/source/inc/numpages.hxx
index 183f1d7825ac..54614209a779 100644
--- a/cui/source/inc/numpages.hxx
+++ b/cui/source/inc/numpages.hxx
@@ -23,7 +23,6 @@
#include <memory>
#include <sfx2/tabdlg.hxx>
-#include <svx/Palette.hxx>
#include <editeng/numdef.hxx>
#include <editeng/svxenum.hxx>
#include <svtools/ctrlbox.hxx>
diff --git a/cui/source/inc/optdict.hxx b/cui/source/inc/optdict.hxx
index 6694f200c9fa..5921dc905490 100644
--- a/cui/source/inc/optdict.hxx
+++ b/cui/source/inc/optdict.hxx
@@ -19,9 +19,7 @@
#ifndef INCLUDED_CUI_SOURCE_INC_OPTDICT_HXX
#define INCLUDED_CUI_SOURCE_INC_OPTDICT_HXX
-#include <vcl/timer.hxx>
#include <vcl/weld.hxx>
-#include <com/sun/star/util/Language.hpp>
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/uno/Sequence.hxx>
#include <svx/langbox.hxx>
diff --git a/cui/source/inc/optlingu.hxx b/cui/source/inc/optlingu.hxx
index 8478f9bc45e0..b214115ddb0d 100644
--- a/cui/source/inc/optlingu.hxx
+++ b/cui/source/inc/optlingu.hxx
@@ -19,17 +19,10 @@
#ifndef INCLUDED_CUI_SOURCE_INC_OPTLINGU_HXX
#define INCLUDED_CUI_SOURCE_INC_OPTLINGU_HXX
-#include <vcl/button.hxx>
-#include <vcl/fixed.hxx>
-#include <vcl/toolbox.hxx>
-#include <vcl/field.hxx>
-#include <vcl/fixedhyper.hxx>
#include <sfx2/tabdlg.hxx>
-#include <svx/checklbx.hxx>
#include <svx/langbox.hxx>
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/uno/Sequence.hxx>
-#include <com/sun/star/beans/XPropertySet.hpp>
namespace com{namespace sun{namespace star{
namespace beans{
diff --git a/cui/source/inc/page.hxx b/cui/source/inc/page.hxx
index a5011ae00db1..aa7209a8cd56 100644
--- a/cui/source/inc/page.hxx
+++ b/cui/source/inc/page.hxx
@@ -24,7 +24,6 @@
#include <svx/pagenumberlistbox.hxx>
#include <svx/papersizelistbox.hxx>
#include <svx/frmdirlbox.hxx>
-#include <editeng/svxenum.hxx>
#include <i18nutil/paper.hxx>
#include <svx/flagsdef.hxx>
diff --git a/cui/source/inc/paragrph.hxx b/cui/source/inc/paragrph.hxx
index 572a8af058b6..bccaefeb6cac 100644
--- a/cui/source/inc/paragrph.hxx
+++ b/cui/source/inc/paragrph.hxx
@@ -19,12 +19,10 @@
#ifndef INCLUDED_CUI_SOURCE_INC_PARAGRPH_HXX
#define INCLUDED_CUI_SOURCE_INC_PARAGRPH_HXX
-#include <vcl/button.hxx>
#include <sfx2/tabdlg.hxx>
#include <svx/relfld.hxx>
#include <svx/paraprev.hxx>
#include <svx/frmdirlbox.hxx>
-#include <svx/flagsdef.hxx>
class SvxLineSpacingItem;
diff --git a/cui/source/inc/scriptdlg.hxx b/cui/source/inc/scriptdlg.hxx
index 0ed50167a0e3..3efd5df17517 100644
--- a/cui/source/inc/scriptdlg.hxx
+++ b/cui/source/inc/scriptdlg.hxx
@@ -28,6 +28,7 @@
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/script/browse/XBrowseNode.hpp>
#include <com/sun/star/frame/XModel.hpp>
+#include <com/sun/star/uno/XComponentContext.hpp>
#include <unordered_map>
diff --git a/cui/source/inc/showcols.hxx b/cui/source/inc/showcols.hxx
index f98a7370bbd2..36a89060802e 100644
--- a/cui/source/inc/showcols.hxx
+++ b/cui/source/inc/showcols.hxx
@@ -21,7 +21,6 @@
#define INCLUDED_CUI_SOURCE_INC_SHOWCOLS_HXX
#include <com/sun/star/uno/Reference.hxx>
-#include <com/sun/star/container/XNameAccess.hpp>
#include <com/sun/star/container/XIndexContainer.hpp>
#include <vcl/weld.hxx>
diff --git a/cui/source/inc/swpossizetabpage.hxx b/cui/source/inc/swpossizetabpage.hxx
index a33f411d6915..4f5c276a6714 100644
--- a/cui/source/inc/swpossizetabpage.hxx
+++ b/cui/source/inc/swpossizetabpage.hxx
@@ -20,7 +20,6 @@
#define INCLUDED_CUI_SOURCE_INC_SWPOSSIZETABPAGE_HXX
#include <sfx2/tabdlg.hxx>
-#include <svx/swframeposstrings.hxx>
#include <svx/swframeexample.hxx>
#include <vcl/weld.hxx>
diff --git a/cui/source/inc/textattr.hxx b/cui/source/inc/textattr.hxx
index 7ba0fa48bfba..42b998ae7b32 100644
--- a/cui/source/inc/textattr.hxx
+++ b/cui/source/inc/textattr.hxx
@@ -21,7 +21,6 @@
#include <svx/dlgctrl.hxx>
#include <svx/svdobj.hxx>
-#include <sfx2/basedlgs.hxx>
class SdrView;
diff --git a/cui/source/inc/treeopt.hxx b/cui/source/inc/treeopt.hxx
index 403250eabe55..9afb955b8e70 100644
--- a/cui/source/inc/treeopt.hxx
+++ b/cui/source/inc/treeopt.hxx
@@ -26,7 +26,8 @@
#include <sfx2/basedlgs.hxx>
#include <svtools/restartdialog.hxx>
-#include <vcl/fixed.hxx>
+#include <vcl/tabpage.hxx>
+#include <vcl/treelistbox.hxx>
class SfxModule;
class SfxShell;
diff --git a/cui/source/inc/zoom.hxx b/cui/source/inc/zoom.hxx
index c87ff087767f..f35a7bfba16a 100644
--- a/cui/source/inc/zoom.hxx
+++ b/cui/source/inc/zoom.hxx
@@ -21,6 +21,7 @@
#include <memory>
#include <sfx2/basedlgs.hxx>
+#include <svl/itemset.hxx>
#include <svx/zoom_def.hxx>
#include <vcl/weld.hxx>