summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2019-03-30 09:40:28 +0100
committerMiklos Vajna <vmiklos@collabora.com>2019-04-01 10:39:44 +0200
commit80152c8c5e3482c1dc29ef1a8fbb1aea4399c39e (patch)
tree61530f38e0967e9f947364220aac4923902ff794 /svx/source
parente296468412ee9640572103d1e6a932f8528fe83b (diff)
tdf#42949 Fix IWYU warnings in include/sfx2/[sS]*
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I4a3baffa8944b522b16b50975185759081662020 Reviewed-on: https://gerrit.libreoffice.org/69945 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/form/fmscriptingenv.cxx1
-rw-r--r--svx/source/gallery2/galtheme.cxx1
-rw-r--r--svx/source/sidebar/text/TextCharacterSpacingControl.cxx2
-rw-r--r--svx/source/stbctrls/pszctrl.cxx1
-rw-r--r--svx/source/stbctrls/selctrl.cxx2
-rw-r--r--svx/source/stbctrls/xmlsecctrl.cxx2
-rw-r--r--svx/source/stbctrls/zoomctrl.cxx2
-rw-r--r--svx/source/styles/CommonStylePreviewRenderer.cxx1
-rw-r--r--svx/source/tbxctrls/colrctrl.cxx2
-rw-r--r--svx/source/tbxctrls/tbcontrl.cxx1
-rw-r--r--svx/source/unodraw/unoshap2.cxx1
11 files changed, 16 insertions, 0 deletions
diff --git a/svx/source/form/fmscriptingenv.cxx b/svx/source/form/fmscriptingenv.cxx
index c8f41b1a8da4..00b0d6ec95ac 100644
--- a/svx/source/form/fmscriptingenv.cxx
+++ b/svx/source/form/fmscriptingenv.cxx
@@ -37,6 +37,7 @@
#include <tools/debug.hxx>
#include <cppuhelper/implbase.hxx>
#include <cppuhelper/compbase.hxx>
+#include <cppuhelper/supportsservice.hxx>
#include <comphelper/processfactory.hxx>
#include <vcl/svapp.hxx>
#include <osl/mutex.hxx>
diff --git a/svx/source/gallery2/galtheme.cxx b/svx/source/gallery2/galtheme.cxx
index b6118c7bb2d2..227465c4da99 100644
--- a/svx/source/gallery2/galtheme.cxx
+++ b/svx/source/gallery2/galtheme.cxx
@@ -27,6 +27,7 @@
#include <comphelper/fileformat.h>
#include <comphelper/processfactory.hxx>
#include <osl/file.hxx>
+#include <osl/thread.hxx>
#include <tools/urlobj.hxx>
#include <tools/vcompat.hxx>
#include <unotools/streamwrap.hxx>
diff --git a/svx/source/sidebar/text/TextCharacterSpacingControl.cxx b/svx/source/sidebar/text/TextCharacterSpacingControl.cxx
index 7ad11da8922b..fbfc077c32ae 100644
--- a/svx/source/sidebar/text/TextCharacterSpacingControl.cxx
+++ b/svx/source/sidebar/text/TextCharacterSpacingControl.cxx
@@ -31,6 +31,8 @@
#include <svl/itempool.hxx>
#include <helpids.h>
+#include <com/sun/star/beans/NamedValue.hpp>
+
#define SPACING_VERY_TIGHT -30
#define SPACING_TIGHT -15
#define SPACING_NORMAL 0
diff --git a/svx/source/stbctrls/pszctrl.cxx b/svx/source/stbctrls/pszctrl.cxx
index 80a94a589730..474ca2c81f0d 100644
--- a/svx/source/stbctrls/pszctrl.cxx
+++ b/svx/source/stbctrls/pszctrl.cxx
@@ -49,6 +49,7 @@
#include <bitmaps.hlst>
#include <unotools/localedatawrapper.hxx>
+#include <com/sun/star/beans/PropertyValue.hpp>
/* [Description]
diff --git a/svx/source/stbctrls/selctrl.cxx b/svx/source/stbctrls/selctrl.cxx
index 50c55e93e85f..1e97e160f289 100644
--- a/svx/source/stbctrls/selctrl.cxx
+++ b/svx/source/stbctrls/selctrl.cxx
@@ -30,6 +30,8 @@
#include "stbctrls.h"
#include <bitmaps.hlst>
+#include <com/sun/star/beans/PropertyValue.hpp>
+
SFX_IMPL_STATUSBAR_CONTROL(SvxSelectionModeControl, SfxUInt16Item);
/// Popup menu to select the selection type
diff --git a/svx/source/stbctrls/xmlsecctrl.cxx b/svx/source/stbctrls/xmlsecctrl.cxx
index deb717dacaf9..92807494e8e0 100644
--- a/svx/source/stbctrls/xmlsecctrl.cxx
+++ b/svx/source/stbctrls/xmlsecctrl.cxx
@@ -42,6 +42,8 @@
#include <bitmaps.hlst>
#include <sal/log.hxx>
+#include <com/sun/star/beans/PropertyValue.hpp>
+
SFX_IMPL_STATUSBAR_CONTROL( XmlSecStatusBarControl, SfxUInt16Item );
struct XmlSecStatusBarControl::XmlSecStatusBarControl_Impl
diff --git a/svx/source/stbctrls/zoomctrl.cxx b/svx/source/stbctrls/zoomctrl.cxx
index 3cf48cf01800..34e0b26c5495 100644
--- a/svx/source/stbctrls/zoomctrl.cxx
+++ b/svx/source/stbctrls/zoomctrl.cxx
@@ -39,6 +39,8 @@
#include "modctrl_internal.hxx"
#include <bitmaps.hlst>
+#include <com/sun/star/beans/PropertyValue.hpp>
+
SFX_IMPL_STATUSBAR_CONTROL(SvxZoomStatusBarControl,SvxZoomItem);
class ZoomPopup_Impl
diff --git a/svx/source/styles/CommonStylePreviewRenderer.cxx b/svx/source/styles/CommonStylePreviewRenderer.cxx
index f56d6fed9513..886200571d74 100644
--- a/svx/source/styles/CommonStylePreviewRenderer.cxx
+++ b/svx/source/styles/CommonStylePreviewRenderer.cxx
@@ -14,6 +14,7 @@
#include <sfx2/objsh.hxx>
#include <svl/style.hxx>
#include <svl/itemset.hxx>
+#include <vcl/outdev.hxx>
#include <com/sun/star/drawing/FillStyle.hpp>
#include <svx/xdef.hxx>
diff --git a/svx/source/tbxctrls/colrctrl.cxx b/svx/source/tbxctrls/colrctrl.cxx
index b605925a33eb..8cc934e5aefd 100644
--- a/svx/source/tbxctrls/colrctrl.cxx
+++ b/svx/source/tbxctrls/colrctrl.cxx
@@ -42,6 +42,8 @@
#include <vcl/svapp.hxx>
#include <vcl/virdev.hxx>
+#include <com/sun/star/beans/NamedValue.hpp>
+
using namespace com::sun::star;
diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx
index 52de39344894..bebcbd8b36d0 100644
--- a/svx/source/tbxctrls/tbcontrl.cxx
+++ b/svx/source/tbxctrls/tbcontrl.cxx
@@ -104,6 +104,7 @@
#include <svl/currencytable.hxx>
#include <svtools/langtab.hxx>
#include <cppu/unotype.hxx>
+#include <cppuhelper/supportsservice.hxx>
#include <officecfg/Office/Common.hxx>
#include <o3tl/typed_flags_set.hxx>
#include <bitmaps.hlst>
diff --git a/svx/source/unodraw/unoshap2.cxx b/svx/source/unodraw/unoshap2.cxx
index edc1b77f2a92..9e9fe4071a59 100644
--- a/svx/source/unodraw/unoshap2.cxx
+++ b/svx/source/unodraw/unoshap2.cxx
@@ -67,6 +67,7 @@
#include <sfx2/app.hxx>
#include <sfx2/fcontnr.hxx>
#include <sal/log.hxx>
+#include <cppuhelper/queryinterface.hxx>
#include <memory>