summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/SwGetPoolIdFromName.hxx2
-rw-r--r--sw/inc/ToxTextGenerator.hxx2
-rw-r--r--sw/inc/ccoll.hxx1
-rw-r--r--sw/inc/cellfml.hxx1
-rw-r--r--sw/inc/crstate.hxx2
-rw-r--r--sw/inc/ddefld.hxx1
-rw-r--r--sw/inc/dobjfac.hxx1
-rw-r--r--sw/inc/edglbldc.hxx1
-rw-r--r--sw/inc/error.hrc3
-rw-r--r--sw/inc/flddat.hxx2
-rw-r--r--sw/inc/fmtautofmt.hxx1
-rw-r--r--sw/inc/fmtcolfunc.hxx3
-rw-r--r--sw/inc/fmtline.hxx1
-rw-r--r--sw/inc/gotodlg.hxx1
-rw-r--r--sw/inc/hhcwrp.hxx3
-rw-r--r--sw/inc/istyleaccess.hxx2
-rw-r--r--sw/inc/modcfg.hxx1
-rw-r--r--sw/inc/ndhints.hxx2
-rw-r--r--sw/inc/optload.hrc3
-rw-r--r--sw/inc/pagepreviewlayout.hxx1
-rw-r--r--sw/inc/pvprtdat.hxx2
-rw-r--r--sw/inc/reffld.hxx2
-rw-r--r--sw/inc/shellres.hxx1
-rw-r--r--sw/inc/sortopt.hxx1
-rw-r--r--sw/inc/swbaslnk.hxx1
-rw-r--r--sw/inc/tblafmt.hxx17
-rw-r--r--sw/inc/toxwrap.hxx1
-rw-r--r--sw/inc/unochart.hxx1
-rw-r--r--sw/inc/unostyle.hxx1
-rw-r--r--sw/inc/unotbl.hxx1
30 files changed, 39 insertions, 23 deletions
diff --git a/sw/inc/SwGetPoolIdFromName.hxx b/sw/inc/SwGetPoolIdFromName.hxx
index 820d864bd2ee..2a42fae6f202 100644
--- a/sw/inc/SwGetPoolIdFromName.hxx
+++ b/sw/inc/SwGetPoolIdFromName.hxx
@@ -19,6 +19,8 @@
#ifndef INCLUDED_SW_INC_SWGETPOOLIDFROMNAME_HXX
#define INCLUDED_SW_INC_SWGETPOOLIDFROMNAME_HXX
+#include <sal/types.h>
+
/* When using the NameMapper to translate pool ids to UI or programmatic
* names, this enum is used to define which family is required */
diff --git a/sw/inc/ToxTextGenerator.hxx b/sw/inc/ToxTextGenerator.hxx
index 91eac53d3c36..675835573266 100644
--- a/sw/inc/ToxTextGenerator.hxx
+++ b/sw/inc/ToxTextGenerator.hxx
@@ -23,6 +23,8 @@
#include <rtl/ustring.hxx>
#include <sal/types.h>
+#include "fmtautofmt.hxx"
+
#include <memory>
#include <vector>
diff --git a/sw/inc/ccoll.hxx b/sw/inc/ccoll.hxx
index 180f9dbe6645..de1ada052b8a 100644
--- a/sw/inc/ccoll.hxx
+++ b/sw/inc/ccoll.hxx
@@ -21,6 +21,7 @@
#include <rtl/ustring.hxx>
#include <svl/poolitem.hxx>
+#include <tools/solar.h>
#include "swdllapi.h"
enum class Master_CollCondition;
diff --git a/sw/inc/cellfml.hxx b/sw/inc/cellfml.hxx
index f9fd74c09c57..67c2cee65d92 100644
--- a/sw/inc/cellfml.hxx
+++ b/sw/inc/cellfml.hxx
@@ -21,6 +21,7 @@
#define INCLUDED_SW_INC_CELLFML_HXX
#include <memory>
+#include <rtl/ustrbuf.hxx>
#include <rtl/ustring.hxx>
class SwTable;
diff --git a/sw/inc/crstate.hxx b/sw/inc/crstate.hxx
index 528b572efa68..8697b1388100 100644
--- a/sw/inc/crstate.hxx
+++ b/sw/inc/crstate.hxx
@@ -23,6 +23,8 @@
#include <tools/gen.hxx>
#include "swrect.hxx"
+#include <memory>
+
enum SwFillMode
{
FILL_TAB, ///< default, fill with tabs
diff --git a/sw/inc/ddefld.hxx b/sw/inc/ddefld.hxx
index 8334adbda7ad..d0404f2bf05b 100644
--- a/sw/inc/ddefld.hxx
+++ b/sw/inc/ddefld.hxx
@@ -21,6 +21,7 @@
#include <sfx2/lnkbase.hxx>
#include <svl/hint.hxx>
+#include <tools/solar.h>
#include "swdllapi.h"
#include "fldbas.hxx"
diff --git a/sw/inc/dobjfac.hxx b/sw/inc/dobjfac.hxx
index 421a67c354ec..49173cca37d4 100644
--- a/sw/inc/dobjfac.hxx
+++ b/sw/inc/dobjfac.hxx
@@ -20,6 +20,7 @@
#define INCLUDED_SW_INC_DOBJFAC_HXX
#include <tools/link.hxx>
+#include <svx/svdobj.hxx>
class SwObjectFactory
{
diff --git a/sw/inc/edglbldc.hxx b/sw/inc/edglbldc.hxx
index ee246d006c73..6cac147f56e5 100644
--- a/sw/inc/edglbldc.hxx
+++ b/sw/inc/edglbldc.hxx
@@ -20,6 +20,7 @@
#define INCLUDED_SW_INC_EDGLBLDC_HXX
#include <o3tl/sorted_vector.hxx>
+#include <tools/solar.h>
class SwSection;
class SwTOXBase;
diff --git a/sw/inc/error.hrc b/sw/inc/error.hrc
index e15abf9cacf4..4e8ffbc77fc7 100644
--- a/sw/inc/error.hrc
+++ b/sw/inc/error.hrc
@@ -20,6 +20,9 @@
#ifndef INCLUDED_SW_INC_ERROR_HRC
#define INCLUDED_SW_INC_ERROR_HRC
+#include <svtools/ehdl.hxx>
+#include <vcl/errcode.hxx>
+
#include "swerror.h"
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
diff --git a/sw/inc/flddat.hxx b/sw/inc/flddat.hxx
index bdc7c93a2c10..a09555657fb1 100644
--- a/sw/inc/flddat.hxx
+++ b/sw/inc/flddat.hxx
@@ -20,6 +20,8 @@
#ifndef INCLUDED_SW_INC_FLDDAT_HXX
#define INCLUDED_SW_INC_FLDDAT_HXX
+#include <tools/solar.h>
+
#include "fldbas.hxx"
class DateTime;
diff --git a/sw/inc/fmtautofmt.hxx b/sw/inc/fmtautofmt.hxx
index 0863ca5e7c1b..822f1ac4adb1 100644
--- a/sw/inc/fmtautofmt.hxx
+++ b/sw/inc/fmtautofmt.hxx
@@ -19,6 +19,7 @@
#ifndef INCLUDED_SW_INC_FMTAUTOFMT_HXX
#define INCLUDED_SW_INC_FMTAUTOFMT_HXX
+#include "hintids.hxx"
#include <svl/poolitem.hxx>
#include <memory>
diff --git a/sw/inc/fmtcolfunc.hxx b/sw/inc/fmtcolfunc.hxx
index 12c382858293..2f4e70e07a8b 100644
--- a/sw/inc/fmtcolfunc.hxx
+++ b/sw/inc/fmtcolfunc.hxx
@@ -19,6 +19,9 @@
#ifndef INCLUDED_SW_INC_FMTCOLFUNC_HXX
#define INCLUDED_SW_INC_FMTCOLFUNC_HXX
+#include "numrule.hxx"
+#include "fmtcol.hxx"
+
class SwFormat;
class SwNumRuleItem;
diff --git a/sw/inc/fmtline.hxx b/sw/inc/fmtline.hxx
index e1a48b3a5070..7c5e393e4794 100644
--- a/sw/inc/fmtline.hxx
+++ b/sw/inc/fmtline.hxx
@@ -20,6 +20,7 @@
#define INCLUDED_SW_INC_FMTLINE_HXX
#include <svl/poolitem.hxx>
+#include <tools/solar.h>
#include "hintids.hxx"
#include "swdllapi.h"
#include "swatrset.hxx"
diff --git a/sw/inc/gotodlg.hxx b/sw/inc/gotodlg.hxx
index 46418c660e23..f6c5d5d97e09 100644
--- a/sw/inc/gotodlg.hxx
+++ b/sw/inc/gotodlg.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_SW_SOURCE_UIBASE_INC_GOTODLG_HXX
#define INCLUDED_SW_SOURCE_UIBASE_INC_GOTODLG_HXX
+#include <sfx2/bindings.hxx>
#include <vcl/weld.hxx>
class SwView;
diff --git a/sw/inc/hhcwrp.hxx b/sw/inc/hhcwrp.hxx
index 1d8b1bbca091..d627eda0988c 100644
--- a/sw/inc/hhcwrp.hxx
+++ b/sw/inc/hhcwrp.hxx
@@ -20,6 +20,9 @@
#define INCLUDED_SW_INC_HHCWRP_HXX
#include <editeng/hangulhanja.hxx>
+#include <editeng/svxenum.hxx>
+#include <vcl/vclptr.hxx>
+#include <vcl/window.hxx>
#include "swdllapi.h"
class SwView;
diff --git a/sw/inc/istyleaccess.hxx b/sw/inc/istyleaccess.hxx
index 7bb832f08cdb..b547d55bac56 100644
--- a/sw/inc/istyleaccess.hxx
+++ b/sw/inc/istyleaccess.hxx
@@ -19,6 +19,8 @@
#ifndef INCLUDED_SW_INC_ISTYLEACCESS_HXX
#define INCLUDED_SW_INC_ISTYLEACCESS_HXX
+#include <svl/itemset.hxx>
+#include <memory>
#include <vector>
// Management of (automatic) styles
diff --git a/sw/inc/modcfg.hxx b/sw/inc/modcfg.hxx
index e7854ef8fb9f..4cac78f4c883 100644
--- a/sw/inc/modcfg.hxx
+++ b/sw/inc/modcfg.hxx
@@ -25,6 +25,7 @@
#include "SwCapObjType.hxx"
#include "tblenum.hxx"
#include "itabenum.hxx"
+#include <caption.hxx>
#include <tools/globname.hxx>
#include <o3tl/typed_flags_set.hxx>
diff --git a/sw/inc/ndhints.hxx b/sw/inc/ndhints.hxx
index a2b8a86be3c0..697b11383df0 100644
--- a/sw/inc/ndhints.hxx
+++ b/sw/inc/ndhints.hxx
@@ -19,8 +19,6 @@
#ifndef INCLUDED_SW_INC_NDHINTS_HXX
#define INCLUDED_SW_INC_NDHINTS_HXX
-#include <o3tl/sorted_vector.hxx>
-
#include "swtypes.hxx"
class SwTextNode;
diff --git a/sw/inc/optload.hrc b/sw/inc/optload.hrc
index 9614b48b56fe..201fbff5986c 100644
--- a/sw/inc/optload.hrc
+++ b/sw/inc/optload.hrc
@@ -20,6 +20,9 @@
#ifndef INCLUDED_SW_INC_OPTLOAD_HRC
#define INCLUDED_SW_INC_OPTLOAD_HRC
+#include <tools/fldunit.hxx>
+#include <utility>
+
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
const std::pair<const char*, FieldUnit> STR_ARR_METRIC[] =
diff --git a/sw/inc/pagepreviewlayout.hxx b/sw/inc/pagepreviewlayout.hxx
index a1bd154249dc..081bacc902b8 100644
--- a/sw/inc/pagepreviewlayout.hxx
+++ b/sw/inc/pagepreviewlayout.hxx
@@ -30,6 +30,7 @@
#include <vcl/outdev.hxx>
// datatype <SwTwips>
#include "swtypes.hxx"
+#include <prevwpage.hxx>
class SwViewShell;
class SwRootFrame;
diff --git a/sw/inc/pvprtdat.hxx b/sw/inc/pvprtdat.hxx
index 57a950af32ae..a45aa5431d27 100644
--- a/sw/inc/pvprtdat.hxx
+++ b/sw/inc/pvprtdat.hxx
@@ -20,7 +20,7 @@
#ifndef INCLUDED_SW_INC_PVPRTDAT_HXX
#define INCLUDED_SW_INC_PVPRTDAT_HXX
-#include <tools/solar.h>
+#include <sal/types.h>
class SwPagePreviewPrtData
{
diff --git a/sw/inc/reffld.hxx b/sw/inc/reffld.hxx
index f2c61877b180..19851da69555 100644
--- a/sw/inc/reffld.hxx
+++ b/sw/inc/reffld.hxx
@@ -19,6 +19,8 @@
#ifndef INCLUDED_SW_INC_REFFLD_HXX
#define INCLUDED_SW_INC_REFFLD_HXX
+#include <tools/solar.h>
+
#include "fldbas.hxx"
class SfxPoolItem;
diff --git a/sw/inc/shellres.hxx b/sw/inc/shellres.hxx
index c836592ccfbd..abdfb341cc35 100644
--- a/sw/inc/shellres.hxx
+++ b/sw/inc/shellres.hxx
@@ -20,6 +20,7 @@
#define INCLUDED_SW_INC_SHELLRES_HXX
#include <memory>
+#include <vector>
#include "swdllapi.h"
#include <rtl/ustring.hxx>
diff --git a/sw/inc/sortopt.hxx b/sw/inc/sortopt.hxx
index c641a415b06f..be697b55e63e 100644
--- a/sw/inc/sortopt.hxx
+++ b/sw/inc/sortopt.hxx
@@ -20,6 +20,7 @@
#define INCLUDED_SW_INC_SORTOPT_HXX
#include <rtl/ustring.hxx>
+#include <i18nlangtag/lang.h>
#include "swdllapi.h"
#include <memory>
#include <vector>
diff --git a/sw/inc/swbaslnk.hxx b/sw/inc/swbaslnk.hxx
index b450cc1f89de..3604c15119d6 100644
--- a/sw/inc/swbaslnk.hxx
+++ b/sw/inc/swbaslnk.hxx
@@ -20,6 +20,7 @@
#define INCLUDED_SW_INC_SWBASLNK_HXX
#include <sfx2/lnkbase.hxx>
+#include <tools/solar.h>
class SwNode;
class SwContentNode;
diff --git a/sw/inc/tblafmt.hxx b/sw/inc/tblafmt.hxx
index 5e1ee7135f6d..fd74bee7c27a 100644
--- a/sw/inc/tblafmt.hxx
+++ b/sw/inc/tblafmt.hxx
@@ -30,28 +30,11 @@
#include <memory>
-#include <svx/algitem.hxx>
-#include <editeng/fontitem.hxx>
-#include <editeng/fhgtitem.hxx>
-#include <editeng/wghtitem.hxx>
-#include <editeng/postitem.hxx>
-#include <editeng/udlnitem.hxx>
-#include <editeng/crossedoutitem.hxx>
-#include <editeng/contouritem.hxx>
-#include <editeng/shdditem.hxx>
-#include <editeng/colritem.hxx>
-#include <editeng/boxitem.hxx>
-#include <editeng/brushitem.hxx>
-#include <editeng/adjustitem.hxx>
-#include <editeng/justifyitem.hxx>
#include <editeng/formatbreakitem.hxx>
#include <editeng/keepitem.hxx>
#include <editeng/frmdiritem.hxx>
#include <editeng/shaditem.hxx>
-#include <svx/rotmodit.hxx>
#include <svx/autoformathelper.hxx>
-#include <svl/intitem.hxx>
-#include <editeng/lineitem.hxx>
#include "fmtpdsc.hxx"
#include "fmtornt.hxx"
#include "swdllapi.h"
diff --git a/sw/inc/toxwrap.hxx b/sw/inc/toxwrap.hxx
index 02108f6f0a09..61463047b073 100644
--- a/sw/inc/toxwrap.hxx
+++ b/sw/inc/toxwrap.hxx
@@ -21,6 +21,7 @@
#define INCLUDED_SW_INC_TOXWRAP_HXX
#include <com/sun/star/lang/Locale.hpp>
+#include <com/sun/star/i18n/XExtendedIndexEntrySupplier.hpp>
#include "swdllapi.h"
namespace com { namespace sun { namespace star {
diff --git a/sw/inc/unochart.hxx b/sw/inc/unochart.hxx
index bb5b8fa7afc4..a7a5cc233527 100644
--- a/sw/inc/unochart.hxx
+++ b/sw/inc/unochart.hxx
@@ -48,7 +48,6 @@
#include <tools/link.hxx>
#include <vcl/timer.hxx>
-#include "calbck.hxx"
#include "frmfmt.hxx"
#include "unocrsr.hxx"
diff --git a/sw/inc/unostyle.hxx b/sw/inc/unostyle.hxx
index 153ddd6536a2..a9a13dbdda32 100644
--- a/sw/inc/unostyle.hxx
+++ b/sw/inc/unostyle.hxx
@@ -29,7 +29,6 @@
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/beans/XPropertyState.hpp>
#include <cppuhelper/implbase.hxx>
-#include "calbck.hxx"
#include <com/sun/star/style/XAutoStyleFamily.hpp>
#include <com/sun/star/style/XAutoStyles.hpp>
diff --git a/sw/inc/unotbl.hxx b/sw/inc/unotbl.hxx
index b31e425b6753..07d525ae3e56 100644
--- a/sw/inc/unotbl.hxx
+++ b/sw/inc/unotbl.hxx
@@ -36,7 +36,6 @@
#include <svl/listener.hxx>
-#include "calbck.hxx"
#include "TextCursorHelper.hxx"
#include "unotext.hxx"
#include "frmfmt.hxx"