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>
diff --git a/basctl/source/basicide/baside2.cxx b/basctl/source/basicide/baside2.cxx
index 3c8efde..1725324 100644
--- a/basctl/source/basicide/baside2.cxx
+++ b/basctl/source/basicide/baside2.cxx
@@ -37,6 +37,7 @@
#include <com/sun/star/ui/dialogs/FilePicker.hpp>
#include <com/sun/star/ui/dialogs/XFilePickerControlAccess.hpp>
#include <comphelper/string.hxx>
#include <svl/srchdefs.hxx>
#include <sfx2/dinfdlg.hxx>
#include <sfx2/dispatch.hxx>
#include <sfx2/docfile.hxx>
diff --git a/basctl/source/basicide/basides1.cxx b/basctl/source/basicide/basides1.cxx
index 97540e7..0d7ff9c 100644
--- a/basctl/source/basicide/basides1.cxx
+++ b/basctl/source/basicide/basides1.cxx
@@ -34,6 +34,7 @@
#include <com/sun/star/script/ModuleType.hpp>
#include <com/sun/star/script/XLibraryContainerPassword.hpp>
#include <com/sun/star/frame/XLayoutManager.hpp>
#include <svl/srchdefs.hxx>
#include <sal/log.hxx>
#include <sfx2/childwin.hxx>
#include <sfx2/docfac.hxx>
diff --git a/editeng/inc/editattr.hxx b/editeng/inc/editattr.hxx
index fd0e0de5..7e96f3d 100644
--- a/editeng/inc/editattr.hxx
+++ b/editeng/inc/editattr.hxx
@@ -24,6 +24,7 @@
#include <svl/poolitem.hxx>
#include <boost/optional.hpp>
#include <tools/color.hxx>
#include <tools/debug.hxx>

class SvxFont;
class SvxFontItem;
diff --git a/editeng/source/accessibility/AccessibleParaManager.cxx b/editeng/source/accessibility/AccessibleParaManager.cxx
index 548d94b..c8db487 100644
--- a/editeng/source/accessibility/AccessibleParaManager.cxx
+++ b/editeng/source/accessibility/AccessibleParaManager.cxx
@@ -25,6 +25,7 @@
#include <com/sun/star/uno/Reference.hxx>
#include <cppuhelper/weakref.hxx>
#include <sal/log.hxx>
#include <tools/debug.hxx>
#include <com/sun/star/accessibility/XAccessible.hpp>
#include <com/sun/star/accessibility/AccessibleStateType.hpp>

diff --git a/editeng/source/items/justifyitem.cxx b/editeng/source/items/justifyitem.cxx
index c22b989..d010f72 100644
--- a/editeng/source/items/justifyitem.cxx
+++ b/editeng/source/items/justifyitem.cxx
@@ -23,6 +23,7 @@
#include <editeng/eerdll.hxx>

#include <tools/stream.hxx>
#include <tools/debug.hxx>

#include <com/sun/star/table/CellHoriJustify.hpp>
#include <com/sun/star/style/ParagraphAdjust.hpp>
diff --git a/editeng/source/items/writingmodeitem.cxx b/editeng/source/items/writingmodeitem.cxx
index 25e6bfb..1c6363d 100644
--- a/editeng/source/items/writingmodeitem.cxx
+++ b/editeng/source/items/writingmodeitem.cxx
@@ -23,6 +23,8 @@
#include <editeng/editrids.hrc>
#include <osl/diagnose.h>

#include <climits>

using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::text;

diff --git a/editeng/source/items/xmlcnitm.cxx b/editeng/source/items/xmlcnitm.cxx
index 1e50742..a102db7 100644
--- a/editeng/source/items/xmlcnitm.cxx
+++ b/editeng/source/items/xmlcnitm.cxx
@@ -18,6 +18,7 @@
 */

#include <memory>
#include <climits>
#include <com/sun/star/xml/AttributeData.hpp>
#include <com/sun/star/lang/XUnoTunnel.hpp>
#include <o3tl/any.hxx>
@@ -25,6 +26,8 @@
#include <xmloff/xmlcnimp.hxx>
#include <xmloff/unoatrcn.hxx>
#include <editeng/xmlcnitm.hxx>
#include <tools/debug.hxx>
#include <tools/solar.h>

using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::container;
diff --git a/editeng/source/uno/unoipset.cxx b/editeng/source/uno/unoipset.cxx
index 27281c3..8c76af4 100644
--- a/editeng/source/uno/unoipset.cxx
+++ b/editeng/source/uno/unoipset.cxx
@@ -21,6 +21,7 @@
#include <svl/eitem.hxx>
#include <svl/itemprop.hxx>
#include <tools/helpers.hxx>
#include <tools/debug.hxx>
#include <editeng/unoipset.hxx>
#include <editeng/editids.hrc>
#include <editeng/editeng.hxx>
diff --git a/include/IwyuFilter_include.yaml b/include/IwyuFilter_include.yaml
index 3a29d08..393ace3 100644
--- a/include/IwyuFilter_include.yaml
+++ b/include/IwyuFilter_include.yaml
@@ -284,3 +284,13 @@ blacklist:
    include/i18nutil/transliteration.hxx:
    # Needed for template
    - o3tl/typed_flags_set.hxx
    include/svl/numuno.hxx:
    # base class has to be a complete type
    - com/sun/star/lang/XUnoTunnel.hpp
    - com/sun/star/util/XNumberFormatsSupplier.hpp
    include/svl/srchdefs.hxx:
    # Needed for template
    - o3tl/typed_flags_set.hxx
    include/svl/urihelper.hxx:
    # base class has to be a complete type
    - tools/link.hxx
diff --git a/include/editeng/fhgtitem.hxx b/include/editeng/fhgtitem.hxx
index de6079c..c61bd2e 100644
--- a/include/editeng/fhgtitem.hxx
+++ b/include/editeng/fhgtitem.hxx
@@ -20,6 +20,8 @@
#define INCLUDED_EDITENG_FHGTITEM_HXX

#include <svl/poolitem.hxx>
#include <tools/debug.hxx>
#include <tools/solar.h>
#include <editeng/editengdllapi.h>

class SvXMLUnitConverter;
diff --git a/include/editeng/numitem.hxx b/include/editeng/numitem.hxx
index 1fa20df..94cc2e9 100644
--- a/include/editeng/numitem.hxx
+++ b/include/editeng/numitem.hxx
@@ -21,6 +21,7 @@

#include <rtl/ustring.hxx>
#include <tools/link.hxx>
#include <tools/solar.h>
#include <svl/poolitem.hxx>
#include <editeng/svxenum.hxx>
#include <tools/gen.hxx>
diff --git a/include/sfx2/ctrlitem.hxx b/include/sfx2/ctrlitem.hxx
index 3401549..78ac2d1 100644
--- a/include/sfx2/ctrlitem.hxx
+++ b/include/sfx2/ctrlitem.hxx
@@ -23,6 +23,7 @@
#include <sfx2/dllapi.h>
#include <sal/types.h>
#include <svl/poolitem.hxx>
#include <tools/debug.hxx>
#if defined( DBG_UTIL )
#include <sfx2/msg.hxx>
#endif
diff --git a/include/svl/IndexedStyleSheets.hxx b/include/svl/IndexedStyleSheets.hxx
index 8196767..72c87f0 100644
--- a/include/svl/IndexedStyleSheets.hxx
+++ b/include/svl/IndexedStyleSheets.hxx
@@ -10,8 +10,6 @@
#ifndef INCLUDED_SVL_INDEXEDSTYLESHEETS_HXX
#define INCLUDED_SVL_INDEXEDSTYLESHEETS_HXX

#include <sal/types.h>

#include <svl/style.hxx>
#include <rtl/ustring.hxx>
#include <rtl/ref.hxx>
@@ -21,8 +19,6 @@
#include <unordered_map>
#include <vector>

class SfxStyleSheetBase;

namespace svl {

/** Function object to check whether a style sheet a fulfills specific criteria.
diff --git a/include/svl/aeitem.hxx b/include/svl/aeitem.hxx
index 7be7e83..d69b1f0 100644
--- a/include/svl/aeitem.hxx
+++ b/include/svl/aeitem.hxx
@@ -20,12 +20,10 @@
#define INCLUDED_SVL_AEITEM_HXX

#include <svl/svldllapi.h>
#include <svl/poolitem.hxx>
#include <svl/eitem.hxx>

#include <cstddef>
#include <memory>
#include <vector>

class SfxAllEnumValueArr;

diff --git a/include/svl/asiancfg.hxx b/include/svl/asiancfg.hxx
index cef6361..30dc1d7 100644
--- a/include/svl/asiancfg.hxx
+++ b/include/svl/asiancfg.hxx
@@ -24,7 +24,6 @@

#include <memory>
#include <com/sun/star/uno/Sequence.hxx>
#include <sal/types.h>
#include <svl/svldllapi.h>

namespace com { namespace sun { namespace star { namespace lang {
diff --git a/include/svl/cjkoptions.hxx b/include/svl/cjkoptions.hxx
index e173e60..c479edf 100644
--- a/include/svl/cjkoptions.hxx
+++ b/include/svl/cjkoptions.hxx
@@ -20,7 +20,6 @@
#define INCLUDED_SVL_CJKOPTIONS_HXX

#include <svl/svldllapi.h>
#include <sal/types.h>
#include <unotools/options.hxx>
#include <memory>

diff --git a/include/svl/cryptosign.hxx b/include/svl/cryptosign.hxx
index eacb4d7..6190536 100644
--- a/include/svl/cryptosign.hxx
+++ b/include/svl/cryptosign.hxx
@@ -7,10 +7,8 @@
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */

#include <config_features.h>
#include <sal/types.h>

#include <memory>
#include <vector>

#include <rtl/strbuf.hxx>
@@ -19,7 +17,6 @@
#include <com/sun/star/uno/Reference.hxx>

#include <svl/svldllapi.h>
#include <svl/sigstruct.hxx>

namespace com {
namespace sun {
@@ -29,6 +26,7 @@ namespace security {
}}}

class SvStream;
struct SignatureInformation;

namespace svl {

diff --git a/include/svl/ctloptions.hxx b/include/svl/ctloptions.hxx
index b3a941f..0996eac 100644
--- a/include/svl/ctloptions.hxx
+++ b/include/svl/ctloptions.hxx
@@ -20,7 +20,6 @@
#define INCLUDED_SVL_CTLOPTIONS_HXX

#include <svl/svldllapi.h>
#include <sal/types.h>
#include <unotools/options.hxx>
#include <memory>

diff --git a/include/svl/documentlockfile.hxx b/include/svl/documentlockfile.hxx
index ec94f1f..25531dc 100644
--- a/include/svl/documentlockfile.hxx
+++ b/include/svl/documentlockfile.hxx
@@ -22,14 +22,11 @@

#include <svl/svldllapi.h>

#include <com/sun/star/io/XStream.hpp>
#include <com/sun/star/io/XInputStream.hpp>
#include <com/sun/star/io/XOutputStream.hpp>
#include <com/sun/star/io/XSeekable.hpp>
#include <com/sun/star/io/XTruncate.hpp>

#include <svl/lockfilecommon.hxx>

namespace com { namespace sun { namespace star { namespace io { class XInputStream; } } } }
namespace com { namespace sun { namespace star { namespace io { class XOutputStream; } } } }

namespace svt {

class SVL_DLLPUBLIC DocumentLockFile : public LockFileCommon
diff --git a/include/svl/flagitem.hxx b/include/svl/flagitem.hxx
index ce88c35..f37a9e5 100644
--- a/include/svl/flagitem.hxx
+++ b/include/svl/flagitem.hxx
@@ -21,6 +21,7 @@

#include <svl/poolitem.hxx>
#include <svl/svldllapi.h>
#include <tools/debug.hxx>

class SvStream;

diff --git a/include/svl/ilstitem.hxx b/include/svl/ilstitem.hxx
index ecc99fd..b856222 100644
--- a/include/svl/ilstitem.hxx
+++ b/include/svl/ilstitem.hxx
@@ -22,9 +22,10 @@

#include <svl/svldllapi.h>
#include <svl/poolitem.hxx>
#include <com/sun/star/uno/Sequence.hxx>
#include <vector>

namespace com { namespace sun { namespace star { namespace uno { template <class E> class Sequence; } } } }

class SVL_DLLPUBLIC SfxIntegerListItem : public SfxPoolItem
{
    std::vector < sal_Int32 > m_aList;
diff --git a/include/svl/inettype.hxx b/include/svl/inettype.hxx
index 41b7b9a..6d5d018 100644
--- a/include/svl/inettype.hxx
+++ b/include/svl/inettype.hxx
@@ -22,7 +22,6 @@

#include <svl/svldllapi.h>
#include <tools/inetmime.hxx>
#include <i18nlangtag/languagetag.hxx>


/** Definitions for frequently used media type names.
diff --git a/include/svl/itemiter.hxx b/include/svl/itemiter.hxx
index 08aef0e..913ca9c 100644
--- a/include/svl/itemiter.hxx
+++ b/include/svl/itemiter.hxx
@@ -23,8 +23,6 @@
#include <svl/itemset.hxx>

class SfxPoolItem;
class SfxItemSet;
class SfxItemPool;

class SVL_DLLPUBLIC SfxItemIter
{
diff --git a/include/svl/itempool.hxx b/include/svl/itempool.hxx
index 29f736f..155b855 100644
--- a/include/svl/itempool.hxx
+++ b/include/svl/itempool.hxx
@@ -20,15 +20,12 @@
#ifndef INCLUDED_SVL_ITEMPOOL_HXX
#define INCLUDED_SVL_ITEMPOOL_HXX

#include <rtl/string.hxx>
#include <svl/poolitem.hxx>
#include <svl/svldllapi.h>
#include <svl/typedwhich.hxx>
#include <tools/solar.h>
#include <memory>
#include <vector>

class SvStream;
class SfxBroadcaster;
struct SfxItemPool_Impl;

@@ -38,8 +35,6 @@ struct SfxItemInfo
    bool            _bPoolable;
};

class SfxStyleSheetIterator;
struct SfxPoolItemArray_Impl;
class SfxItemPool;

class SVL_DLLPUBLIC SfxItemPoolUser
diff --git a/include/svl/itemset.hxx b/include/svl/itemset.hxx
index bf1e4bd..05618d2 100644
--- a/include/svl/itemset.hxx
+++ b/include/svl/itemset.hxx
@@ -33,8 +33,6 @@
#include <svl/typedwhich.hxx>

class SfxItemPool;
class SfxPoolItem;
class SvStream;

namespace svl {

diff --git a/include/svl/languageoptions.hxx b/include/svl/languageoptions.hxx
index fadd74f..16774a2 100644
--- a/include/svl/languageoptions.hxx
+++ b/include/svl/languageoptions.hxx
@@ -24,8 +24,8 @@
#include <unotools/configitem.hxx>
#include <unotools/options.hxx>
#include <i18nlangtag/lang.h>
#include <o3tl/typed_flags_set.hxx>
#include <memory>
namespace o3tl { template <typename T> struct typed_flags; }

// class SvtLanguageOptions ----------------------------------------------------

diff --git a/include/svl/lockfilecommon.hxx b/include/svl/lockfilecommon.hxx
index ee46748..4c5c6b5 100644
--- a/include/svl/lockfilecommon.hxx
+++ b/include/svl/lockfilecommon.hxx
@@ -22,11 +22,7 @@

#include <svl/svldllapi.h>

#include <com/sun/star/io/XStream.hpp>
#include <com/sun/star/io/XInputStream.hpp>
#include <com/sun/star/io/XOutputStream.hpp>
#include <com/sun/star/io/XSeekable.hpp>
#include <com/sun/star/io/XTruncate.hpp>
#include <com/sun/star/uno/Sequence.hxx>

#include <osl/mutex.hxx>
#include <tools/urlobj.hxx>
diff --git a/include/svl/numuno.hxx b/include/svl/numuno.hxx
index 58dce1d..e88ef3f 100644
--- a/include/svl/numuno.hxx
+++ b/include/svl/numuno.hxx
@@ -22,7 +22,6 @@
#include <svl/svldllapi.h>
#include <com/sun/star/util/XNumberFormatsSupplier.hpp>
#include <com/sun/star/lang/XUnoTunnel.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <cppuhelper/implbase2.hxx>
#include <memory>

diff --git a/include/svl/ondemand.hxx b/include/svl/ondemand.hxx
index 3d87bf3..fd0032c 100644
--- a/include/svl/ondemand.hxx
+++ b/include/svl/ondemand.hxx
@@ -25,12 +25,9 @@
#include <i18nlangtag/lang.h>
#include <unotools/localedatawrapper.hxx>
#include <unotools/calendarwrapper.hxx>
#include <unotools/collatorwrapper.hxx>
#include <com/sun/star/i18n/CollatorOptions.hpp>
#include <unotools/transliterationwrapper.hxx>
#include <unotools/nativenumberwrapper.hxx>
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <i18nutil/transliteration.hxx>

/*
diff --git a/include/svl/ownlist.hxx b/include/svl/ownlist.hxx
index ef4d616..7c3eae1 100644
--- a/include/svl/ownlist.hxx
+++ b/include/svl/ownlist.hxx
@@ -21,7 +21,7 @@
#define INCLUDED_SVL_OWNLIST_HXX

#include <svl/svldllapi.h>
#include <com/sun/star/uno/Sequence.hxx>
#include <rtl/ustring.hxx>
#include <vector>

namespace com { namespace sun { namespace star {
@@ -30,6 +30,7 @@ namespace com { namespace sun { namespace star {
    }
}}}

namespace com { namespace sun { namespace star { namespace uno { template <typename > class Sequence; } } } }

class SvCommand
/*
diff --git a/include/svl/poolitem.hxx b/include/svl/poolitem.hxx
index 6964f77..d812f86 100644
--- a/include/svl/poolitem.hxx
+++ b/include/svl/poolitem.hxx
@@ -22,16 +22,13 @@

#include <sal/config.h>

#include <climits>
#include <memory>

#include <com/sun/star/uno/Any.hxx>
#include <svl/hint.hxx>
#include <svl/svldllapi.h>
#include <svl/typedwhich.hxx>
#include <tools/debug.hxx>
#include <tools/mapunit.hxx>
#include <tools/solar.h>

class IntlWrapper;
class SvStream;
@@ -112,7 +109,6 @@ enum class SfxItemState {

#define INVALID_POOL_ITEM reinterpret_cast<SfxPoolItem*>(-1)

class SvXMLUnitConverter;
class SfxItemPool;
class SfxItemSet;

diff --git a/include/svl/ptitem.hxx b/include/svl/ptitem.hxx
index b4513c9..76e5022 100644
--- a/include/svl/ptitem.hxx
+++ b/include/svl/ptitem.hxx
@@ -22,6 +22,7 @@
#include <svl/svldllapi.h>
#include <svl/poolitem.hxx>
#include <tools/gen.hxx>
#include <tools/debug.hxx>

class SvStream;

diff --git a/include/svl/rectitem.hxx b/include/svl/rectitem.hxx
index d37be51..3dd119e 100644
--- a/include/svl/rectitem.hxx
+++ b/include/svl/rectitem.hxx
@@ -20,7 +20,6 @@
#define INCLUDED_SVL_RECTITEM_HXX

#include <svl/svldllapi.h>
#include <tools/debug.hxx>
#include <tools/gen.hxx>
#include <svl/poolitem.hxx>

diff --git a/include/svl/sharecontrolfile.hxx b/include/svl/sharecontrolfile.hxx
index 60f4786..8dfa916 100644
--- a/include/svl/sharecontrolfile.hxx
+++ b/include/svl/sharecontrolfile.hxx
@@ -22,16 +22,15 @@

#include <svl/svldllapi.h>

#include <com/sun/star/io/XStream.hpp>
#include <com/sun/star/io/XInputStream.hpp>
#include <com/sun/star/io/XOutputStream.hpp>
#include <com/sun/star/io/XSeekable.hpp>
#include <com/sun/star/io/XTruncate.hpp>

#include <svl/lockfilecommon.hxx>
#include <o3tl/enumarray.hxx>
#include <vector>

namespace com { namespace sun { namespace star { namespace io { class XInputStream; } } } }
namespace com { namespace sun { namespace star { namespace io { class XOutputStream; } } } }
namespace com { namespace sun { namespace star { namespace io { class XSeekable; } } } }
namespace com { namespace sun { namespace star { namespace io { class XStream; } } } }
namespace com { namespace sun { namespace star { namespace io { class XTruncate; } } } }

namespace svt {

class SVL_DLLPUBLIC ShareControlFile : public LockFileCommon
diff --git a/include/svl/sigstruct.hxx b/include/svl/sigstruct.hxx
index 74065e9..3498aff 100644
--- a/include/svl/sigstruct.hxx
+++ b/include/svl/sigstruct.hxx
@@ -22,7 +22,6 @@

#include <rtl/ustring.hxx>
#include <com/sun/star/util/DateTime.hpp>
#include <com/sun/star/graphic/XGraphic.hpp>
#include <com/sun/star/xml/crypto/SecurityOperationStatus.hpp>
#include <com/sun/star/xml/crypto/DigestID.hpp>
#include <com/sun/star/uno/Sequence.hxx>
@@ -30,6 +29,8 @@
#include <set>
#include <vector>

namespace com { namespace sun { namespace star { namespace graphic { class XGraphic; } } } }

/*
 * type of reference
 */
diff --git a/include/svl/slstitm.hxx b/include/svl/slstitm.hxx
index 4f9a829..dc803e6 100644
--- a/include/svl/slstitm.hxx
+++ b/include/svl/slstitm.hxx
@@ -23,9 +23,10 @@

#include <svl/svldllapi.h>
#include <svl/poolitem.hxx>
#include <com/sun/star/uno/Sequence.h>
#include <memory>

namespace com { namespace sun { namespace star { namespace uno { template <class E> class Sequence; } } } }

class SVL_DLLPUBLIC SfxStringListItem : public SfxPoolItem
{
    std::shared_ptr<std::vector<OUString>> mpList;
diff --git a/include/svl/srchitem.hxx b/include/svl/srchitem.hxx
index a449f25..00da71b 100644
--- a/include/svl/srchitem.hxx
+++ b/include/svl/srchitem.hxx
@@ -21,7 +21,6 @@

#include <sal/config.h>
#include <svl/svldllapi.h>
#include <com/sun/star/util/XSearchDescriptor.hpp>
#include <com/sun/star/util/SearchAlgorithms2.hpp>
#include <com/sun/star/util/SearchFlags.hpp>
#include <i18nutil/transliteration.hxx>
@@ -29,7 +28,6 @@
#include <unotools/configitem.hxx>
#include <svl/style.hxx>
#include <svl/poolitem.hxx>
#include <svl/srchdefs.hxx>

// defines ---------------------------------------------------------------

diff --git a/include/svl/style.hxx b/include/svl/style.hxx
index c60d85f..2f35e91 100644
--- a/include/svl/style.hxx
+++ b/include/svl/style.hxx
@@ -33,6 +33,7 @@
#include <svl/SfxBroadcaster.hxx>
#include <svl/stylesheetuser.hxx>
#include <o3tl/typed_flags_set.hxx>
#include <tools/solar.h>

#include <memory>

diff --git a/include/svl/svdde.hxx b/include/svl/svdde.hxx
index 2f07eb7..469ce90 100644
--- a/include/svl/svdde.hxx
+++ b/include/svl/svdde.hxx
@@ -23,22 +23,15 @@
#include <sal/config.h>

#include <svl/svldllapi.h>
#include <sot/exchange.hxx>
#include <sot/formats.hxx>
#include <rtl/ustring.hxx>
#include <tools/solar.h>
#include <tools/link.hxx>
#include <memory>
#include <vector>

class DdeString;
class DdeData;
class DdeConnection;
class DdeTransaction;
class DdeLink;
class DdeRequest;
class DdeHotLink;
class DdePoke;
class DdeExecute;
class DdeItem;
class DdeTopic;
class DdeService;
struct DdeDataImp;
diff --git a/include/svl/svlresid.hxx b/include/svl/svlresid.hxx
index bc62e3c..4b568bb 100644
--- a/include/svl/svlresid.hxx
+++ b/include/svl/svlresid.hxx
@@ -12,7 +12,6 @@

#include <svl/svldllapi.h>
#include <rtl/ustring.hxx>
#include <locale>

SVL_DLLPUBLIC OUString SvlResId(const char* pId);

diff --git a/include/svl/undo.hxx b/include/svl/undo.hxx
index b4b4a2e..c2862b8 100644
--- a/include/svl/undo.hxx
+++ b/include/svl/undo.hxx
@@ -24,12 +24,9 @@
#include <tools/datetime.hxx>
#include <o3tl/strong_int.hxx>

#include <limits>
#include <memory>
#include <vector>

struct MarkedUndoAction;

typedef o3tl::strong_int<sal_Int32, struct ViewShellIdTag> ViewShellId;

class SVL_DLLPUBLIC SfxRepeatTarget
diff --git a/include/svl/urihelper.hxx b/include/svl/urihelper.hxx
index 9266826..5d8171e 100644
--- a/include/svl/urihelper.hxx
+++ b/include/svl/urihelper.hxx
@@ -21,7 +21,6 @@
#define INCLUDED_SVL_URIHELPER_HXX

#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/uno/RuntimeException.hpp>
#include <rtl/textenc.h>
#include <svl/svldllapi.h>
#include <tools/link.hxx>
diff --git a/include/svl/whiter.hxx b/include/svl/whiter.hxx
index a6473d8..db4f3cc 100644
--- a/include/svl/whiter.hxx
+++ b/include/svl/whiter.hxx
@@ -19,7 +19,6 @@
#ifndef INCLUDED_SVL_WHITER_HXX
#define INCLUDED_SVL_WHITER_HXX

#include <limits.h>
#include <svl/svldllapi.h>

class SfxItemSet;
diff --git a/include/svl/zforlist.hxx b/include/svl/zforlist.hxx
index a288a67..143d14e0 100644
--- a/include/svl/zforlist.hxx
+++ b/include/svl/zforlist.hxx
@@ -23,22 +23,21 @@
#include <rtl/ustrbuf.hxx>
#include <rtl/ustring.hxx>
#include <i18nlangtag/lang.h>
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/lang/Locale.hpp>
#include <com/sun/star/i18n/NumberFormatCode.hpp>
#include <com/sun/star/util/NumberFormat.hpp>
#include <com/sun/star/i18n/NumberFormatMapper.hpp>
#include <com/sun/star/i18n/Currency.hpp>
#include <unotools/localedatawrapper.hxx>
#include <tools/link.hxx>
#include <svl/ondemand.hxx>
#include <svl/nfkeytab.hxx>
#include <o3tl/typed_flags_set.hxx>

#include <map>
#include <memory>
#include <set>

namespace com { namespace sun { namespace star { namespace i18n { class XNumberFormatCode; } } } }
namespace com { namespace sun { namespace star { namespace i18n { struct Currency; } } } }
namespace com { namespace sun { namespace star { namespace i18n { struct NumberFormatCode; } } } }
namespace o3tl { template <typename T> struct typed_flags; }

class Date;
class Color;
class CharClass;
diff --git a/include/svl/zformat.hxx b/include/svl/zformat.hxx
index 4f5dcb2..a943497 100644
--- a/include/svl/zformat.hxx
+++ b/include/svl/zformat.hxx
@@ -20,21 +20,20 @@
#define INCLUDED_SVL_ZFORMAT_HXX

#include <svl/svldllapi.h>
#include <i18nlangtag/mslangid.hxx>
#include <svl/zforlist.hxx>
#include <svl/nfkeytab.hxx>
#include <vector>
#include <com/sun/star/i18n/NativeNumberXmlAttributes2.hpp>

namespace utl {
    class DigitGroupingIterator;
}

namespace com { namespace sun { namespace star { namespace i18n { struct NativeNumberXmlAttributes2; } } } }

class Color;

class ImpSvNumberformatScan;            // format code string scanner
class ImpSvNumberInputScan;             // input string scanner
class SvNumberFormatter;

enum SvNumberformatLimitOps
{
diff --git a/linguistic/source/convdiclist.cxx b/linguistic/source/convdiclist.cxx
index 589a38a..94f844a 100644
--- a/linguistic/source/convdiclist.cxx
+++ b/linguistic/source/convdiclist.cxx
@@ -37,6 +37,7 @@
#include <cppuhelper/supportsservice.hxx>
#include <sal/log.hxx>
#include <rtl/instance.hxx>
#include <tools/debug.hxx>
#include <tools/stream.hxx>
#include <tools/urlobj.hxx>
#include <ucbhelper/content.hxx>
diff --git a/linguistic/source/dlistimp.cxx b/linguistic/source/dlistimp.cxx
index 830b0e4..9ca759a 100644
--- a/linguistic/source/dlistimp.cxx
+++ b/linguistic/source/dlistimp.cxx
@@ -21,6 +21,7 @@
#include <cppuhelper/factory.hxx>
#include <i18nlangtag/mslangid.hxx>
#include <osl/file.hxx>
#include <tools/debug.hxx>
#include <tools/stream.hxx>
#include <tools/urlobj.hxx>
#include <unotools/pathoptions.hxx>
diff --git a/linguistic/source/gciterator.cxx b/linguistic/source/gciterator.cxx
index 685947c..557ca5d 100644
--- a/linguistic/source/gciterator.cxx
+++ b/linguistic/source/gciterator.cxx
@@ -57,6 +57,7 @@
#include <i18nlangtag/languagetag.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/propertysequence.hxx>
#include <tools/debug.hxx>

#include <deque>
#include <map>
diff --git a/sc/IwyuFilter_sc.yaml b/sc/IwyuFilter_sc.yaml
index 4af6a0c..bc3c041 100644
--- a/sc/IwyuFilter_sc.yaml
+++ b/sc/IwyuFilter_sc.yaml
@@ -219,6 +219,8 @@ blacklist:
    sc/inc/global.hxx:
    # base class has to be a complete type
    - tools/ref.hxx
    # Needed for macro #define
    - com/sun/star/i18n/CollatorOptions.hpp
    sc/inc/linkuno.hxx:
    # base class has to be a complete type
    - com/sun/star/beans/XPropertySet.hpp
diff --git a/sc/inc/global.hxx b/sc/inc/global.hxx
index 7c026603..e6a33de 100644
--- a/sc/inc/global.hxx
+++ b/sc/inc/global.hxx
@@ -25,6 +25,7 @@
#include <svx/svdtypes.hxx>
#include <tools/ref.hxx>
#include <sal/types.h>
#include <com/sun/star/i18n/CollatorOptions.hpp>
#include "scdllapi.h"
#include <rtl/ustring.hxx>

diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx
index 64eba11..f0c418f 100644
--- a/sc/qa/unit/ucalc.cxx
+++ b/sc/qa/unit/ucalc.cxx
@@ -87,6 +87,7 @@
#include <svx/svdocapt.hxx>
#include <svl/srchitem.hxx>
#include <svl/sharedstringpool.hxx>
#include <unotools/collatorwrapper.hxx>

#include <sfx2/docfile.hxx>
#include <sfx2/sfxsids.hrc>
diff --git a/sc/source/core/data/dociter.cxx b/sc/source/core/data/dociter.cxx
index 16e272ab..02ae04c 100644
--- a/sc/source/core/data/dociter.cxx
+++ b/sc/source/core/data/dociter.cxx
@@ -42,6 +42,7 @@
#include <tools/fract.hxx>
#include <editeng/editobj.hxx>
#include <svl/sharedstring.hxx>
#include <unotools/collatorwrapper.hxx>

#include <vector>

diff --git a/sc/source/core/data/dpcache.cxx b/sc/source/core/data/dpcache.cxx
index 99995fb..333a38d 100644
--- a/sc/source/core/data/dpcache.cxx
+++ b/sc/source/core/data/dpcache.cxx
@@ -35,6 +35,7 @@
#include <rtl/math.hxx>
#include <unotools/textsearch.hxx>
#include <unotools/localedatawrapper.hxx>
#include <unotools/collatorwrapper.hxx>
#include <svl/zforlist.hxx>
#include <o3tl/make_unique.hxx>
#include <osl/diagnose.h>
diff --git a/sc/source/core/data/dpitemdata.cxx b/sc/source/core/data/dpitemdata.cxx
index f6d2e98..8a705d3 100644
--- a/sc/source/core/data/dpitemdata.cxx
+++ b/sc/source/core/data/dpitemdata.cxx
@@ -23,6 +23,7 @@
#include <unotools/collatorwrapper.hxx>
#include <unotools/transliterationwrapper.hxx>
#include <rtl/math.hxx>
#include <unotools/collatorwrapper.hxx>

const sal_Int32 ScDPItemData::DateFirst = -1;
const sal_Int32 ScDPItemData::DateLast  = 10000;
diff --git a/sc/source/core/tool/autoform.cxx b/sc/source/core/tool/autoform.cxx
index 008e570..59dd62b 100644
--- a/sc/source/core/tool/autoform.cxx
+++ b/sc/source/core/tool/autoform.cxx
@@ -32,6 +32,7 @@
#include <editeng/langitem.hxx>
#include <tools/urlobj.hxx>
#include <comphelper/fileformat.h>
#include <unotools/collatorwrapper.hxx>
#include <unotools/transliterationwrapper.hxx>
#include <tools/tenccvt.hxx>
#include <o3tl/make_unique.hxx>
diff --git a/sc/source/core/tool/compare.cxx b/sc/source/core/tool/compare.cxx
index c94684a..2a2cf71 100644
--- a/sc/source/core/tool/compare.cxx
+++ b/sc/source/core/tool/compare.cxx
@@ -22,6 +22,7 @@
#include <document.hxx>
#include <docoptio.hxx>

#include <unotools/collatorwrapper.hxx>
#include <unotools/textsearch.hxx>
#include <rtl/math.hxx>
#include <osl/diagnose.h>
diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx
index b834062..f752ff0 100644
--- a/sc/source/core/tool/interpr1.cxx
+++ b/sc/source/core/tool/interpr1.cxx
@@ -38,6 +38,7 @@
#include <sal/log.hxx>
#include <unicode/uchar.h>
#include <unicode/regex.h>
#include <i18nlangtag/mslangid.hxx>

#include <patattr.hxx>
#include <global.hxx>
diff --git a/sc/source/filter/excel/xlchart.cxx b/sc/source/filter/excel/xlchart.cxx
index 7a24e96..d960d54 100644
--- a/sc/source/filter/excel/xlchart.cxx
+++ b/sc/source/filter/excel/xlchart.cxx
@@ -35,6 +35,7 @@
#include <com/sun/star/chart/XSecondAxisTitleSupplier.hpp>
#include <com/sun/star/chart2/Symbol.hpp>
#include <com/sun/star/graphic/XGraphic.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>

#include <sal/macros.h>
#include <rtl/math.hxx>
diff --git a/sc/source/filter/oox/pagesettings.cxx b/sc/source/filter/oox/pagesettings.cxx
index 7f08053b..87297db 100644
--- a/sc/source/filter/oox/pagesettings.cxx
+++ b/sc/source/filter/oox/pagesettings.cxx
@@ -29,6 +29,7 @@
#include <com/sun/star/text/XText.hpp>
#include <com/sun/star/text/XTextContent.hpp>
#include <com/sun/star/text/XTextCursor.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <osl/diagnose.h>
#include <rtl/strbuf.hxx>
#include <rtl/ustrbuf.hxx>
diff --git a/sc/source/filter/oox/worksheethelper.cxx b/sc/source/filter/oox/worksheethelper.cxx
index 3132e4c..3ce9e76 100644
--- a/sc/source/filter/oox/worksheethelper.cxx
+++ b/sc/source/filter/oox/worksheethelper.cxx
@@ -37,6 +37,7 @@
#include <com/sun/star/sheet/XSpreadsheet.hpp>
#include <com/sun/star/table/XColumnRowRange.hpp>
#include <com/sun/star/text/WritingMode2.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <osl/diagnose.h>
#include <rtl/ustrbuf.hxx>
#include <oox/core/filterbase.hxx>
diff --git a/sc/source/ui/inc/cellsh.hxx b/sc/source/ui/inc/cellsh.hxx
index 6c963e2..6f1419d 100644
--- a/sc/source/ui/inc/cellsh.hxx
+++ b/sc/source/ui/inc/cellsh.hxx
@@ -29,6 +29,7 @@
#include <rtl/ref.hxx>
#include <sot/formats.hxx>
#include <vcl/vclptr.hxx>
#include <tools/solar.h>

class SvxClipboardFormatItem;
class TransferableDataHelper;
diff --git a/sc/source/ui/view/dbfunc3.cxx b/sc/source/ui/view/dbfunc3.cxx
index acc7cce..d1f57b4 100644
--- a/sc/source/ui/view/dbfunc3.cxx
+++ b/sc/source/ui/view/dbfunc3.cxx
@@ -25,6 +25,7 @@
#include <vcl/weld.hxx>
#include <svl/zforlist.hxx>
#include <sfx2/app.hxx>
#include <unotools/collatorwrapper.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/container/XNameAccess.hpp>
#include <com/sun/star/sheet/DataPilotFieldFilter.hpp>
diff --git a/sc/source/ui/view/tabvwsha.cxx b/sc/source/ui/view/tabvwsha.cxx
index 93ca656..2785c80 100644
--- a/sc/source/ui/view/tabvwsha.cxx
+++ b/sc/source/ui/view/tabvwsha.cxx
@@ -33,6 +33,7 @@
#include <svl/ilstitem.hxx>
#include <svl/int64item.hxx>
#include <svl/srchitem.hxx>
#include <svl/srchdefs.hxx>
#include <svl/stritem.hxx>
#include <svl/whiter.hxx>
#include <svl/zformat.hxx>
diff --git a/sfx2/source/control/itemdel.cxx b/sfx2/source/control/itemdel.cxx
index 4dbd6bb..1b44681 100644
--- a/sfx2/source/control/itemdel.cxx
+++ b/sfx2/source/control/itemdel.cxx
@@ -23,6 +23,7 @@
#include <vcl/idle.hxx>

#include <svl/itempool.hxx>
#include <tools/debug.hxx>

class SfxItemDisruptor_Impl
{
diff --git a/sfx2/source/control/msg.cxx b/sfx2/source/control/msg.cxx
index 3e861b9..711aaf9 100644
--- a/sfx2/source/control/msg.cxx
+++ b/sfx2/source/control/msg.cxx
@@ -21,6 +21,7 @@
#include <svl/eitem.hxx>
#include <sfx2/msg.hxx>

#include <climits>

SfxSlotKind SfxSlot::GetKind() const
{
diff --git a/sfx2/source/explorer/nochaos.cxx b/sfx2/source/explorer/nochaos.cxx
index edb1a56..f243256 100644
--- a/sfx2/source/explorer/nochaos.cxx
+++ b/sfx2/source/explorer/nochaos.cxx
@@ -19,6 +19,7 @@

#include <sal/config.h>

#include <tools/solar.h>
#include <svl/itempool.hxx>
#include <svl/poolitem.hxx>
#include <svl/stritem.hxx>
diff --git a/svl/qa/unit/svl.cxx b/svl/qa/unit/svl.cxx
index f2a91b3..cd68d74 100644
--- a/svl/qa/unit/svl.cxx
+++ b/svl/qa/unit/svl.cxx
@@ -25,6 +25,8 @@
#include <com/sun/star/sheet/DataPilotFieldOrientation.hpp>
#include <com/sun/star/sheet/GeneralFunction.hpp>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/lang/XMultiComponentFactory.hpp>

#include <i18nlangtag/lang.h>

diff --git a/svl/source/crypto/cryptosign.cxx b/svl/source/crypto/cryptosign.cxx
index 57da138..ea2813b 100644
--- a/svl/source/crypto/cryptosign.cxx
+++ b/svl/source/crypto/cryptosign.cxx
@@ -8,6 +8,8 @@
 */

#include <svl/cryptosign.hxx>
#include <svl/sigstruct.hxx>
#include <config_features.h>

#include <rtl/character.hxx>
#include <rtl/strbuf.hxx>
diff --git a/svl/source/inc/poolio.hxx b/svl/source/inc/poolio.hxx
index 6db0ee9..270b140 100644
--- a/svl/source/inc/poolio.hxx
+++ b/svl/source/inc/poolio.hxx
@@ -22,6 +22,7 @@

#include <svl/itempool.hxx>
#include <svl/SfxBroadcaster.hxx>
#include <tools/debug.hxx>
#include <deque>
#include <memory>
#include <unordered_map>
diff --git a/svl/source/items/aeitem.cxx b/svl/source/items/aeitem.cxx
index 8c4dc2e..afebf9d 100644
--- a/svl/source/items/aeitem.cxx
+++ b/svl/source/items/aeitem.cxx
@@ -20,6 +20,7 @@
#include <rtl/ustring.hxx>
#include <svl/aeitem.hxx>

#include <climits>
#include <cstddef>
#include <vector>

diff --git a/svl/source/items/itempool.cxx b/svl/source/items/itempool.cxx
index 1140085..df18182 100644
--- a/svl/source/items/itempool.cxx
+++ b/svl/source/items/itempool.cxx
@@ -22,6 +22,7 @@
#include <string.h>
#include <libxml/xmlwriter.h>

#include <tools/solar.h>
#include <osl/diagnose.h>
#include <sal/log.hxx>
#include <svl/SfxBroadcaster.hxx>
diff --git a/svl/source/items/poolcach.cxx b/svl/source/items/poolcach.cxx
index f9e29a7..2cc3354 100644
--- a/svl/source/items/poolcach.cxx
+++ b/svl/source/items/poolcach.cxx
@@ -23,6 +23,7 @@
#include <svl/itempool.hxx>
#include <svl/itemset.hxx>
#include <svl/poolcach.hxx>
#include <tools/debug.hxx>

SfxItemPoolCache::SfxItemPoolCache( SfxItemPool *pItemPool,
                                    const SfxPoolItem *pPutItem ):
diff --git a/svl/source/items/sitem.cxx b/svl/source/items/sitem.cxx
index 7b92649..9d09e11 100644
--- a/svl/source/items/sitem.cxx
+++ b/svl/source/items/sitem.cxx
@@ -25,6 +25,7 @@
#include <svl/itemset.hxx>
#include <svl/poolitem.hxx>
#include <tools/stream.hxx>
#include <tools/debug.hxx>

SfxSetItem::SfxSetItem( sal_uInt16 which, const SfxItemSet &rSet) :
    SfxPoolItem(which),
diff --git a/svl/source/items/stylepool.cxx b/svl/source/items/stylepool.cxx
index 47f2608..46a4a72 100644
--- a/svl/source/items/stylepool.cxx
+++ b/svl/source/items/stylepool.cxx
@@ -21,6 +21,7 @@
#include <svl/itemiter.hxx>
#include <svl/itempool.hxx>
#include <o3tl/make_unique.hxx>
#include <tools/debug.hxx>
#include <algorithm>
#include <map>
#include <memory>
diff --git a/svl/source/misc/documentlockfile.cxx b/svl/source/misc/documentlockfile.cxx
index 2bd806b..837005b 100644
--- a/svl/source/misc/documentlockfile.cxx
+++ b/svl/source/misc/documentlockfile.cxx
@@ -24,6 +24,11 @@
#include <com/sun/star/ucb/NameClashException.hpp>
#include <com/sun/star/io/WrongFormatException.hpp>
#include <com/sun/star/io/TempFile.hpp>
#include <com/sun/star/io/XStream.hpp>
#include <com/sun/star/io/XInputStream.hpp>
#include <com/sun/star/io/XOutputStream.hpp>
#include <com/sun/star/io/XSeekable.hpp>
#include <com/sun/star/io/XTruncate.hpp>

#include <osl/time.h>
#include <osl/security.hxx>
diff --git a/svl/source/numbers/zforlist.cxx b/svl/source/numbers/zforlist.cxx
index 604d422..aab66e2 100644
--- a/svl/source/numbers/zforlist.cxx
+++ b/svl/source/numbers/zforlist.cxx
@@ -35,6 +35,9 @@
#include <com/sun/star/i18n/KNumberFormatType.hpp>
#include <com/sun/star/i18n/FormatElement.hpp>
#include <com/sun/star/i18n/Currency2.hpp>
#include <com/sun/star/i18n/NumberFormatCode.hpp>
#include <com/sun/star/i18n/XNumberFormatCode.hpp>
#include <com/sun/star/i18n/NumberFormatMapper.hpp>
#include <comphelper/processfactory.hxx>
#include <unotools/misccfg.hxx>

diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx
index 8e45f70..d9b2afc 100644
--- a/svl/source/numbers/zformat.cxx
+++ b/svl/source/numbers/zformat.cxx
@@ -34,6 +34,7 @@
#include <com/sun/star/i18n/CalendarDisplayCode.hpp>
#include <com/sun/star/i18n/AmPmValue.hpp>
#include <com/sun/star/i18n/NativeNumberMode.hpp>
#include <com/sun/star/i18n/NativeNumberXmlAttributes2.hpp>

#include <svl/zformat.hxx>
#include "zforscan.hxx"
diff --git a/svl/source/numbers/zforscan.cxx b/svl/source/numbers/zforscan.cxx
index 104727c..1838408 100644
--- a/svl/source/numbers/zforscan.cxx
+++ b/svl/source/numbers/zforscan.cxx
@@ -26,6 +26,8 @@
#include <unotools/charclass.hxx>
#include <unotools/localedatawrapper.hxx>
#include <com/sun/star/i18n/NumberFormatCode.hpp>
#include <com/sun/star/i18n/NumberFormatMapper.hpp>
#include <com/sun/star/i18n/XNumberFormatCode.hpp>

#include <svl/zforlist.hxx>
#include <svl/zformat.hxx>
diff --git a/svl/source/svdde/ddedata.cxx b/svl/source/svdde/ddedata.cxx
index 05de896..cb12b41 100644
--- a/svl/source/svdde/ddedata.cxx
+++ b/svl/source/svdde/ddedata.cxx
@@ -28,6 +28,7 @@
#include <o3tl/char16_t2wchar_t.hxx>

#include <osl/thread.h>
#include <sot/exchange.hxx>

DdeData::DdeData()
{
diff --git a/svx/source/dialog/rulritem.cxx b/svx/source/dialog/rulritem.cxx
index e7f0765..8bc13f6 100644
--- a/svx/source/dialog/rulritem.cxx
+++ b/svx/source/dialog/rulritem.cxx
@@ -19,6 +19,7 @@

#include <svx/svxids.hrc>
#include <svx/rulritem.hxx>
#include <tools/debug.hxx>
#include <tools/mapunit.hxx>
#include <osl/diagnose.h>
#include <sal/log.hxx>
diff --git a/svx/source/items/algitem.cxx b/svx/source/items/algitem.cxx
index 7e29607..cffccb5 100644
--- a/svx/source/items/algitem.cxx
+++ b/svx/source/items/algitem.cxx
@@ -41,6 +41,8 @@
#include <editeng/eerdll.hxx>
#include <svx/unomid.hxx>

#include <climits>

using namespace ::com::sun::star;


diff --git a/svx/source/items/chrtitem.cxx b/svx/source/items/chrtitem.cxx
index e655241..f447972 100644
--- a/svx/source/items/chrtitem.cxx
+++ b/svx/source/items/chrtitem.cxx
@@ -26,6 +26,7 @@
#include <com/sun/star/chart/ChartAxisArrangeOrderType.hpp>

#include <float.h>
#include <climits>

#include <svx/chrtitem.hxx>

diff --git a/svx/source/items/e3ditem.cxx b/svx/source/items/e3ditem.cxx
index ade306f..3d60126 100644
--- a/svx/source/items/e3ditem.cxx
+++ b/svx/source/items/e3ditem.cxx
@@ -24,6 +24,8 @@

#include <svx/e3ditem.hxx>

#include <climits>

using namespace ::com::sun::star;


diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx
index e450806..2a50eb6 100644
--- a/svx/source/tbxctrls/tbcontrl.cxx
+++ b/svx/source/tbxctrls/tbcontrl.cxx
@@ -107,6 +107,7 @@
#include <o3tl/typed_flags_set.hxx>
#include <bitmaps.hlst>
#include <sal/log.hxx>
#include <unotools/collatorwrapper.hxx>

#define MAX_MRU_FONTNAME_ENTRIES    5

diff --git a/sw/IwyuFilter_sw.yaml b/sw/IwyuFilter_sw.yaml
index 3597e35..093df45 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 ead0f04..1729749 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 1ae82ce..8a5d641 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 7678f4b..cdbbc7b 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 890f444..21348a3 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 1b1c88d..a89413c 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 ca0b781..5da40eb 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 2705b77..d02bbec 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 7d4c570..f14edf7 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 ddf636c..b3ecc1f 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 353474a..278f0d71 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>