summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2018-10-28 00:40:27 +0200
committerMiklos Vajna <vmiklos@collabora.com>2018-11-14 09:48:28 +0100
commitf644e4be3c8568c34aca1a63d566269ce084eca2 (patch)
tree7d21ebc393bd805b1af76d4faaf21d357ae96561 /sw
parentf750d900e5dac6f3f2d24bbbc0b8a319496c6760 (diff)
tdf#42949 Fix IWYU warnings in include/svl/*
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: Ide75232858599c275e023c2300201090acd22307 Reviewed-on: https://gerrit.libreoffice.org/63237 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/IwyuFilter_sw.yaml2
-rw-r--r--sw/inc/docufld.hxx1
-rw-r--r--sw/inc/fmtcol.hxx1
-rw-r--r--sw/inc/postithelper.hxx1
-rw-r--r--sw/inc/swtable.hxx1
-rw-r--r--sw/inc/swtypes.hxx1
-rw-r--r--sw/source/core/edit/edfcol.cxx1
-rw-r--r--sw/source/core/fields/postithelper.cxx1
-rw-r--r--sw/source/core/inc/acorrect.hxx1
-rw-r--r--sw/source/core/inc/txtfly.hxx1
-rw-r--r--sw/source/ui/dbui/dbinsdlg.cxx1
11 files changed, 12 insertions, 0 deletions
diff --git a/sw/IwyuFilter_sw.yaml b/sw/IwyuFilter_sw.yaml
index 3597e35b8f07..093df4572bb7 100644
--- a/sw/IwyuFilter_sw.yaml
+++ b/sw/IwyuFilter_sw.yaml
@@ -36,6 +36,8 @@ blacklist:
- o3tl/typed_flags_set.hxx
sw/inc/swtypes.hxx:
- o3tl/typed_flags_set.hxx
+ # Needed for macro #define
+ - com/sun/star/i18n/CollatorOptions.hpp
sw/inc/doc.hxx:
- o3tl/deleter.hxx
sw/inc/docsh.hxx:
diff --git a/sw/inc/docufld.hxx b/sw/inc/docufld.hxx
index ead0f04620b4..17297494c889 100644
--- a/sw/inc/docufld.hxx
+++ b/sw/inc/docufld.hxx
@@ -19,6 +19,7 @@
#ifndef INCLUDED_SW_INC_DOCUFLD_HXX
#define INCLUDED_SW_INC_DOCUFLD_HXX
+#include <tools/solar.h>
#include <tools/date.hxx>
#include <tools/datetime.hxx>
#include <rtl/ref.hxx>
diff --git a/sw/inc/fmtcol.hxx b/sw/inc/fmtcol.hxx
index 1ae82ceb8e16..8a5d64108ced 100644
--- a/sw/inc/fmtcol.hxx
+++ b/sw/inc/fmtcol.hxx
@@ -23,6 +23,7 @@
#include "format.hxx"
#include "hintids.hxx"
#include <rtl/ustring.hxx>
+#include <tools/solar.h>
#include <vector>
#include <memory>
diff --git a/sw/inc/postithelper.hxx b/sw/inc/postithelper.hxx
index 7678f4bde1fd..cdbbc7b27580 100644
--- a/sw/inc/postithelper.hxx
+++ b/sw/inc/postithelper.hxx
@@ -23,6 +23,7 @@
#include "fmtfld.hxx"
#include <cstddef>
#include <vcl/vclptr.hxx>
+#include <tools/solar.h>
#include "SidebarWindowsTypes.hxx"
class SfxBroadcaster;
diff --git a/sw/inc/swtable.hxx b/sw/inc/swtable.hxx
index 890f44431638..21348a36662b 100644
--- a/sw/inc/swtable.hxx
+++ b/sw/inc/swtable.hxx
@@ -19,6 +19,7 @@
#ifndef INCLUDED_SW_INC_SWTABLE_HXX
#define INCLUDED_SW_INC_SWTABLE_HXX
+#include <tools/solar.h>
#include <tools/ref.hxx>
#include "tblenum.hxx"
#include "swtypes.hxx"
diff --git a/sw/inc/swtypes.hxx b/sw/inc/swtypes.hxx
index 1b1c88d28523..a89413ccfa7d 100644
--- a/sw/inc/swtypes.hxx
+++ b/sw/inc/swtypes.hxx
@@ -22,6 +22,7 @@
#include <limits.h>
#include <com/sun/star/uno/Reference.h>
+#include <com/sun/star/i18n/CollatorOptions.hpp>
#include "swdllapi.h"
#include <o3tl/typed_flags_set.hxx>
#include <i18nlangtag/lang.h>
diff --git a/sw/source/core/edit/edfcol.cxx b/sw/source/core/edit/edfcol.cxx
index ca0b7819fd32..5da40eb2555b 100644
--- a/sw/source/core/edit/edfcol.cxx
+++ b/sw/source/core/edit/edfcol.cxx
@@ -56,6 +56,7 @@
#include <sfx2/classificationhelper.hxx>
#include <svx/ClassificationCommon.hxx>
#include <svl/cryptosign.hxx>
+#include <svl/sigstruct.hxx>
#include <utility>
#include <vcl/svapp.hxx>
#include <vcl/weld.hxx>
diff --git a/sw/source/core/fields/postithelper.cxx b/sw/source/core/fields/postithelper.cxx
index 2705b773c48c..d02bbec26c6a 100644
--- a/sw/source/core/fields/postithelper.cxx
+++ b/sw/source/core/fields/postithelper.cxx
@@ -35,6 +35,7 @@
#include <scriptinfo.hxx>
#include <editeng/charhiddenitem.hxx>
#include <calbck.hxx>
+#include <tools/solar.h>
class Point;
diff --git a/sw/source/core/inc/acorrect.hxx b/sw/source/core/inc/acorrect.hxx
index 7d4c570c78b8..f14edf751681 100644
--- a/sw/source/core/inc/acorrect.hxx
+++ b/sw/source/core/inc/acorrect.hxx
@@ -21,6 +21,7 @@
#define INCLUDED_SW_SOURCE_CORE_INC_ACORRECT_HXX
#include <memory>
+#include <tools/solar.h>
#include <editeng/svxacorr.hxx>
#include <swundo.hxx>
diff --git a/sw/source/core/inc/txtfly.hxx b/sw/source/core/inc/txtfly.hxx
index ddf636cd5f77..b3ecc1f07d9c 100644
--- a/sw/source/core/inc/txtfly.hxx
+++ b/sw/source/core/inc/txtfly.hxx
@@ -19,6 +19,7 @@
#ifndef INCLUDED_SW_SOURCE_CORE_INC_TXTFLY_HXX
#define INCLUDED_SW_SOURCE_CORE_INC_TXTFLY_HXX
+#include <tools/solar.h>
#include <swtypes.hxx>
#include <swrect.hxx>
#include <com/sun/star/text/WrapTextMode.hpp>
diff --git a/sw/source/ui/dbui/dbinsdlg.cxx b/sw/source/ui/dbui/dbinsdlg.cxx
index 353474ab236c..278f0d7178ec 100644
--- a/sw/source/ui/dbui/dbinsdlg.cxx
+++ b/sw/source/ui/dbui/dbinsdlg.cxx
@@ -56,6 +56,7 @@
#include <editeng/brushitem.hxx>
#include <editeng/boxitem.hxx>
#include <svx/rulritem.hxx>
+#include <unotools/collatorwrapper.hxx>
#include <tabledlg.hxx>
#include <fmtclds.hxx>
#include <tabcol.hxx>