summaryrefslogtreecommitdiff
path: root/cui/source/options
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2019-07-13 08:13:32 +0200
committerMiklos Vajna <vmiklos@collabora.com>2019-07-25 17:15:12 +0200
commite354681e5d5d21b4ad0d435193810922df7ec7a0 (patch)
tree311e65ec841de03e80f7dac40f11630091d115ee /cui/source/options
parent9136237ac0758b11831c21cd636520b08c88b209 (diff)
tdf#42949 Fix IWYU warnings in cui/*hxx
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: Ia1b6e58623b64b11cb1a5ac5c7fba73e8cc04d07 Reviewed-on: https://gerrit.libreoffice.org/75522 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'cui/source/options')
-rw-r--r--cui/source/options/connpoolconfig.cxx2
-rw-r--r--cui/source/options/connpooloptions.cxx2
-rw-r--r--cui/source/options/connpooloptions.hxx2
-rw-r--r--cui/source/options/dbregister.cxx1
-rw-r--r--cui/source/options/dbregisterednamesconfig.cxx1
-rw-r--r--cui/source/options/doclinkdialog.hxx1
-rw-r--r--cui/source/options/fontsubs.cxx1
-rw-r--r--cui/source/options/fontsubs.hxx2
-rw-r--r--cui/source/options/optaboutconfig.hxx5
-rw-r--r--cui/source/options/optaccessibility.hxx2
-rw-r--r--cui/source/options/optchart.cxx1
-rw-r--r--cui/source/options/optchart.hxx3
-rw-r--r--cui/source/options/optcolor.hxx1
-rw-r--r--cui/source/options/optctl.hxx1
-rw-r--r--cui/source/options/optfltr.hxx1
-rw-r--r--cui/source/options/optgdlg.cxx1
-rw-r--r--cui/source/options/optgdlg.hxx1
-rw-r--r--cui/source/options/optgenrl.cxx1
-rw-r--r--cui/source/options/opthtml.hxx1
-rw-r--r--cui/source/options/optinet2.hxx6
-rw-r--r--cui/source/options/optjava.cxx1
-rw-r--r--cui/source/options/optjava.hxx4
-rw-r--r--cui/source/options/optjsearch.hxx1
-rw-r--r--cui/source/options/optopencl.hxx1
-rw-r--r--cui/source/options/personalization.hxx3
-rw-r--r--cui/source/options/sdbcdriverenum.hxx1
-rw-r--r--cui/source/options/treeopt.cxx2
27 files changed, 19 insertions, 30 deletions
diff --git a/cui/source/options/connpoolconfig.cxx b/cui/source/options/connpoolconfig.cxx
index 8d28a1e84c8e..8155770129b1 100644
--- a/cui/source/options/connpoolconfig.cxx
+++ b/cui/source/options/connpoolconfig.cxx
@@ -22,8 +22,10 @@
#include "connpooloptions.hxx"
#include <svl/itemset.hxx>
+#include <svx/databaseregistrationui.hxx>
#include <unotools/confignode.hxx>
#include <svl/eitem.hxx>
+#include <svl/solar.hrc>
#include <comphelper/processfactory.hxx>
#include "sdbcdriverenum.hxx"
diff --git a/cui/source/options/connpooloptions.cxx b/cui/source/options/connpooloptions.cxx
index 0603423c63ad..204abfb8f433 100644
--- a/cui/source/options/connpooloptions.cxx
+++ b/cui/source/options/connpooloptions.cxx
@@ -24,6 +24,8 @@
#include <vcl/builderfactory.hxx>
#include "connpoolsettings.hxx"
#include <svl/eitem.hxx>
+#include <svl/solar.hrc>
+#include <svx/databaseregistrationui.hxx>
#include <strings.hrc>
#include <dialmgr.hxx>
diff --git a/cui/source/options/connpooloptions.hxx b/cui/source/options/connpooloptions.hxx
index cfbd148a364c..ffd8f9702d39 100644
--- a/cui/source/options/connpooloptions.hxx
+++ b/cui/source/options/connpooloptions.hxx
@@ -20,12 +20,10 @@
#ifndef INCLUDED_CUI_SOURCE_OPTIONS_CONNPOOLOPTIONS_HXX
#define INCLUDED_CUI_SOURCE_OPTIONS_CONNPOOLOPTIONS_HXX
-#include <svl/solar.hrc>
#include <sfx2/tabdlg.hxx>
#include <vcl/fixed.hxx>
#include <vcl/button.hxx>
#include <vcl/field.hxx>
-#include <svx/databaseregistrationui.hxx>
namespace offapp
diff --git a/cui/source/options/dbregister.cxx b/cui/source/options/dbregister.cxx
index 638908599ab1..4d409f14fdc5 100644
--- a/cui/source/options/dbregister.cxx
+++ b/cui/source/options/dbregister.cxx
@@ -41,6 +41,7 @@
#include <dialmgr.hxx>
#include "dbregisterednamesconfig.hxx"
#include <svx/dialogs.hrc>
+#include <svx/databaseregistrationui.hxx>
#define TAB_WIDTH1 80
diff --git a/cui/source/options/dbregisterednamesconfig.cxx b/cui/source/options/dbregisterednamesconfig.cxx
index 4af9678fe40d..3123a45e0b77 100644
--- a/cui/source/options/dbregisterednamesconfig.cxx
+++ b/cui/source/options/dbregisterednamesconfig.cxx
@@ -20,6 +20,7 @@
#include "connpooloptions.hxx"
#include "dbregisterednamesconfig.hxx"
#include "dbregistersettings.hxx"
+#include <svx/databaseregistrationui.hxx>
#include <svx/svxids.hrc>
#include <com/sun/star/container/XNameAccess.hpp>
#include <com/sun/star/sdb/DatabaseContext.hpp>
diff --git a/cui/source/options/doclinkdialog.hxx b/cui/source/options/doclinkdialog.hxx
index 69e753f9828c..0e66ebfd6b0c 100644
--- a/cui/source/options/doclinkdialog.hxx
+++ b/cui/source/options/doclinkdialog.hxx
@@ -21,7 +21,6 @@
#define INCLUDED_CUI_SOURCE_OPTIONS_DOCLINKDIALOG_HXX
#include <vcl/weld.hxx>
-#include <vcl/fixed.hxx>
#include <svtools/inettbc.hxx>
namespace svx
diff --git a/cui/source/options/fontsubs.cxx b/cui/source/options/fontsubs.cxx
index 238e8b3dedcb..b80dc786dcf9 100644
--- a/cui/source/options/fontsubs.cxx
+++ b/cui/source/options/fontsubs.cxx
@@ -21,6 +21,7 @@
#include <officecfg/Office/Common.hxx>
#include <svtools/ctrltool.hxx>
+#include <vcl/fixed.hxx>
#include <vcl/svlbitm.hxx>
#include <vcl/svapp.hxx>
#include <vcl/wrkwin.hxx>
diff --git a/cui/source/options/fontsubs.hxx b/cui/source/options/fontsubs.hxx
index 214ba17c1561..3bbde2c4cad5 100644
--- a/cui/source/options/fontsubs.hxx
+++ b/cui/source/options/fontsubs.hxx
@@ -23,9 +23,7 @@
#include <svtools/ctrlbox.hxx>
#include <svtools/simptabl.hxx>
#include <vcl/treelistentry.hxx>
-#include <vcl/fixed.hxx>
#include <vcl/layout.hxx>
-#include <vcl/toolbox.hxx>
// class SvxFontSubstCheckListBox ------------------------------------------
diff --git a/cui/source/options/optaboutconfig.hxx b/cui/source/options/optaboutconfig.hxx
index eed7400de050..5591f40e43db 100644
--- a/cui/source/options/optaboutconfig.hxx
+++ b/cui/source/options/optaboutconfig.hxx
@@ -11,12 +11,11 @@
#define INCLUDED_CUI_SOURCE_OPTIONS_OPTABOUTCONFIG_HXX
#include <com/sun/star/container/XNameAccess.hpp>
-#include <com/sun/star/beans/NamedValue.hpp>
#include <i18nutil/searchopt.hxx>
-#include <sfx2/tabdlg.hxx>
#include <svtools/simptabl.hxx>
-#include <vcl/edit.hxx>
+#include <vcl/dialog.hxx>
+#include <vcl/weld.hxx>
#include <vector>
diff --git a/cui/source/options/optaccessibility.hxx b/cui/source/options/optaccessibility.hxx
index 5f4dc18206a5..359a2a286ab4 100644
--- a/cui/source/options/optaccessibility.hxx
+++ b/cui/source/options/optaccessibility.hxx
@@ -21,8 +21,6 @@
#include <sfx2/tabdlg.hxx>
#include <vcl/button.hxx>
-#include <vcl/fixed.hxx>
-#include <vcl/field.hxx>
class SvxAccessibilityOptionsTabPage : public SfxTabPage
{
diff --git a/cui/source/options/optchart.cxx b/cui/source/options/optchart.cxx
index ea96b8bfbde6..f53e30f1b40d 100644
--- a/cui/source/options/optchart.cxx
+++ b/cui/source/options/optchart.cxx
@@ -20,6 +20,7 @@
#include <unotools/pathoptions.hxx>
#include "optchart.hxx"
#include <svx/SvxColorValueSet.hxx>
+#include <vcl/virdev.hxx>
#include <vcl/weld.hxx>
#include <vcl/settings.hxx>
#include <vcl/svapp.hxx>
diff --git a/cui/source/options/optchart.hxx b/cui/source/options/optchart.hxx
index 321fe0ee4256..ec3e8afef96b 100644
--- a/cui/source/options/optchart.hxx
+++ b/cui/source/options/optchart.hxx
@@ -21,10 +21,9 @@
#define INCLUDED_CUI_SOURCE_OPTIONS_OPTCHART_HXX
#include <sfx2/tabdlg.hxx>
-#include <vcl/fixed.hxx>
#include <svtools/valueset.hxx>
-#include <svx/dlgctrl.hxx>
#include <vcl/button.hxx>
+#include <vcl/lstbox.hxx>
#include <svx/xtable.hxx>
#include <svx/PaletteManager.hxx>
diff --git a/cui/source/options/optcolor.hxx b/cui/source/options/optcolor.hxx
index 173d9b1da6aa..adb0c5c08cd3 100644
--- a/cui/source/options/optcolor.hxx
+++ b/cui/source/options/optcolor.hxx
@@ -20,7 +20,6 @@
#define INCLUDED_CUI_SOURCE_OPTIONS_OPTCOLOR_HXX
#include <sfx2/tabdlg.hxx>
-#include <vcl/fixed.hxx>
#include <vcl/lstbox.hxx>
namespace svtools {class EditableColorConfig;class EditableExtendedColorConfig;}
diff --git a/cui/source/options/optctl.hxx b/cui/source/options/optctl.hxx
index 05106a3c2350..29db016d3369 100644
--- a/cui/source/options/optctl.hxx
+++ b/cui/source/options/optctl.hxx
@@ -20,7 +20,6 @@
#define INCLUDED_CUI_SOURCE_OPTIONS_OPTCTL_HXX
#include <vcl/button.hxx>
-#include <vcl/fixed.hxx>
#include <vcl/lstbox.hxx>
#include <sfx2/tabdlg.hxx>
diff --git a/cui/source/options/optfltr.hxx b/cui/source/options/optfltr.hxx
index 54f00c7b99d1..eb7f638331ca 100644
--- a/cui/source/options/optfltr.hxx
+++ b/cui/source/options/optfltr.hxx
@@ -20,7 +20,6 @@
#define INCLUDED_CUI_SOURCE_OPTIONS_OPTFLTR_HXX
#include <vcl/button.hxx>
-#include <vcl/fixed.hxx>
#include <sfx2/tabdlg.hxx>
#include <svtools/simptabl.hxx>
diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx
index 3da20f8b7ffd..a1e6e777656c 100644
--- a/cui/source/options/optgdlg.cxx
+++ b/cui/source/options/optgdlg.cxx
@@ -89,6 +89,7 @@
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
#include <vcl/IconThemeInfo.hxx>
+#include <vcl/toolbox.hxx>
#if HAVE_FEATURE_OPENGL
#include <vcl/opengl/OpenGLWrapper.hxx>
#endif
diff --git a/cui/source/options/optgdlg.hxx b/cui/source/options/optgdlg.hxx
index f5c02d20da2d..c1ab0bc765af 100644
--- a/cui/source/options/optgdlg.hxx
+++ b/cui/source/options/optgdlg.hxx
@@ -19,6 +19,7 @@
#ifndef INCLUDED_CUI_SOURCE_OPTIONS_OPTGDLG_HXX
#define INCLUDED_CUI_SOURCE_OPTIONS_OPTGDLG_HXX
#include <memory>
+#include <vcl/button.hxx>
#include <vcl/lstbox.hxx>
#include <vcl/field.hxx>
#include <vcl/fixed.hxx>
diff --git a/cui/source/options/optgenrl.cxx b/cui/source/options/optgenrl.cxx
index e7d407874994..57a026d07fd7 100644
--- a/cui/source/options/optgenrl.cxx
+++ b/cui/source/options/optgenrl.cxx
@@ -39,6 +39,7 @@
#include <cuioptgenrl.hxx>
#include <svx/dlgutil.hxx>
#include <svx/svxids.hrc>
+#include <svx/optgenrl.hxx>
using namespace css;
diff --git a/cui/source/options/opthtml.hxx b/cui/source/options/opthtml.hxx
index 34cc9f2b9635..9109b50bf225 100644
--- a/cui/source/options/opthtml.hxx
+++ b/cui/source/options/opthtml.hxx
@@ -21,7 +21,6 @@
#include <vcl/button.hxx>
#include <vcl/field.hxx>
-#include <vcl/fixed.hxx>
#include <sfx2/tabdlg.hxx>
#include <svx/txencbox.hxx>
diff --git a/cui/source/options/optinet2.hxx b/cui/source/options/optinet2.hxx
index dc19ed9466a5..9d7c3596c90e 100644
--- a/cui/source/options/optinet2.hxx
+++ b/cui/source/options/optinet2.hxx
@@ -20,16 +20,10 @@
#define INCLUDED_CUI_SOURCE_OPTIONS_OPTINET2_HXX
#include <memory>
-#include <com/sun/star/lang/XMultiServiceFactory.hpp>
-#include <vcl/field.hxx>
#include <vcl/fixed.hxx>
#include <vcl/layout.hxx>
#include <vcl/lstbox.hxx>
-#include <vcl/svtabbx.hxx>
#include <sfx2/tabdlg.hxx>
-#include <unotools/configitem.hxx>
-
-#include <vcl/headbar.hxx>
namespace svx {
class SecurityOptionsDialog;
diff --git a/cui/source/options/optjava.cxx b/cui/source/options/optjava.cxx
index 4383aed75f31..f5bcb94e0137 100644
--- a/cui/source/options/optjava.cxx
+++ b/cui/source/options/optjava.cxx
@@ -29,6 +29,7 @@
#include "optjava.hxx"
#include <treeopt.hxx>
#include <dialmgr.hxx>
+#include <radiobtnbox.hxx>
#include <officecfg/Office/Common.hxx>
#include <svtools/miscopt.hxx>
diff --git a/cui/source/options/optjava.hxx b/cui/source/options/optjava.hxx
index 116008567143..fdbd162914ae 100644
--- a/cui/source/options/optjava.hxx
+++ b/cui/source/options/optjava.hxx
@@ -23,19 +23,17 @@
#include <memory>
#include <vector>
-#include <ucbhelper/content.hxx>
#include <vcl/button.hxx>
#include <vcl/fixed.hxx>
#include <vcl/layout.hxx>
#include <vcl/timer.hxx>
#include <vcl/idle.hxx>
+#include <vcl/treelistbox.hxx>
#include <vcl/weld.hxx>
#include <sfx2/tabdlg.hxx>
#include <com/sun/star/ui/dialogs/XFolderPicker2.hpp>
#include <svtools/dialogclosedlistener.hxx>
#include <svtools/restartdialog.hxx>
-#include <svtools/simptabl.hxx>
-#include <radiobtnbox.hxx>
// forward ---------------------------------------------------------------
diff --git a/cui/source/options/optjsearch.hxx b/cui/source/options/optjsearch.hxx
index f2e20ebbce98..74164f87f5b0 100644
--- a/cui/source/options/optjsearch.hxx
+++ b/cui/source/options/optjsearch.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_CUI_SOURCE_OPTIONS_OPTJSEARCH_HXX
#define INCLUDED_CUI_SOURCE_OPTIONS_OPTJSEARCH_HXX
+#include <i18nutil/transliteration.hxx>
#include <sfx2/tabdlg.hxx>
#include <vcl/weld.hxx>
diff --git a/cui/source/options/optopencl.hxx b/cui/source/options/optopencl.hxx
index dc3a226bb37c..cc07698e50ca 100644
--- a/cui/source/options/optopencl.hxx
+++ b/cui/source/options/optopencl.hxx
@@ -22,7 +22,6 @@
#include <opencl/openclconfig.hxx>
#include <sfx2/tabdlg.hxx>
-#include <svtools/simptabl.hxx>
#include <vcl/button.hxx>
#include <vcl/fixed.hxx>
diff --git a/cui/source/options/personalization.hxx b/cui/source/options/personalization.hxx
index dbc4cbf17798..7930016f5d62 100644
--- a/cui/source/options/personalization.hxx
+++ b/cui/source/options/personalization.hxx
@@ -11,10 +11,7 @@
#define INCLUDED_CUI_SOURCE_OPTIONS_PERSONALIZATION_HXX
#include <sfx2/tabdlg.hxx>
-#include <rtl/ref.hxx>
#include <vector>
-#include <array>
-#include <atomic>
#define MAX_DEFAULT_PERSONAS 6 // Maximum number of default personas
diff --git a/cui/source/options/sdbcdriverenum.hxx b/cui/source/options/sdbcdriverenum.hxx
index 46cec9736694..6dfbfd62ff12 100644
--- a/cui/source/options/sdbcdriverenum.hxx
+++ b/cui/source/options/sdbcdriverenum.hxx
@@ -21,7 +21,6 @@
#define INCLUDED_CUI_SOURCE_OPTIONS_SDBCDRIVERENUM_HXX
-#include <sal/types.h>
#include <rtl/ustring.hxx>
#include <vector>
diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx
index 701f159487c8..0c33c9f720ed 100644
--- a/cui/source/options/treeopt.cxx
+++ b/cui/source/options/treeopt.cxx
@@ -67,6 +67,7 @@
#include <com/sun/star/frame/Desktop.hpp>
#include <com/sun/star/frame/ModuleManager.hpp>
#include <com/sun/star/frame/UnknownModuleException.hpp>
+#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/loader/CannotActivateFactoryException.hpp>
#include <com/sun/star/linguistic2/LinguProperties.hpp>
#include <com/sun/star/setup/UpdateCheck.hpp>
@@ -92,6 +93,7 @@
#include <svl/languageoptions.hxx>
#include <svtools/helpopt.hxx>
#include <svtools/miscopt.hxx>
+#include <svx/databaseregistrationui.hxx>
#include <svx/drawitem.hxx>
#include <svx/xtable.hxx>
#include <svx/xpool.hxx>