diff options
author | Gabor Kelemen <kelemen.gabor2@nisz.hu> | 2019-08-25 16:57:40 +0200 |
---|---|---|
committer | Michael Stahl <Michael.Stahl@cib.de> | 2019-08-26 15:24:51 +0200 |
commit | 944f29fb4701f96ede1d5b9ca69031725a6cf76f (patch) | |
tree | 6879b1a76658d25079c4ae95d88e2616f40d486a /sw/source/core/bastyp | |
parent | 419b70b5d4db227509614bdea5b4b89bcf7a6032 (diff) |
tdf#42949 Fix IWYU warnings in sw/source/core/[a-c]*/*cxx
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
Change-Id: I1c68650bb93f918d7ff38491ffedf9af96d80b52
Reviewed-on: https://gerrit.libreoffice.org/78083
Tested-by: Jenkins
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
Diffstat (limited to 'sw/source/core/bastyp')
-rw-r--r-- | sw/source/core/bastyp/breakit.cxx | 3 | ||||
-rw-r--r-- | sw/source/core/bastyp/calc.cxx | 6 | ||||
-rw-r--r-- | sw/source/core/bastyp/init.cxx | 6 | ||||
-rw-r--r-- | sw/source/core/bastyp/proofreadingiterator.cxx | 1 | ||||
-rw-r--r-- | sw/source/core/bastyp/swcache.cxx | 1 | ||||
-rw-r--r-- | sw/source/core/bastyp/swrect.cxx | 3 | ||||
-rw-r--r-- | sw/source/core/bastyp/swtypes.cxx | 21 |
7 files changed, 3 insertions, 38 deletions
diff --git a/sw/source/core/bastyp/breakit.cxx b/sw/source/core/bastyp/breakit.cxx index fe1e9e49ca77..964e9a37d5b2 100644 --- a/sw/source/core/bastyp/breakit.cxx +++ b/sw/source/core/bastyp/breakit.cxx @@ -23,8 +23,7 @@ #include <com/sun/star/i18n/ScriptType.hpp> #include <com/sun/star/i18n/CharacterIteratorMode.hpp> #include <com/sun/star/i18n/BreakIterator.hpp> -#include <editeng/unolingu.hxx> -#include <editeng/scripttypeitem.hxx> +#include <svl/languageoptions.hxx> #include <unicode/uchar.h> #include <unotools/localedatawrapper.hxx> #include <algorithm> diff --git a/sw/source/core/bastyp/calc.cxx b/sw/source/core/bastyp/calc.cxx index 123b02b1ff1e..a2140e497ce2 100644 --- a/sw/source/core/bastyp/calc.cxx +++ b/sw/source/core/bastyp/calc.cxx @@ -27,7 +27,6 @@ #include <comphelper/processfactory.hxx> #include <comphelper/string.hxx> #include <cstdlib> -#include <dbfld.hxx> #include <dbmgr.hxx> #include <docfld.hxx> #include <docstat.hxx> @@ -35,14 +34,13 @@ #include <IDocumentFieldsAccess.hxx> #include <IDocumentStatistics.hxx> #include <editeng/langitem.hxx> -#include <editeng/scripttypeitem.hxx> -#include <editeng/unolingu.hxx> #include <expfld.hxx> #include <hintids.hxx> #include <o3tl/temporary.hxx> -#include <osl/diagnose.hxx> +#include <osl/diagnose.h> #include <rtl/math.hxx> #include <shellres.hxx> +#include <svl/languageoptions.hxx> #include <svl/zforlist.hxx> #include <swmodule.hxx> #include <swtypes.hxx> diff --git a/sw/source/core/bastyp/init.cxx b/sw/source/core/bastyp/init.cxx index f32d37f5d41d..6c6d462ab331 100644 --- a/sw/source/core/bastyp/init.cxx +++ b/sw/source/core/bastyp/init.cxx @@ -23,7 +23,6 @@ #include <cellatr.hxx> #include <checkit.hxx> #include <cmdid.h> -#include <fesh.hxx> #include <comphelper/processfactory.hxx> #include <doc.hxx> #include <editeng/acorrcfg.hxx> @@ -74,7 +73,6 @@ #include <editeng/twolinesitem.hxx> #include <editeng/ulspitem.hxx> #include <editeng/udlnitem.hxx> -#include <editeng/unolingu.hxx> #include <editeng/wghtitem.hxx> #include <editeng/widwitem.hxx> #include <editeng/wrlmitem.hxx> @@ -113,15 +111,12 @@ #include <hfspacingitem.hxx> #include <hintids.hxx> #include <init.hxx> -#include <pam.hxx> #include <paratr.hxx> #include <proofreadingiterator.hxx> #include <editeng/editids.hrc> #include <svx/svxids.hrc> #include <rtl/instance.hxx> #include <svl/macitem.hxx> -#include <svx/xfillit0.hxx> -#include <svx/xflgrit.hxx> #include <svx/sdtaitm.hxx> #include <swcalwrp.hxx> #include <SwStyleNameMapper.hxx> @@ -132,7 +127,6 @@ #include <unotools/charclass.hxx> #include <unotools/configmgr.hxx> #include <unotools/collatorwrapper.hxx> -#include <unotools/syslocale.hxx> #include <unotools/transliterationwrapper.hxx> #include <vcl/mapmod.hxx> #include <vcl/svapp.hxx> diff --git a/sw/source/core/bastyp/proofreadingiterator.cxx b/sw/source/core/bastyp/proofreadingiterator.cxx index b0f75471d942..7d09b1676ccd 100644 --- a/sw/source/core/bastyp/proofreadingiterator.cxx +++ b/sw/source/core/bastyp/proofreadingiterator.cxx @@ -14,7 +14,6 @@ #include <com/sun/star/linguistic2/XProofreadingIterator.hpp> #include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/uno/XComponentContext.hpp> -#include <sal/types.h> #include <vcl/svapp.hxx> #include <proofreadingiterator.hxx> diff --git a/sw/source/core/bastyp/swcache.cxx b/sw/source/core/bastyp/swcache.cxx index 443e267b9006..2227000051a5 100644 --- a/sw/source/core/bastyp/swcache.cxx +++ b/sw/source/core/bastyp/swcache.cxx @@ -20,7 +20,6 @@ #include <swcache.hxx> #include <o3tl/safeint.hxx> -#include <rtl/strbuf.hxx> #include <osl/diagnose.h> #include <sal/log.hxx> diff --git a/sw/source/core/bastyp/swrect.cxx b/sw/source/core/bastyp/swrect.cxx index b66e0d85f9e1..1d53e6e7a71e 100644 --- a/sw/source/core/bastyp/swrect.cxx +++ b/sw/source/core/bastyp/swrect.cxx @@ -23,9 +23,6 @@ #include <tools/stream.hxx> #endif -#include <math.h> -#include <stdlib.h> - SwRect::SwRect( const tools::Rectangle &rRect ) : m_Point( rRect.Left(), rRect.Top() ) { diff --git a/sw/source/core/bastyp/swtypes.cxx b/sw/source/core/bastyp/swtypes.cxx index c86f93fa1a94..620f4bab771a 100644 --- a/sw/source/core/bastyp/swtypes.cxx +++ b/sw/source/core/bastyp/swtypes.cxx @@ -18,31 +18,10 @@ */ #include <swtypes.hxx> -#include <rtl/ustring.hxx> -#include <bodyfrm.hxx> -#include <cellfrm.hxx> -#include <colfrm.hxx> #include <editeng/unolingu.hxx> -#include <fntcache.hxx> -#include <frmfmt.hxx> -#include <frmtool.hxx> -#include <hffrm.hxx> -#include <ndtxt.hxx> -#include <pagefrm.hxx> -#include <rowfrm.hxx> -#include <sectfrm.hxx> -#include <swatrset.hxx> -#include <swfntcch.hxx> -#include <swtable.hxx> -#include <swtblfmt.hxx> -#include <tabfrm.hxx> -#include <txtfrm.hxx> -#include <UndoDelete.hxx> -#include <UndoInsert.hxx> #include <vcl/svapp.hxx> #include <vcl/graph.hxx> -#include <viscrs.hxx> using namespace com::sun::star; |