diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-02-14 22:13:06 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-02-15 09:36:54 +0100 |
commit | 798a989937a4acf7830588637f8c3902b4d985d8 (patch) | |
tree | 21c337955cd5d21b60dc2c08c989aa86b4fb12a8 /sw/inc | |
parent | a460cf6822780cb41cd5f9a55b30652c1c4bf1c2 (diff) |
Fix some IWYU warnings
Change-Id: I49b5e3a9e8b91baace9f3b3d4f0ac9d8531d5abe
Reviewed-on: https://gerrit.libreoffice.org/49782
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/docsh.hxx | 6 | ||||
-rw-r--r-- | sw/inc/docufld.hxx | 2 | ||||
-rw-r--r-- | sw/inc/editsh.hxx | 15 | ||||
-rw-r--r-- | sw/inc/fesh.hxx | 2 | ||||
-rw-r--r-- | sw/inc/finalthreadmanager.hxx | 3 | ||||
-rw-r--r-- | sw/inc/fldbas.hxx | 1 | ||||
-rw-r--r-- | sw/inc/flddropdown.hxx | 2 |
7 files changed, 11 insertions, 20 deletions
diff --git a/sw/inc/docsh.hxx b/sw/inc/docsh.hxx index e2c754f1ca32..cbee1542e559 100644 --- a/sw/inc/docsh.hxx +++ b/sw/inc/docsh.hxx @@ -29,8 +29,6 @@ #include "shellid.hxx" #include <svl/lstner.hxx> -#include <svtools/embedhlp.hxx> -#include <LibreOfficeKit/LibreOfficeKitTypes.h> #include <sfx2/StyleManager.hxx> @@ -55,6 +53,10 @@ class IDocumentSettingAccess; class IDocumentChartDataProviderAccess; class SwDocShell; class SwDrawModel; +namespace svt +{ +class EmbeddedObjectRef; +} // initialize DrawModel (in form of a SwDrawModel) and DocShell (in form of a SwDocShell) // as needed, one or both parameters may be zero diff --git a/sw/inc/docufld.hxx b/sw/inc/docufld.hxx index 4d133ff26cb0..13af74471311 100644 --- a/sw/inc/docufld.hxx +++ b/sw/inc/docufld.hxx @@ -25,13 +25,13 @@ #include <svl/macitem.hxx> #include "fldbas.hxx" -#include "numrule.hxx" class SetGetExpFields; class SwTextField; class SwFrame; class OutlinerParaObject; class SwTextAPIObject; +class SwCharFormat; enum SwAuthorFormat { diff --git a/sw/inc/editsh.hxx b/sw/inc/editsh.hxx index 2fd055f6c87c..99c970233810 100644 --- a/sw/inc/editsh.hxx +++ b/sw/inc/editsh.hxx @@ -21,27 +21,16 @@ #include "crsrsh.hxx" -#include "IMark.hxx" #include "charfmt.hxx" #include "fldupde.hxx" #include "frmfmt.hxx" -#include "itabenum.hxx" -#include "swdbdata.hxx" #include "swdllapi.h" #include "swundo.hxx" #include "tblenum.hxx" #include "tox.hxx" -#include <svtools/embedhlp.hxx> -#include <editeng/swafopt.hxx> -#include <svx/ClassificationField.hxx> - -#include <vcl/font.hxx> - -#include <com/sun/star/embed/XEmbeddedObject.hpp> #include <com/sun/star/linguistic2/ProofreadingResult.hpp> #include <com/sun/star/linguistic2/XSpellAlternatives.hpp> -#include <com/sun/star/text/HoriOrientation.hpp> #include <memory> #include <vector> @@ -102,6 +91,9 @@ class SwAuthEntry; class SwRewriter; class SwView; struct SwConversionArgs; +struct SvxSwAutoFormatFlags; +struct SwInsertTableOptions; +struct SwDBData; enum class SvtScriptType; enum class SfxClassificationPolicyType; enum class RedlineFlags; @@ -114,6 +106,7 @@ namespace com { namespace sun { namespace star { namespace uno { namespace svx{ struct SpellPortion; typedef std::vector<SpellPortion> SpellPortions; + class ClassificationResult; } namespace sfx2{ diff --git a/sw/inc/fesh.hxx b/sw/inc/fesh.hxx index 9923aad5bff6..67be27486aea 100644 --- a/sw/inc/fesh.hxx +++ b/sw/inc/fesh.hxx @@ -20,7 +20,6 @@ #define INCLUDED_SW_INC_FESH_HXX #include <com/sun/star/text/RelOrientation.hpp> -#include <com/sun/star/embed/XClassifiedObject.hpp> #include <com/sun/star/embed/XEmbeddedObject.hpp> #include <svx/svdobj.hxx> @@ -31,7 +30,6 @@ #include <svx/svdtypes.hxx> #include <sot/formats.hxx> #include <rtl/ustring.hxx> -#include <svtools/embedhlp.hxx> #include <o3tl/typed_flags_set.hxx> #include <vector> diff --git a/sw/inc/finalthreadmanager.hxx b/sw/inc/finalthreadmanager.hxx index 982fd62cd12f..26c526178ff0 100644 --- a/sw/inc/finalthreadmanager.hxx +++ b/sw/inc/finalthreadmanager.hxx @@ -21,12 +21,11 @@ #define INCLUDED_SW_SOURCE_CORE_INC_FINALTHREADMANAGER_HXX #include <sal/config.h> -#include <cppuhelper/factory.hxx> -#include <cppuhelper/implementationentry.hxx> #include <cppuhelper/implbase.hxx> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/util/XJobManager.hpp> #include <com/sun/star/frame/XTerminateListener2.hpp> +#include <com/sun/star/uno/XComponentContext.hpp> #include <osl/mutex.hxx> #include <list> diff --git a/sw/inc/fldbas.hxx b/sw/inc/fldbas.hxx index e3fed4461a70..44e06c2c34be 100644 --- a/sw/inc/fldbas.hxx +++ b/sw/inc/fldbas.hxx @@ -27,7 +27,6 @@ #include <cppuhelper/weakref.hxx> #include <editeng/svxenum.hxx> #include <vector> -#include "toxe.hxx" class SwDoc; class SvNumberFormatter; diff --git a/sw/inc/flddropdown.hxx b/sw/inc/flddropdown.hxx index 81074d8fabca..36aa09fe0b3d 100644 --- a/sw/inc/flddropdown.hxx +++ b/sw/inc/flddropdown.hxx @@ -19,7 +19,7 @@ #ifndef INCLUDED_SW_INC_FLDDROPDOWN_HXX #define INCLUDED_SW_INC_FLDDROPDOWN_HXX -#include <com/sun/star/uno/Sequence.hxx> +#include <com/sun/star/uno/Sequence.h> #include "swdllapi.h" #include "fldbas.hxx" |