sw/inc/AnnotationWin.hxx | 1 - sw/inc/dbgoutsw.hxx | 1 + sw/inc/docstyle.hxx | 1 + sw/inc/edimp.hxx | 1 + sw/inc/fmtruby.hxx | 1 + sw/inc/ndtxt.hxx | 2 ++ sw/inc/reffldsubtype.hxx | 2 ++ sw/inc/unobasestyle.hxx | 5 +++++ sw/inc/unocoll.hxx | 1 + sw/inc/unofieldcoll.hxx | 1 + sw/inc/unoxstyle.hxx | 1 + sw/qa/extras/uiwriter/uiwriter5.cxx | 1 + sw/qa/filter/md/data/image-and-link.md | 2 +- sw/source/core/inc/UndoRedline.hxx | 1 + sw/source/core/inc/layact.hxx | 1 + sw/source/core/inc/txttypes.hxx | 2 ++ sw/source/core/inc/vprint.hxx | 2 ++ sw/source/core/txtnode/justify.hxx | 7 +++++++ sw/source/filter/html/css1kywd.hxx | 2 ++ sw/source/filter/html/htmlform.hxx | 2 ++ sw/source/filter/html/swcss1.hxx | 1 + sw/source/filter/html/swhtml.hxx | 1 + sw/source/filter/xml/xmltexte.hxx | 2 ++ sw/source/filter/xml/xmltexti.hxx | 2 ++ sw/source/ui/vba/vbabookmarks.hxx | 2 ++ sw/source/ui/vba/vbacontentcontrollistentries.hxx | 1 - sw/source/ui/vba/vbadialog.hxx | 2 ++ sw/source/ui/vba/vbadialogs.hxx | 2 ++ sw/source/ui/vba/vbafield.hxx | 2 ++ sw/source/ui/vba/vbaformfielddropdownlistentries.hxx | 1 - sw/source/ui/vba/vbaformfields.hxx | 2 ++ sw/source/ui/vba/vbaframes.hxx | 2 ++ sw/source/ui/vba/vbaheaderfooter.hxx | 2 ++ sw/source/ui/vba/vbaheadersfooters.hxx | 2 ++ sw/source/ui/vba/vbapagesetup.hxx | 2 ++ sw/source/ui/vba/vbaparagraph.hxx | 2 ++ sw/source/ui/vba/vbarevisions.hxx | 2 ++ sw/source/ui/vba/vbasections.hxx | 2 ++ sw/source/ui/vba/vbastyle.hxx | 2 ++ sw/source/ui/vba/vbastyles.hxx | 2 ++ sw/source/ui/vba/vbatable.hxx | 2 ++ sw/source/ui/vba/vbatables.hxx | 2 ++ sw/source/ui/vba/vbatablesofcontents.hxx | 2 ++ sw/source/ui/vba/vbawindow.hxx | 2 ++ sw/source/ui/vba/vbawordbasic.hxx | 3 +++ sw/source/uibase/docvw/PostItMgr.cxx | 1 + sw/source/uibase/inc/content.hxx | 4 ++++ sw/source/uibase/inc/drwtxtsh.hxx | 1 + sw/source/uibase/inc/frmpage.hxx | 1 + sw/source/uibase/inc/langhelper.hxx | 1 + sw/source/uibase/inc/numprevw.hxx | 1 + sw/source/uibase/inc/optload.hxx | 1 + sw/source/uibase/utlui/content.cxx | 1 + 53 files changed, 91 insertions(+), 4 deletions(-)
New commits: commit c880d2bec8907db17ef92220a16f09a7c55c0e6a Author: Gabor Kelemen <[email protected]> AuthorDate: Tue Jan 6 11:25:41 2026 +0100 Commit: Gabor Kelemen <[email protected]> CommitDate: Sun Jan 25 18:56:12 2026 +0100 Fix some non self contained headers in module sw Change-Id: I9d6e3fbf5e1cdfe6818662823b5ef6cd25fb96d9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196638 Tested-by: Jenkins Reviewed-by: Gabor Kelemen <[email protected]> diff --git a/sw/inc/AnnotationWin.hxx b/sw/inc/AnnotationWin.hxx index 2db6f5b5fab7..0585b30292be 100644 --- a/sw/inc/AnnotationWin.hxx +++ b/sw/inc/AnnotationWin.hxx @@ -30,7 +30,6 @@ #include "postithelper.hxx" #include "swrect.hxx" #include "SidebarWindowsTypes.hxx" -#include <annotationmark.hxx> class OutlinerParaObject; class SwPostItMgr; diff --git a/sw/inc/dbgoutsw.hxx b/sw/inc/dbgoutsw.hxx index b02a4ad909ca..e2360f43e3de 100644 --- a/sw/inc/dbgoutsw.hxx +++ b/sw/inc/dbgoutsw.hxx @@ -22,6 +22,7 @@ #include <rtl/ustring.hxx> #include <rtl/ustrbuf.hxx> +#include "frmfmt.hxx" #include "tox.hxx" #include <cstdio> #include <string_view> diff --git a/sw/inc/docstyle.hxx b/sw/inc/docstyle.hxx index 69054b9eb1a2..1f2bffef3ac7 100644 --- a/sw/inc/docstyle.hxx +++ b/sw/inc/docstyle.hxx @@ -24,6 +24,7 @@ #include <svl/style.hxx> #include <svl/itemset.hxx> #include "swdllapi.h" +#include "names.hxx" #include <unordered_map> #include <memory> diff --git a/sw/inc/edimp.hxx b/sw/inc/edimp.hxx index 7a564a76e609..cfa085bb170e 100644 --- a/sw/inc/edimp.hxx +++ b/sw/inc/edimp.hxx @@ -22,6 +22,7 @@ #include <o3tl/sorted_vector.hxx> #include "nodeoffset.hxx" +#include "node.hxx" class SwPaM; class SwNodeIndex; diff --git a/sw/inc/fmtruby.hxx b/sw/inc/fmtruby.hxx index 161c455d5565..2e0fe1f99529 100644 --- a/sw/inc/fmtruby.hxx +++ b/sw/inc/fmtruby.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_INC_FMTRUBY_HXX #define INCLUDED_SW_INC_FMTRUBY_HXX +#include "names.hxx" #include "swdllapi.h" #include <svl/poolitem.hxx> #include <com/sun/star/text/RubyAdjust.hpp> diff --git a/sw/inc/ndtxt.hxx b/sw/inc/ndtxt.hxx index dcbe11e4b7d6..e1f50bd6c450 100644 --- a/sw/inc/ndtxt.hxx +++ b/sw/inc/ndtxt.hxx @@ -30,6 +30,8 @@ #include "ndhints.hxx" #include "node.hxx" #include "paratr.hxx" +#include "../source/core/inc/wrong.hxx" +#include "../source/core/inc/SwGrammarMarkUp.hxx" #include <sfx2/Metadatable.hxx> #include <unotools/weakref.hxx> diff --git a/sw/inc/reffldsubtype.hxx b/sw/inc/reffldsubtype.hxx index 757780ddeec7..156ffea63080 100644 --- a/sw/inc/reffldsubtype.hxx +++ b/sw/inc/reffldsubtype.hxx @@ -18,6 +18,8 @@ */ #pragma once +#include <sal/types.h> + enum class ReferencesSubtype : sal_uInt16 { SetRefAttr = 0, diff --git a/sw/inc/unobasestyle.hxx b/sw/inc/unobasestyle.hxx index 12254d3fcc5e..f26d4279fa6d 100644 --- a/sw/inc/unobasestyle.hxx +++ b/sw/inc/unobasestyle.hxx @@ -18,6 +18,11 @@ */ #pragma once +#include <sal/types.h> +#include <cppuhelper/implbase.hxx> +#include <com/sun/star/beans/XPropertySet.hpp> +#include <com/sun/star/style/XStyle.hpp> + class SAL_DLLPUBLIC_RTTI SwXBaseStyle : public cppu::WeakImplHelper<css::style::XStyle, css::beans::XPropertySet> { diff --git a/sw/inc/unocoll.hxx b/sw/inc/unocoll.hxx index fbb402d9a3ff..e82fbbc5a8a8 100644 --- a/sw/inc/unocoll.hxx +++ b/sw/inc/unocoll.hxx @@ -25,6 +25,7 @@ #include <com/sun/star/container/XNameAccess.hpp> #include <com/sun/star/container/XIndexAccess.hpp> #include <cppuhelper/implbase.hxx> +#include <rtl/ref.hxx> #include "swdllapi.h" class SwDoc; diff --git a/sw/inc/unofieldcoll.hxx b/sw/inc/unofieldcoll.hxx index 1b4eb3f59df8..1c20f074e775 100644 --- a/sw/inc/unofieldcoll.hxx +++ b/sw/inc/unofieldcoll.hxx @@ -28,6 +28,7 @@ #include "unocoll.hxx" class SwFieldType; +class SwXFieldMaster; class SwXFieldEnumeration; typedef ::cppu::WeakImplHelper diff --git a/sw/inc/unoxstyle.hxx b/sw/inc/unoxstyle.hxx index 332dd5616992..896fd218c3bf 100644 --- a/sw/inc/unoxstyle.hxx +++ b/sw/inc/unoxstyle.hxx @@ -31,6 +31,7 @@ #include <com/sun/star/lang/XUnoTunnel.hpp> #include <cppuhelper/implbase.hxx> #include <osl/diagnose.h> +#include "swdllapi.h" #include "coreframestyle.hxx" #include "unobasestyle.hxx" #include "names.hxx" diff --git a/sw/qa/extras/uiwriter/uiwriter5.cxx b/sw/qa/extras/uiwriter/uiwriter5.cxx index 5f3433c858ff..94ced3becc03 100644 --- a/sw/qa/extras/uiwriter/uiwriter5.cxx +++ b/sw/qa/extras/uiwriter/uiwriter5.cxx @@ -35,6 +35,7 @@ #include <view.hxx> #include <cmdid.h> #include <AnnotationWin.hxx> +#include <annotationmark.hxx> #include <PostItMgr.hxx> #include <frameformats.hxx> #include <tools/json_writer.hxx> diff --git a/sw/qa/filter/md/data/image-and-link.md b/sw/qa/filter/md/data/image-and-link.md index 75111ca945d5..06a7f1413013 100644 --- a/sw/qa/filter/md/data/image-and-link.md +++ b/sw/qa/filter/md/data/image-and-link.md @@ -1 +1 @@ -A [](https://www.example.com) Z +A [](https://www.example.com) Z diff --git a/sw/source/core/inc/UndoRedline.hxx b/sw/source/core/inc/UndoRedline.hxx index 6476b3e0b41d..2744ef8efc10 100644 --- a/sw/source/core/inc/UndoRedline.hxx +++ b/sw/source/core/inc/UndoRedline.hxx @@ -23,6 +23,7 @@ #include <memory> #include <undobj.hxx> #include <IDocumentContentOperations.hxx> +#include "rolbck.hxx" struct SwSortOptions; class SwRangeRedline; diff --git a/sw/source/core/inc/layact.hxx b/sw/source/core/inc/layact.hxx index 417d75deebbf..d6b80c25ba47 100644 --- a/sw/source/core/inc/layact.hxx +++ b/sw/source/core/inc/layact.hxx @@ -29,6 +29,7 @@ #include <vector> #include <swrect.hxx> +#include <viewsh.hxx> class OutputDevice; class SwFrame; diff --git a/sw/source/core/inc/txttypes.hxx b/sw/source/core/inc/txttypes.hxx index 551c501d6910..78c1adfced74 100644 --- a/sw/source/core/inc/txttypes.hxx +++ b/sw/source/core/inc/txttypes.hxx @@ -19,6 +19,8 @@ #pragma once +#include <sal/types.h> + /// Portion groups constexpr sal_uInt16 PORGRP_TXT = 0x8000; constexpr sal_uInt16 PORGRP_EXP = 0x4000; diff --git a/sw/source/core/inc/vprint.hxx b/sw/source/core/inc/vprint.hxx index 9d2c7fe3722f..ed9a7d8095f8 100644 --- a/sw/source/core/inc/vprint.hxx +++ b/sw/source/core/inc/vprint.hxx @@ -20,6 +20,8 @@ #include <sal/types.h> +#include <viewsh.hxx> + class SwRootFrame; class SwPageFrame; class SwPrintData; diff --git a/sw/source/core/txtnode/justify.hxx b/sw/source/core/txtnode/justify.hxx index 494739dfcab5..7cd767bd5bc0 100644 --- a/sw/source/core/txtnode/justify.hxx +++ b/sw/source/core/txtnode/justify.hxx @@ -9,7 +9,14 @@ #pragma once #include <sal/types.h> +#include <tools/long.hxx> +#include <vcl/kernarray.hxx> + #include <TextFrameIndex.hxx> +#include <swdllapi.h> + +#include <span> +#include <string_view> namespace sw::Justify { diff --git a/sw/source/filter/html/css1kywd.hxx b/sw/source/filter/html/css1kywd.hxx index b258047cbe87..2548cd3a9537 100644 --- a/sw/source/filter/html/css1kywd.hxx +++ b/sw/source/filter/html/css1kywd.hxx @@ -22,6 +22,8 @@ #include <sal/config.h> +#include <rtl/ustring.hxx> + #include <string_view> constexpr inline std::u16string_view sCSS_mimetype = u"text/css"; diff --git a/sw/source/filter/html/htmlform.hxx b/sw/source/filter/html/htmlform.hxx index 122e0a1c8135..73ea88286e34 100644 --- a/sw/source/filter/html/htmlform.hxx +++ b/sw/source/filter/html/htmlform.hxx @@ -20,6 +20,8 @@ #ifndef INCLUDED_SW_SOURCE_FILTER_HTML_HTMLFORM_HXX #define INCLUDED_SW_SOURCE_FILTER_HTML_HTMLFORM_HXX +#include <rtl/ustring.hxx> + extern const OUString aEventListenerTable[]; extern const OUString aEventMethodTable[]; extern const char* const aEventSDOptionTable[]; diff --git a/sw/source/filter/html/swcss1.hxx b/sw/source/filter/html/swcss1.hxx index 85113f7819a2..e02a7721fdbe 100644 --- a/sw/source/filter/html/swcss1.hxx +++ b/sw/source/filter/html/swcss1.hxx @@ -27,6 +27,7 @@ #include <svtools/htmltokn.h> #include <tools/solar.h> +#include <names.hxx> #include <poolfmt.hxx> #include "svxcss1.hxx" diff --git a/sw/source/filter/html/swhtml.hxx b/sw/source/filter/html/swhtml.hxx index 09b83fba8ee2..151189aa7acf 100644 --- a/sw/source/filter/html/swhtml.hxx +++ b/sw/source/filter/html/swhtml.hxx @@ -25,6 +25,7 @@ #include <svl/listener.hxx> #include <svl/macitem.hxx> #include <svtools/htmltokn.h> +#include <svx/svdotext.hxx> #include <editeng/svxenum.hxx> #include <rtl/ref.hxx> #include <rtl/ustrbuf.hxx> diff --git a/sw/source/filter/xml/xmltexte.hxx b/sw/source/filter/xml/xmltexte.hxx index 09ce6c46f4ca..b6ac5c7b5355 100644 --- a/sw/source/filter/xml/xmltexte.hxx +++ b/sw/source/filter/xml/xmltexte.hxx @@ -23,6 +23,8 @@ #include <xmloff/txtparae.hxx> #include <tools/globname.hxx> +#include <frmfmt.hxx> + #include <optional> #include <unordered_map> diff --git a/sw/source/filter/xml/xmltexti.hxx b/sw/source/filter/xml/xmltexti.hxx index 303b7131cf4a..ecf3b084a54d 100644 --- a/sw/source/filter/xml/xmltexti.hxx +++ b/sw/source/filter/xml/xmltexti.hxx @@ -21,6 +21,8 @@ #include <xmloff/txtimp.hxx> +#include "xmlimp.hxx" + class XMLRedlineImportHelper; class SvXMLImport; diff --git a/sw/source/ui/vba/vbabookmarks.hxx b/sw/source/ui/vba/vbabookmarks.hxx index a363f01cfa38..484d2d11537a 100644 --- a/sw/source/ui/vba/vbabookmarks.hxx +++ b/sw/source/ui/vba/vbabookmarks.hxx @@ -26,6 +26,8 @@ #include <com/sun/star/text/XTextRange.hpp> #include <rtl/ref.hxx> +#include <unotxdoc.hxx> + class SwXTextDocument; typedef CollTestImplHelper< ooo::vba::word::XBookmarks > SwVbaBookmarks_BASE; diff --git a/sw/source/ui/vba/vbacontentcontrollistentries.hxx b/sw/source/ui/vba/vbacontentcontrollistentries.hxx index dc32203179dc..cc32468c941a 100644 --- a/sw/source/ui/vba/vbacontentcontrollistentries.hxx +++ b/sw/source/ui/vba/vbacontentcontrollistentries.hxx @@ -15,7 +15,6 @@ #include <textcontentcontrol.hxx> -#include "vbacontentcontrollistentries.hxx" #include "vbacontentcontrollistentry.hxx" typedef CollTestImplHelper<ooo::vba::word::XContentControlListEntries> diff --git a/sw/source/ui/vba/vbadialog.hxx b/sw/source/ui/vba/vbadialog.hxx index 8ccbc4c44762..898930b66af2 100644 --- a/sw/source/ui/vba/vbadialog.hxx +++ b/sw/source/ui/vba/vbadialog.hxx @@ -24,6 +24,8 @@ #include <vbahelper/vbadialogbase.hxx> #include <rtl/ref.hxx> +#include <unotxdoc.hxx> + class SwXTextDocument; typedef cppu::ImplInheritanceHelper< VbaDialogBase, ov::word::XDialog > SwVbaDialog_BASE; diff --git a/sw/source/ui/vba/vbadialogs.hxx b/sw/source/ui/vba/vbadialogs.hxx index 25080c3c16df..a34659f8a2b4 100644 --- a/sw/source/ui/vba/vbadialogs.hxx +++ b/sw/source/ui/vba/vbadialogs.hxx @@ -25,6 +25,8 @@ #include <cppuhelper/implbase.hxx> #include <rtl/ref.hxx> +#include <unotxdoc.hxx> + class SwXTextDocument; typedef cppu::ImplInheritanceHelper< VbaDialogsBase, ov::word::XDialogs > SwVbaDialogs_BASE; diff --git a/sw/source/ui/vba/vbafield.hxx b/sw/source/ui/vba/vbafield.hxx index 368d22bde53b..fd285735433a 100644 --- a/sw/source/ui/vba/vbafield.hxx +++ b/sw/source/ui/vba/vbafield.hxx @@ -27,6 +27,8 @@ #include <vbahelper/vbacollectionimpl.hxx> #include <rtl/ref.hxx> +#include <unotxdoc.hxx> + class SwXTextDocument; typedef InheritedHelperInterfaceWeakImpl< ooo::vba::word::XField > SwVbaField_BASE; diff --git a/sw/source/ui/vba/vbaformfielddropdownlistentries.hxx b/sw/source/ui/vba/vbaformfielddropdownlistentries.hxx index f8ea422678f0..2dd8fe720ff3 100644 --- a/sw/source/ui/vba/vbaformfielddropdownlistentries.hxx +++ b/sw/source/ui/vba/vbaformfielddropdownlistentries.hxx @@ -13,7 +13,6 @@ #include <vbahelper/vbacollectionimpl.hxx> -#include "vbaformfielddropdownlistentries.hxx" #include "vbaformfielddropdownlistentry.hxx" typedef CollTestImplHelper<ooo::vba::word::XListEntries> SwVbaFormFieldDropDownListEntries_BASE; diff --git a/sw/source/ui/vba/vbaformfields.hxx b/sw/source/ui/vba/vbaformfields.hxx index 274931a51e2a..21f367693e25 100644 --- a/sw/source/ui/vba/vbaformfields.hxx +++ b/sw/source/ui/vba/vbaformfields.hxx @@ -14,6 +14,8 @@ #include <vbahelper/vbacollectionimpl.hxx> #include <rtl/ref.hxx> +#include <unotxdoc.hxx> + typedef CollTestImplHelper<ooo::vba::word::XFormFields> SwVbaFormFields_BASE; class SwVbaFormFields : public SwVbaFormFields_BASE diff --git a/sw/source/ui/vba/vbaframes.hxx b/sw/source/ui/vba/vbaframes.hxx index 41bcef34a8ec..76326b8b745d 100644 --- a/sw/source/ui/vba/vbaframes.hxx +++ b/sw/source/ui/vba/vbaframes.hxx @@ -24,6 +24,8 @@ #include <com/sun/star/text/XTextFramesSupplier.hpp> #include <rtl/ref.hxx> +#include <unotxdoc.hxx> + class SwXTextDocument; typedef CollTestImplHelper< ooo::vba::word::XFrames > SwVbaFrames_BASE; diff --git a/sw/source/ui/vba/vbaheaderfooter.hxx b/sw/source/ui/vba/vbaheaderfooter.hxx index 1561f43f74f9..99947ccbebe5 100644 --- a/sw/source/ui/vba/vbaheaderfooter.hxx +++ b/sw/source/ui/vba/vbaheaderfooter.hxx @@ -24,6 +24,8 @@ #include <vbahelper/vbahelperinterface.hxx> #include <rtl/ref.hxx> +#include <unotxdoc.hxx> + class SwXTextDocument; typedef InheritedHelperInterfaceWeakImpl< ooo::vba::word::XHeaderFooter > SwVbaHeaderFooter_BASE; diff --git a/sw/source/ui/vba/vbaheadersfooters.hxx b/sw/source/ui/vba/vbaheadersfooters.hxx index 10fdb9bd8040..e76c95f2002b 100644 --- a/sw/source/ui/vba/vbaheadersfooters.hxx +++ b/sw/source/ui/vba/vbaheadersfooters.hxx @@ -23,6 +23,8 @@ #include <ooo/vba/word/XHeadersFooters.hpp> #include <rtl/ref.hxx> +#include <unotxdoc.hxx> + class SwXTextDocument; typedef CollTestImplHelper< ooo::vba::word::XHeadersFooters > SwVbaHeadersFooters_BASE; diff --git a/sw/source/ui/vba/vbapagesetup.hxx b/sw/source/ui/vba/vbapagesetup.hxx index 8ccf061d04e5..be1f090b0749 100644 --- a/sw/source/ui/vba/vbapagesetup.hxx +++ b/sw/source/ui/vba/vbapagesetup.hxx @@ -27,6 +27,8 @@ #include <vbahelper/vbapagesetupbase.hxx> #include <rtl/ref.hxx> +#include <unotxdoc.hxx> + class SwXTextDocument; typedef cppu::ImplInheritanceHelper< VbaPageSetupBase, ooo::vba::word::XPageSetup > SwVbaPageSetup_BASE; diff --git a/sw/source/ui/vba/vbaparagraph.hxx b/sw/source/ui/vba/vbaparagraph.hxx index 1df01d0ba80c..4637ba21c3eb 100644 --- a/sw/source/ui/vba/vbaparagraph.hxx +++ b/sw/source/ui/vba/vbaparagraph.hxx @@ -27,6 +27,8 @@ #include <com/sun/star/text/XTextDocument.hpp> #include <rtl/ref.hxx> +#include <unotxdoc.hxx> + class SwXTextDocument; typedef InheritedHelperInterfaceWeakImpl< ooo::vba::word::XParagraph > SwVbaParagraph_BASE; diff --git a/sw/source/ui/vba/vbarevisions.hxx b/sw/source/ui/vba/vbarevisions.hxx index cebd820cc0a4..fe37935dd79f 100644 --- a/sw/source/ui/vba/vbarevisions.hxx +++ b/sw/source/ui/vba/vbarevisions.hxx @@ -24,6 +24,8 @@ #include <com/sun/star/text/XTextRange.hpp> #include <rtl/ref.hxx> +#include <unotxdoc.hxx> + class SwXTextDocument; typedef CollTestImplHelper< ooo::vba::word::XRevisions > SwVbaRevisions_BASE; diff --git a/sw/source/ui/vba/vbasections.hxx b/sw/source/ui/vba/vbasections.hxx index 49e4488931e3..a5b86a537a60 100644 --- a/sw/source/ui/vba/vbasections.hxx +++ b/sw/source/ui/vba/vbasections.hxx @@ -24,6 +24,8 @@ #include <com/sun/star/text/XTextRange.hpp> #include <rtl/ref.hxx> +#include <unotxdoc.hxx> + class SwXTextDocument; typedef CollTestImplHelper< ooo::vba::word::XSections > SwVbaSections_BASE; diff --git a/sw/source/ui/vba/vbastyle.hxx b/sw/source/ui/vba/vbastyle.hxx index b1a23e58472c..a33b66e54959 100644 --- a/sw/source/ui/vba/vbastyle.hxx +++ b/sw/source/ui/vba/vbastyle.hxx @@ -28,6 +28,8 @@ #include <ooo/vba/word/XFont.hpp> #include <rtl/ref.hxx> +#include <unotxdoc.hxx> + class SwXTextDocument; typedef InheritedHelperInterfaceWeakImpl< ooo::vba::word::XStyle > SwVbaStyle_BASE; diff --git a/sw/source/ui/vba/vbastyles.hxx b/sw/source/ui/vba/vbastyles.hxx index c4b2eccc6c05..4e43c7d1d341 100644 --- a/sw/source/ui/vba/vbastyles.hxx +++ b/sw/source/ui/vba/vbastyles.hxx @@ -24,6 +24,8 @@ #include <vbahelper/vbacollectionimpl.hxx> #include <rtl/ref.hxx> +#include <unotxdoc.hxx> + class SwXTextDocument; typedef CollTestImplHelper< ooo::vba::word::XStyles > SwVbaStyles_BASE; diff --git a/sw/source/ui/vba/vbatable.hxx b/sw/source/ui/vba/vbatable.hxx index 466c06e5befe..ca744d933110 100644 --- a/sw/source/ui/vba/vbatable.hxx +++ b/sw/source/ui/vba/vbatable.hxx @@ -27,6 +27,8 @@ #include <ooo/vba/word/XTable.hpp> #include <rtl/ref.hxx> +#include <unotxdoc.hxx> + class SwXTextDocument; typedef InheritedHelperInterfaceWeakImpl< ooo::vba::word::XTable > SwVbaTable_BASE; diff --git a/sw/source/ui/vba/vbatables.hxx b/sw/source/ui/vba/vbatables.hxx index 6a9f728e8201..3875d94696a7 100644 --- a/sw/source/ui/vba/vbatables.hxx +++ b/sw/source/ui/vba/vbatables.hxx @@ -24,6 +24,8 @@ #include <vbahelper/vbacollectionimpl.hxx> #include <rtl/ref.hxx> +#include <unotxdoc.hxx> + class SwXTextDocument; typedef CollTestImplHelper< ov::word::XTables > SwVbaTables_BASE; diff --git a/sw/source/ui/vba/vbatablesofcontents.hxx b/sw/source/ui/vba/vbatablesofcontents.hxx index bc91e30a6809..afce946de271 100644 --- a/sw/source/ui/vba/vbatablesofcontents.hxx +++ b/sw/source/ui/vba/vbatablesofcontents.hxx @@ -26,6 +26,8 @@ #include <ooo/vba/word/XRange.hpp> #include <rtl/ref.hxx> +#include <unotxdoc.hxx> + class SwXTextDocument; typedef CollTestImplHelper< ooo::vba::word::XTablesOfContents > SwVbaTablesOfContents_BASE; diff --git a/sw/source/ui/vba/vbawindow.hxx b/sw/source/ui/vba/vbawindow.hxx index 24144060b79a..61bc47a17df6 100644 --- a/sw/source/ui/vba/vbawindow.hxx +++ b/sw/source/ui/vba/vbawindow.hxx @@ -27,6 +27,8 @@ #include <vbahelper/vbawindowbase.hxx> #include <rtl/ref.hxx> +#include <unotxdoc.hxx> + class SwXTextDocument; typedef cppu::ImplInheritanceHelper< VbaWindowBase, ov::word::XWindow > WindowImpl_BASE; diff --git a/sw/source/ui/vba/vbawordbasic.hxx b/sw/source/ui/vba/vbawordbasic.hxx index 05589f0c58c5..ada9651eb850 100644 --- a/sw/source/ui/vba/vbawordbasic.hxx +++ b/sw/source/ui/vba/vbawordbasic.hxx @@ -19,6 +19,9 @@ #ifndef INCLUDED_SW_SOURCE_UI_VBA_VBAWORDBASIC_HXX #define INCLUDED_SW_SOURCE_UI_VBA_VBAWORDBASIC_HXX +#include <cppuhelper/implbase.hxx> +#include <ooo/vba/word/XWordBasic.hpp> + class SwVbaApplication; /** diff --git a/sw/source/uibase/docvw/PostItMgr.cxx b/sw/source/uibase/docvw/PostItMgr.cxx index fc93c7ddc80c..91afad0d0d59 100644 --- a/sw/source/uibase/docvw/PostItMgr.cxx +++ b/sw/source/uibase/docvw/PostItMgr.cxx @@ -25,6 +25,7 @@ #include <postithelper.hxx> #include <AnnotationWin.hxx> +#include <annotationmark.hxx> #include "frmsidebarwincontainer.hxx" #include <accmap.hxx> diff --git a/sw/source/uibase/inc/content.hxx b/sw/source/uibase/inc/content.hxx index 5cacdfb53e4b..26ef61325356 100644 --- a/sw/source/uibase/inc/content.hxx +++ b/sw/source/uibase/inc/content.hxx @@ -18,11 +18,15 @@ */ #ifndef INCLUDED_SW_SOURCE_UIBASE_INC_CONTENT_HXX #define INCLUDED_SW_SOURCE_UIBASE_INC_CONTENT_HXX + +#include <svl/lstner.hxx> + #include <memory> #include "swcont.hxx" #include <ndarr.hxx> #include <fmtfld.hxx> +#include <docufld.hxx> #include <tools/long.hxx> #include <utility> diff --git a/sw/source/uibase/inc/drwtxtsh.hxx b/sw/source/uibase/inc/drwtxtsh.hxx index 3a819214d115..13a92a44e56c 100644 --- a/sw/source/uibase/inc/drwtxtsh.hxx +++ b/sw/source/uibase/inc/drwtxtsh.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_SOURCE_UIBASE_INC_DRWTXTSH_HXX #define INCLUDED_SW_SOURCE_UIBASE_INC_DRWTXTSH_HXX +#include <editeng/outliner.hxx> #include <sfx2/shell.hxx> #include <shellid.hxx> #include <unotools/caserotate.hxx> diff --git a/sw/source/uibase/inc/frmpage.hxx b/sw/source/uibase/inc/frmpage.hxx index bbe76c8a3576..27bfe92d61f7 100644 --- a/sw/source/uibase/inc/frmpage.hxx +++ b/sw/source/uibase/inc/frmpage.hxx @@ -25,6 +25,7 @@ #include <svx/dlgutil.hxx> #include <svx/frmdirlbox.hxx> #include <svx/swframeexample.hxx> +#include <fmtanchr.hxx> #include <vcl/weld/ComboBox.hxx> #include <vcl/weld/Entry.hxx> #include <vcl/weld/MetricSpinButton.hxx> diff --git a/sw/source/uibase/inc/langhelper.hxx b/sw/source/uibase/inc/langhelper.hxx index 075c05882468..838fa7e82f55 100644 --- a/sw/source/uibase/inc/langhelper.hxx +++ b/sw/source/uibase/inc/langhelper.hxx @@ -20,6 +20,7 @@ #define INCLUDED_SW_SOURCE_UIBASE_INC_LANGHELPER_HXX #include <sal/types.h> +#include <editeng/langitem.hxx> #include <rtl/ustring.hxx> #include <i18nlangtag/lang.h> diff --git a/sw/source/uibase/inc/numprevw.hxx b/sw/source/uibase/inc/numprevw.hxx index 1a9439e84d0d..38fc2dbf28bb 100644 --- a/sw/source/uibase/inc/numprevw.hxx +++ b/sw/source/uibase/inc/numprevw.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SW_SOURCE_UIBASE_INC_NUMPREVW_HXX #define INCLUDED_SW_SOURCE_UIBASE_INC_NUMPREVW_HXX +#include <names.hxx> #include <vcl/weld/customweld.hxx> class SwNumRule; diff --git a/sw/source/uibase/inc/optload.hxx b/sw/source/uibase/inc/optload.hxx index 07b582f5d828..67d10b6a9a15 100644 --- a/sw/source/uibase/inc/optload.hxx +++ b/sw/source/uibase/inc/optload.hxx @@ -34,6 +34,7 @@ #include <vcl/weld/weld.hxx> #include <sfx2/basedlgs.hxx> +#include <names.hxx> #include <SwCapObjType.hxx> #include <SwCapConfigProp.hxx> diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx index e6f45afacd61..1ee72b99aad4 100644 --- a/sw/source/uibase/utlui/content.cxx +++ b/sw/source/uibase/utlui/content.cxx @@ -92,6 +92,7 @@ #include <bitmaps.hlst> #include <AnnotationWin.hxx> +#include <annotationmark.hxx> #include <memory> #include <fmtcntnt.hxx>
