From 63a25b79f18fda29cd744add813ce9508c69b996 Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Wed, 13 Mar 2019 07:18:14 +0100 Subject: tdf#42949 Fix IWYU warnings in sw/source/core/inc/[a-f]* Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I6c3ae806cbb4a00381e39414ff8c8fede5bf1733 Reviewed-on: https://gerrit.libreoffice.org/69150 Tested-by: Jenkins Reviewed-by: Miklos Vajna --- sw/source/core/access/accmap.cxx | 1 + sw/source/core/doc/DocumentRedlineManager.cxx | 1 + sw/source/core/doc/docfmt.cxx | 1 + sw/source/core/doc/notxtfrm.cxx | 2 ++ sw/source/core/doc/tblrwcl.cxx | 1 + sw/source/core/docnode/section.cxx | 3 +++ sw/source/core/draw/dflyobj.cxx | 1 + sw/source/core/edit/edfcol.cxx | 1 + sw/source/core/fields/docufld.cxx | 2 ++ sw/source/core/frmedt/fefly1.cxx | 1 + sw/source/core/frmedt/feshview.cxx | 2 ++ sw/source/core/inc/DocumentChartDataProviderManager.hxx | 4 ---- sw/source/core/inc/DocumentDeviceManager.hxx | 1 - sw/source/core/inc/DocumentDrawModelManager.hxx | 3 +-- sw/source/core/inc/DocumentExternalDataManager.hxx | 1 - sw/source/core/inc/DocumentTimerManager.hxx | 1 - sw/source/core/inc/acorrect.hxx | 2 +- sw/source/core/inc/anchoredobjectposition.hxx | 1 - sw/source/core/inc/ascharanchoredobjectposition.hxx | 1 - sw/source/core/inc/bookmrk.hxx | 5 ++--- sw/source/core/inc/cntfrm.hxx | 1 - sw/source/core/inc/crossrefbookmark.hxx | 1 - sw/source/core/inc/dbg_lay.hxx | 4 ---- sw/source/core/inc/dflyobj.hxx | 5 +++-- sw/source/core/inc/docfld.hxx | 1 - sw/source/core/inc/docsort.hxx | 1 - sw/source/core/inc/drawfont.hxx | 4 +--- sw/source/core/inc/flowfrm.hxx | 6 +++--- sw/source/core/inc/flyfrm.hxx | 2 -- sw/source/core/inc/flyfrms.hxx | 2 -- sw/source/core/inc/fntcache.hxx | 4 +--- sw/source/core/inc/fntcap.hxx | 1 - sw/source/core/inc/frame.hxx | 7 +++---- sw/source/core/inc/frminf.hxx | 1 - sw/source/core/inc/frmtool.hxx | 15 ++++++++------- sw/source/core/inc/notxtfrm.hxx | 1 + sw/source/core/layout/anchoredobject.cxx | 1 + sw/source/core/layout/atrfrm.cxx | 1 + sw/source/core/layout/calcmove.cxx | 1 + sw/source/core/layout/colfrm.cxx | 1 + sw/source/core/layout/dbg_lay.cxx | 1 + sw/source/core/layout/findfrm.cxx | 1 + sw/source/core/layout/flowfrm.cxx | 1 + sw/source/core/layout/fly.cxx | 2 ++ sw/source/core/layout/flylay.cxx | 1 + sw/source/core/layout/frmtool.cxx | 2 ++ sw/source/core/layout/layact.cxx | 2 ++ sw/source/core/layout/newfrm.cxx | 1 + sw/source/core/layout/pagechg.cxx | 2 ++ sw/source/core/layout/pagedesc.cxx | 1 + sw/source/core/layout/paintfrm.cxx | 5 +++++ sw/source/core/layout/sectfrm.cxx | 2 ++ sw/source/core/layout/ssfrm.cxx | 1 + sw/source/core/layout/tabfrm.cxx | 2 ++ sw/source/core/layout/trvlfrm.cxx | 2 ++ sw/source/core/layout/wsfrm.cxx | 2 ++ .../core/objectpositioning/anchoredobjectposition.cxx | 1 + .../objectpositioning/tocntntanchoredobjectposition.cxx | 1 + sw/source/core/text/EnhancedPDFExportHelper.cxx | 2 ++ sw/source/core/text/frmcrsr.cxx | 1 + sw/source/core/text/frmpaint.cxx | 1 + sw/source/core/text/porfld.cxx | 1 + sw/source/core/text/porfld.hxx | 2 ++ sw/source/core/text/txtfly.cxx | 1 + sw/source/core/text/txtfrm.cxx | 1 + sw/source/core/tox/ToxTabStopTokenHandler.cxx | 2 ++ sw/source/core/view/vnew.cxx | 1 + sw/source/uibase/docvw/HeaderFooterWin.cxx | 2 ++ sw/source/uibase/docvw/PageBreakWin.cxx | 1 + 69 files changed, 89 insertions(+), 51 deletions(-) (limited to 'sw/source') diff --git a/sw/source/core/access/accmap.cxx b/sw/source/core/access/accmap.cxx index 876d9fc59d2e..e13ed035cbc1 100644 --- a/sw/source/core/access/accmap.cxx +++ b/sw/source/core/access/accmap.cxx @@ -74,6 +74,7 @@ #include #include #include +#include using namespace ::com::sun::star; using namespace ::com::sun::star::accessibility; diff --git a/sw/source/core/doc/DocumentRedlineManager.cxx b/sw/source/core/doc/DocumentRedlineManager.cxx index de113562139a..a94e9a514089 100644 --- a/sw/source/core/doc/DocumentRedlineManager.cxx +++ b/sw/source/core/doc/DocumentRedlineManager.cxx @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include diff --git a/sw/source/core/doc/docfmt.cxx b/sw/source/core/doc/docfmt.cxx index 9367874f24c5..c870a63068c9 100644 --- a/sw/source/core/doc/docfmt.cxx +++ b/sw/source/core/doc/docfmt.cxx @@ -45,6 +45,7 @@ #include #include #include +#include #include #include #include diff --git a/sw/source/core/doc/notxtfrm.cxx b/sw/source/core/doc/notxtfrm.cxx index b2fb0f388bac..004e11dc9160 100644 --- a/sw/source/core/doc/notxtfrm.cxx +++ b/sw/source/core/doc/notxtfrm.cxx @@ -31,6 +31,7 @@ #include #include #include +#include #include #include #include @@ -74,6 +75,7 @@ #include #include #include +#include #include #include #include diff --git a/sw/source/core/doc/tblrwcl.cxx b/sw/source/core/doc/tblrwcl.cxx index cb367c67a04b..f6c0bb60e715 100644 --- a/sw/source/core/doc/tblrwcl.cxx +++ b/sw/source/core/doc/tblrwcl.cxx @@ -39,6 +39,7 @@ #include #include #include +#include #include #include #include diff --git a/sw/source/core/docnode/section.cxx b/sw/source/core/docnode/section.cxx index 92cc3839dd87..e0ca1175f1c7 100644 --- a/sw/source/core/docnode/section.cxx +++ b/sw/source/core/docnode/section.cxx @@ -17,6 +17,8 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include +#include #include #include #include @@ -42,6 +44,7 @@ #include #include #include +#include #include #include #include diff --git a/sw/source/core/draw/dflyobj.cxx b/sw/source/core/draw/dflyobj.cxx index b7f5a30de5af..36b7396f5f74 100644 --- a/sw/source/core/draw/dflyobj.cxx +++ b/sw/source/core/draw/dflyobj.cxx @@ -61,6 +61,7 @@ // AW: For VCOfDrawVirtObj and stuff #include #include +#include #include #include #include diff --git a/sw/source/core/edit/edfcol.cxx b/sw/source/core/edit/edfcol.cxx index f3d4fe945c27..25d691f88296 100644 --- a/sw/source/core/edit/edfcol.cxx +++ b/sw/source/core/edit/edfcol.cxx @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include diff --git a/sw/source/core/fields/docufld.cxx b/sw/source/core/fields/docufld.cxx index 0cd8e57e9f5a..a11d3b59a696 100644 --- a/sw/source/core/fields/docufld.cxx +++ b/sw/source/core/fields/docufld.cxx @@ -44,6 +44,8 @@ #include #include #include +#include +#include #include #include diff --git a/sw/source/core/frmedt/fefly1.cxx b/sw/source/core/frmedt/fefly1.cxx index ec7f590123aa..7d63fdfdca95 100644 --- a/sw/source/core/frmedt/fefly1.cxx +++ b/sw/source/core/frmedt/fefly1.cxx @@ -48,6 +48,7 @@ #include #include #include +#include #include #include #include diff --git a/sw/source/core/frmedt/feshview.cxx b/sw/source/core/frmedt/feshview.cxx index 368aab4f67f5..83b2a5c5ede8 100644 --- a/sw/source/core/frmedt/feshview.cxx +++ b/sw/source/core/frmedt/feshview.cxx @@ -45,6 +45,7 @@ #include #include #include +#include #include #include #include @@ -54,6 +55,7 @@ #include #include #include +#include #include #include #include diff --git a/sw/source/core/inc/DocumentChartDataProviderManager.hxx b/sw/source/core/inc/DocumentChartDataProviderManager.hxx index 1e747e97636b..1759f5b94982 100644 --- a/sw/source/core/inc/DocumentChartDataProviderManager.hxx +++ b/sw/source/core/inc/DocumentChartDataProviderManager.hxx @@ -25,10 +25,6 @@ #include #include -namespace com { namespace sun { namespace star { namespace frame { - class XModel; -}}}} - class SwTable; class SwChartDataProvider; class SwChartLockController_Helper; diff --git a/sw/source/core/inc/DocumentDeviceManager.hxx b/sw/source/core/inc/DocumentDeviceManager.hxx index 23bb4e1f436f..46c682817247 100644 --- a/sw/source/core/inc/DocumentDeviceManager.hxx +++ b/sw/source/core/inc/DocumentDeviceManager.hxx @@ -20,7 +20,6 @@ #define INCLUDED_SW_SOURCE_CORE_INC_DOCUMENTDEVICEMANAGER_HXX #include -#include #include #include diff --git a/sw/source/core/inc/DocumentDrawModelManager.hxx b/sw/source/core/inc/DocumentDrawModelManager.hxx index ec78263112e6..2f86e2d732ee 100644 --- a/sw/source/core/inc/DocumentDrawModelManager.hxx +++ b/sw/source/core/inc/DocumentDrawModelManager.hxx @@ -20,12 +20,11 @@ #ifndef INCLUDED_SW_SOURCE_CORE_INC_DOCUMENTDRAWMODELMANAGER_HXX #define INCLUDED_SW_SOURCE_CORE_INC_DOCUMENTDRAWMODELMANAGER_HXX -#include #include #include #include +#include -class SwDrawModel; class SdrPageView; class SwDoc; diff --git a/sw/source/core/inc/DocumentExternalDataManager.hxx b/sw/source/core/inc/DocumentExternalDataManager.hxx index 96e4c3c801f5..068d87eed006 100644 --- a/sw/source/core/inc/DocumentExternalDataManager.hxx +++ b/sw/source/core/inc/DocumentExternalDataManager.hxx @@ -21,7 +21,6 @@ #define INCLUDED_SW_SOURCE_CORE_INC_DOCUMENTEXTERNALDATAMANAGER_HXX #include -#include namespace sw { diff --git a/sw/source/core/inc/DocumentTimerManager.hxx b/sw/source/core/inc/DocumentTimerManager.hxx index df0a5d2b1ce6..65346efdb494 100644 --- a/sw/source/core/inc/DocumentTimerManager.hxx +++ b/sw/source/core/inc/DocumentTimerManager.hxx @@ -23,7 +23,6 @@ #include #include -#include #include #include diff --git a/sw/source/core/inc/acorrect.hxx b/sw/source/core/inc/acorrect.hxx index 39bd19e91584..8808b47702d3 100644 --- a/sw/source/core/inc/acorrect.hxx +++ b/sw/source/core/inc/acorrect.hxx @@ -22,9 +22,9 @@ #include +#include #include #include -#include class SwEditShell; class SwPaM; diff --git a/sw/source/core/inc/anchoredobjectposition.hxx b/sw/source/core/inc/anchoredobjectposition.hxx index 1e6c63af00bc..924e6b63bc5b 100644 --- a/sw/source/core/inc/anchoredobjectposition.hxx +++ b/sw/source/core/inc/anchoredobjectposition.hxx @@ -24,7 +24,6 @@ #include "frame.hxx" class SdrObject; -class SwFrame; class SwFlyFrame; class SwContact; class SwFrameFormat; diff --git a/sw/source/core/inc/ascharanchoredobjectposition.hxx b/sw/source/core/inc/ascharanchoredobjectposition.hxx index bc0c2197975c..6bafb73d1e6a 100644 --- a/sw/source/core/inc/ascharanchoredobjectposition.hxx +++ b/sw/source/core/inc/ascharanchoredobjectposition.hxx @@ -21,7 +21,6 @@ #define INCLUDED_SW_SOURCE_CORE_INC_ASCHARANCHOREDOBJECTPOSITION_HXX #include "anchoredobjectposition.hxx" -#include #include #include #include diff --git a/sw/source/core/inc/bookmrk.hxx b/sw/source/core/inc/bookmrk.hxx index 9f6c8af89f34..2aec024a4272 100644 --- a/sw/source/core/inc/bookmrk.hxx +++ b/sw/source/core/inc/bookmrk.hxx @@ -24,11 +24,10 @@ #include #include #include -#include #include #include +#include #include -#include #include #include "DropDownFormFieldButton.hxx" @@ -42,9 +41,9 @@ namespace com { } } -struct SwPosition; // fwd Decl. wg. UI class SwDoc; class SwEditWin; +class SwServerObject; namespace sw { namespace mark { diff --git a/sw/source/core/inc/cntfrm.hxx b/sw/source/core/inc/cntfrm.hxx index aa28f580f3ad..4e57c4142ee3 100644 --- a/sw/source/core/inc/cntfrm.hxx +++ b/sw/source/core/inc/cntfrm.hxx @@ -23,7 +23,6 @@ #include "frame.hxx" #include "flowfrm.hxx" #include -#include class SwLayoutFrame; class SwContentNode; diff --git a/sw/source/core/inc/crossrefbookmark.hxx b/sw/source/core/inc/crossrefbookmark.hxx index 2d7765749626..06116bdda776 100644 --- a/sw/source/core/inc/crossrefbookmark.hxx +++ b/sw/source/core/inc/crossrefbookmark.hxx @@ -20,7 +20,6 @@ #ifndef INCLUDED_SW_SOURCE_CORE_INC_CROSSREFBOOKMARK_HXX #define INCLUDED_SW_SOURCE_CORE_INC_CROSSREFBOOKMARK_HXX -#include #include "bookmrk.hxx" #include #include diff --git a/sw/source/core/inc/dbg_lay.hxx b/sw/source/core/inc/dbg_lay.hxx index e9c04d81eaa9..4f7348b3b046 100644 --- a/sw/source/core/inc/dbg_lay.hxx +++ b/sw/source/core/inc/dbg_lay.hxx @@ -58,10 +58,6 @@ enum class DbgAction { #ifdef DBG_UTIL -#include - -#include - class SwImplProtocol; class SwFrame; class SwImplEnterLeave; diff --git a/sw/source/core/inc/dflyobj.hxx b/sw/source/core/inc/dflyobj.hxx index 30e27cf5f97c..53c5ae907055 100644 --- a/sw/source/core/inc/dflyobj.hxx +++ b/sw/source/core/inc/dflyobj.hxx @@ -20,12 +20,13 @@ #ifndef INCLUDED_SW_SOURCE_CORE_INC_DFLYOBJ_HXX #define INCLUDED_SW_SOURCE_CORE_INC_DFLYOBJ_HXX -#include #include +#include + +namespace drawinglayer::geometry { class ViewInformation2D; } class SwFlyFrame; class SwFrameFormat; -class SdrObjMacroHitRec; const sal_uInt16 SwFlyDrawObjIdentifier = 0x0001; diff --git a/sw/source/core/inc/docfld.hxx b/sw/source/core/inc/docfld.hxx index 6f2a8ee02323..36cf3d86eba0 100644 --- a/sw/source/core/inc/docfld.hxx +++ b/sw/source/core/inc/docfld.hxx @@ -36,7 +36,6 @@ class SwTextTOXMark; class SwTableBox; class SwTextINetFormat; class SwFlyFrameFormat; -class SwDoc; class SwNode; struct SwPosition; enum class SwFieldIds : sal_uInt16; diff --git a/sw/source/core/inc/docsort.hxx b/sw/source/core/inc/docsort.hxx index 893dc28ae732..392cb8785e60 100644 --- a/sw/source/core/inc/docsort.hxx +++ b/sw/source/core/inc/docsort.hxx @@ -30,7 +30,6 @@ class SwTableBox; class SwUndoSort; class FlatFndBox; struct SwSortOptions; -struct SwSortElement; class FndBox_; class FndLine_; class CollatorWrapper; diff --git a/sw/source/core/inc/drawfont.hxx b/sw/source/core/inc/drawfont.hxx index 8cfa4b720082..7c35b4a9a67b 100644 --- a/sw/source/core/inc/drawfont.hxx +++ b/sw/source/core/inc/drawfont.hxx @@ -20,18 +20,16 @@ #ifndef INCLUDED_SW_SOURCE_CORE_INC_DRAWFONT_HXX #define INCLUDED_SW_SOURCE_CORE_INC_DRAWFONT_HXX -#include #include #include #include #include "TextFrameIndex.hxx" +#include class SwTextFrame; class SwViewShell; class SwScriptInfo; -class Point; namespace sw { class WrongListIterator; } -class Size; class SwFont; namespace vcl { class Font; diff --git a/sw/source/core/inc/flowfrm.hxx b/sw/source/core/inc/flowfrm.hxx index ba5930b4c145..d7dc6cfe0ebf 100644 --- a/sw/source/core/inc/flowfrm.hxx +++ b/sw/source/core/inc/flowfrm.hxx @@ -20,7 +20,9 @@ #ifndef INCLUDED_SW_SOURCE_CORE_INC_FLOWFRM_HXX #define INCLUDED_SW_SOURCE_CORE_INC_FLOWFRM_HXX -#include "frmtool.hxx" +#include "frame.hxx" +#include "layfrm.hxx" +#include class SvxFormatKeepItem; class SvxFormatBreakItem; @@ -29,8 +31,6 @@ class SwRect; class SwBorderAttrs; class SwDoc; class SwNodeIndex; -// #i44049# -class SwObjectFormatterTextFrame; /** Base class that provides the general functionalities for frames that are allowed at page breaks (flow) and shall continue on the next page (can be diff --git a/sw/source/core/inc/flyfrm.hxx b/sw/source/core/inc/flyfrm.hxx index 218fbe4a98ec..c44725f73a6b 100644 --- a/sw/source/core/inc/flyfrm.hxx +++ b/sw/source/core/inc/flyfrm.hxx @@ -32,10 +32,8 @@ class SwFormatFrameSize; struct SwCursorMoveState; class SwBorderAttrs; class SwVirtFlyDrawObj; -class SwFrameFormats; class SwAttrSetChg; namespace tools { class PolyPolygon; } -class SwFlyDrawContact; class SwFormat; class SwViewShell; class SwFEShell; diff --git a/sw/source/core/inc/flyfrms.hxx b/sw/source/core/inc/flyfrms.hxx index e59a7fe332b1..4c6940c28edc 100644 --- a/sw/source/core/inc/flyfrms.hxx +++ b/sw/source/core/inc/flyfrms.hxx @@ -23,8 +23,6 @@ #include "flyfrm.hxx" -// #i28701# -class SwFlyAtContentFrame; class SwNoTextFrame; double getLocalFrameRotation_from_SwNoTextFrame(const SwNoTextFrame& rNoTextFrame); diff --git a/sw/source/core/inc/fntcache.hxx b/sw/source/core/inc/fntcache.hxx index c025c6c283ac..d5759ed9def3 100644 --- a/sw/source/core/inc/fntcache.hxx +++ b/sw/source/core/inc/fntcache.hxx @@ -25,18 +25,16 @@ #include #include #include -#include +#include #include "swcache.hxx" #include "TextFrameIndex.hxx" -class OutputDevice; class FontMetric; class SwFntObj; class SwDrawTextInfo; class SwViewShell; class SwSubFont; class MapMode; -class Point; class SwFntCache : public SwCache { diff --git a/sw/source/core/inc/fntcap.hxx b/sw/source/core/inc/fntcap.hxx index 03591c51791d..0b1cee67cddc 100644 --- a/sw/source/core/inc/fntcap.hxx +++ b/sw/source/core/inc/fntcap.hxx @@ -20,7 +20,6 @@ #ifndef INCLUDED_SW_SOURCE_CORE_INC_FNTCAP_HXX #define INCLUDED_SW_SOURCE_CORE_INC_FNTCAP_HXX -#include #include #include "TextFrameIndex.hxx" diff --git a/sw/source/core/inc/frame.hxx b/sw/source/core/inc/frame.hxx index 55688215275e..add2f4b4ba01 100644 --- a/sw/source/core/inc/frame.hxx +++ b/sw/source/core/inc/frame.hxx @@ -21,20 +21,20 @@ #define INCLUDED_SW_SOURCE_CORE_INC_FRAME_HXX #include -#include #include #include #include #include #include #include -#include #include #include #include #include +namespace drawinglayer::processor2d { class BaseProcessor2D; } + class SwLayoutFrame; class SwRootFrame; class SwPageFrame; @@ -45,9 +45,7 @@ class SwFootnoteFrame; class SwFootnoteBossFrame; class SwTabFrame; class SwRowFrame; -class SwFlowFrame; class SwContentFrame; -class SfxPoolItem; class SwAttrSet; class Color; class SwBorderAttrs; @@ -63,6 +61,7 @@ class SwPrintData; class SwSortedObjs; class SwAnchoredObject; enum class SvxFrameDirection; +class IDocumentDrawModelAccess; // Each FrameType is represented here as a bit. // The bits must be set in a way that it can be determined with masking of diff --git a/sw/source/core/inc/frminf.hxx b/sw/source/core/inc/frminf.hxx index e582745f154d..ab7ce6a5c00c 100644 --- a/sw/source/core/inc/frminf.hxx +++ b/sw/source/core/inc/frminf.hxx @@ -27,7 +27,6 @@ #include class SwTextFrame; -class SwPaM; class SwTextCursor; class SwTextFrameInfo diff --git a/sw/source/core/inc/frmtool.hxx b/sw/source/core/inc/frmtool.hxx index 7c76779cd658..18048e34112b 100644 --- a/sw/source/core/inc/frmtool.hxx +++ b/sw/source/core/inc/frmtool.hxx @@ -21,25 +21,25 @@ #define INCLUDED_SW_SOURCE_CORE_INC_FRMTOOL_HXX #include -#include "layfrm.hxx" -#include +#include "frame.hxx" #include "swcache.hxx" #include -#include "swfont.hxx" -#include "flyfrm.hxx" -#include +#include +class SwLayoutFrame; +class SwFont; +class SwTextFrame; +class SwFormatAnchor; +class SwViewShell; class SwPageFrame; class SwFlyFrame; class SwContentFrame; class SwRootFrame; class SwDoc; -class SwAttrSet; class SdrObject; class SvxBrushItem; class SdrMarkList; class SwNodeIndex; -class OutputDevice; class GraphicObject; class GraphicAttr; class SwPageDesc; @@ -47,6 +47,7 @@ class SwFrameFormats; class SwRegionRects; class SwTextNode; namespace sw { struct Extent; } +namespace basegfx { namespace utils { class B2DClipState; } } #define FAR_AWAY (SAL_MAX_INT32 - 20000) // initial position of a Fly #define BROWSE_HEIGHT (56700L * 10L) // 10 Meters diff --git a/sw/source/core/inc/notxtfrm.hxx b/sw/source/core/inc/notxtfrm.hxx index fad416c27d8f..225c0906066c 100644 --- a/sw/source/core/inc/notxtfrm.hxx +++ b/sw/source/core/inc/notxtfrm.hxx @@ -20,6 +20,7 @@ #define INCLUDED_SW_SOURCE_CORE_INC_NOTXTFRM_HXX #include "cntfrm.hxx" +#include class SwNoTextNode; class OutputDevice; diff --git a/sw/source/core/layout/anchoredobject.cxx b/sw/source/core/layout/anchoredobject.cxx index cdebc37ee10b..57dd72bfb904 100644 --- a/sw/source/core/layout/anchoredobject.cxx +++ b/sw/source/core/layout/anchoredobject.cxx @@ -18,6 +18,7 @@ */ #include +#include #include #include #include diff --git a/sw/source/core/layout/atrfrm.cxx b/sw/source/core/layout/atrfrm.cxx index deec3f657033..9a3020681f9f 100644 --- a/sw/source/core/layout/atrfrm.cxx +++ b/sw/source/core/layout/atrfrm.cxx @@ -51,6 +51,7 @@ #include #include #include +#include #include #include #include diff --git a/sw/source/core/layout/calcmove.cxx b/sw/source/core/layout/calcmove.cxx index 05260abf2dad..c09efcbbea5d 100644 --- a/sw/source/core/layout/calcmove.cxx +++ b/sw/source/core/layout/calcmove.cxx @@ -21,6 +21,7 @@ #include #include #include +#include #include #include #include diff --git a/sw/source/core/layout/colfrm.cxx b/sw/source/core/layout/colfrm.cxx index 6339d026fafb..b241257b4bda 100644 --- a/sw/source/core/layout/colfrm.cxx +++ b/sw/source/core/layout/colfrm.cxx @@ -21,6 +21,7 @@ #include #include #include +#include #include #include #include diff --git a/sw/source/core/layout/dbg_lay.cxx b/sw/source/core/layout/dbg_lay.cxx index 00df02d2f5f5..0ad2d950570e 100644 --- a/sw/source/core/layout/dbg_lay.cxx +++ b/sw/source/core/layout/dbg_lay.cxx @@ -108,6 +108,7 @@ #include #include #include +#include PROT SwProtocol::nRecord = PROT::FileInit; SwImplProtocol* SwProtocol::pImpl = nullptr; diff --git a/sw/source/core/layout/findfrm.cxx b/sw/source/core/layout/findfrm.cxx index a0af09b2ad37..7a411d549ba6 100644 --- a/sw/source/core/layout/findfrm.cxx +++ b/sw/source/core/layout/findfrm.cxx @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include diff --git a/sw/source/core/layout/flowfrm.cxx b/sw/source/core/layout/flowfrm.cxx index 39d369d1b38b..76ace9527fb9 100644 --- a/sw/source/core/layout/flowfrm.cxx +++ b/sw/source/core/layout/flowfrm.cxx @@ -27,6 +27,7 @@ #include #include #include +#include #include #include #include diff --git a/sw/source/core/layout/fly.cxx b/sw/source/core/layout/fly.cxx index 970d454567e7..06410cedf750 100644 --- a/sw/source/core/layout/fly.cxx +++ b/sw/source/core/layout/fly.cxx @@ -50,6 +50,7 @@ #include #include #include +#include #include #include #include @@ -59,6 +60,7 @@ #include #include #include +#include #include #include #include diff --git a/sw/source/core/layout/flylay.cxx b/sw/source/core/layout/flylay.cxx index c0b0219f0167..16a610847978 100644 --- a/sw/source/core/layout/flylay.cxx +++ b/sw/source/core/layout/flylay.cxx @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include diff --git a/sw/source/core/layout/frmtool.cxx b/sw/source/core/layout/frmtool.cxx index 5728fc345363..5c33911727bf 100644 --- a/sw/source/core/layout/frmtool.cxx +++ b/sw/source/core/layout/frmtool.cxx @@ -41,6 +41,7 @@ #include #include #include +#include #include #include #include @@ -64,6 +65,7 @@ #include #include #include +#include #include #include #include diff --git a/sw/source/core/layout/layact.cxx b/sw/source/core/layout/layact.cxx index 62028b741499..8e02e75e9362 100644 --- a/sw/source/core/layout/layact.cxx +++ b/sw/source/core/layout/layact.cxx @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include @@ -32,6 +33,7 @@ #include #include #include +#include #include #include diff --git a/sw/source/core/layout/newfrm.cxx b/sw/source/core/layout/newfrm.cxx index bfaf62657091..e4ae9a45c53e 100644 --- a/sw/source/core/layout/newfrm.cxx +++ b/sw/source/core/layout/newfrm.cxx @@ -38,6 +38,7 @@ #include #include #include +#include #include #include #include diff --git a/sw/source/core/layout/pagechg.cxx b/sw/source/core/layout/pagechg.cxx index f179080e1985..f77954545a50 100644 --- a/sw/source/core/layout/pagechg.cxx +++ b/sw/source/core/layout/pagechg.cxx @@ -28,6 +28,7 @@ #include #include #include +#include #include #include #include @@ -39,6 +40,7 @@ #include #include #include +#include #include #include #include diff --git a/sw/source/core/layout/pagedesc.cxx b/sw/source/core/layout/pagedesc.cxx index 8dc2ad33a1d9..c1559e115600 100644 --- a/sw/source/core/layout/pagedesc.cxx +++ b/sw/source/core/layout/pagedesc.cxx @@ -29,6 +29,7 @@ #include #include #include +#include #include #include #include diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx index 6c5233a85c95..e8f0613cf942 100644 --- a/sw/source/core/layout/paintfrm.cxx +++ b/sw/source/core/layout/paintfrm.cxx @@ -39,6 +39,8 @@ #include #include #include +#include +#include #include #include #include @@ -63,6 +65,7 @@ #include #include #include +#include #include #include @@ -70,6 +73,7 @@ #include #include #include +#include #include #include @@ -94,6 +98,7 @@ #include #include #include +#include #include #include diff --git a/sw/source/core/layout/sectfrm.cxx b/sw/source/core/layout/sectfrm.cxx index 39bf62082c18..58d0c7d4d5ad 100644 --- a/sw/source/core/layout/sectfrm.cxx +++ b/sw/source/core/layout/sectfrm.cxx @@ -45,6 +45,8 @@ #include #include #include +#include +#include namespace { diff --git a/sw/source/core/layout/ssfrm.cxx b/sw/source/core/layout/ssfrm.cxx index e1c8ec770646..902ee811b657 100644 --- a/sw/source/core/layout/ssfrm.cxx +++ b/sw/source/core/layout/ssfrm.cxx @@ -32,6 +32,7 @@ #include #include #include +#include // No inline cause we need the function pointers long SwFrame::GetTopMargin() const diff --git a/sw/source/core/layout/tabfrm.cxx b/sw/source/core/layout/tabfrm.cxx index e90020ce0a35..5c2158d415cb 100644 --- a/sw/source/core/layout/tabfrm.cxx +++ b/sw/source/core/layout/tabfrm.cxx @@ -58,6 +58,8 @@ #include #include #include +#include +#include using namespace ::com::sun::star; diff --git a/sw/source/core/layout/trvlfrm.cxx b/sw/source/core/layout/trvlfrm.cxx index 45d22ab72a29..3abc0276ccac 100644 --- a/sw/source/core/layout/trvlfrm.cxx +++ b/sw/source/core/layout/trvlfrm.cxx @@ -45,6 +45,8 @@ #include #include #include +#include +#include #include #include diff --git a/sw/source/core/layout/wsfrm.cxx b/sw/source/core/layout/wsfrm.cxx index c76f70110990..0f486b4f3f4b 100644 --- a/sw/source/core/layout/wsfrm.cxx +++ b/sw/source/core/layout/wsfrm.cxx @@ -54,6 +54,8 @@ #include #include #include +#include +#include // RotateFlyFrame3 #include diff --git a/sw/source/core/objectpositioning/anchoredobjectposition.cxx b/sw/source/core/objectpositioning/anchoredobjectposition.cxx index c6724a34e0b4..09f6b33c5458 100644 --- a/sw/source/core/objectpositioning/anchoredobjectposition.cxx +++ b/sw/source/core/objectpositioning/anchoredobjectposition.cxx @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include diff --git a/sw/source/core/objectpositioning/tocntntanchoredobjectposition.cxx b/sw/source/core/objectpositioning/tocntntanchoredobjectposition.cxx index 4347c125ee90..25424dfaa3f3 100644 --- a/sw/source/core/objectpositioning/tocntntanchoredobjectposition.cxx +++ b/sw/source/core/objectpositioning/tocntntanchoredobjectposition.cxx @@ -38,6 +38,7 @@ #include #include #include +#include #include #include #include diff --git a/sw/source/core/text/EnhancedPDFExportHelper.cxx b/sw/source/core/text/EnhancedPDFExportHelper.cxx index 94cdbf02368c..cbfbac447f06 100644 --- a/sw/source/core/text/EnhancedPDFExportHelper.cxx +++ b/sw/source/core/text/EnhancedPDFExportHelper.cxx @@ -19,6 +19,7 @@ #include #include +#include #include #include @@ -74,6 +75,7 @@ #include #include #include +#include #include #include diff --git a/sw/source/core/text/frmcrsr.cxx b/sw/source/core/text/frmcrsr.cxx index 1c269af60167..e3bb28798d84 100644 --- a/sw/source/core/text/frmcrsr.cxx +++ b/sw/source/core/text/frmcrsr.cxx @@ -19,6 +19,7 @@ #include #include +#include #include #include #include diff --git a/sw/source/core/text/frmpaint.cxx b/sw/source/core/text/frmpaint.cxx index ccfe63c147ca..5debf4061f54 100644 --- a/sw/source/core/text/frmpaint.cxx +++ b/sw/source/core/text/frmpaint.cxx @@ -34,6 +34,7 @@ #include #include #include +#include #include #include #include "itrpaint.hxx" diff --git a/sw/source/core/text/porfld.cxx b/sw/source/core/text/porfld.cxx index 2a52f9b539c7..bfb547d31487 100644 --- a/sw/source/core/text/porfld.cxx +++ b/sw/source/core/text/porfld.cxx @@ -31,6 +31,7 @@ #include "porfld.hxx" #include "inftxt.hxx" #include +#include #include #include #include diff --git a/sw/source/core/text/porfld.hxx b/sw/source/core/text/porfld.hxx index 069ab3798060..998f33e16a60 100644 --- a/sw/source/core/text/porfld.hxx +++ b/sw/source/core/text/porfld.hxx @@ -20,8 +20,10 @@ #define INCLUDED_SW_SOURCE_CORE_TEXT_PORFLD_HXX #include +#include #include "porexp.hxx" #include +#include class SwFont; class SvxBrushItem; diff --git a/sw/source/core/text/txtfly.cxx b/sw/source/core/text/txtfly.cxx index a6535c853e59..124648a386d1 100644 --- a/sw/source/core/text/txtfly.cxx +++ b/sw/source/core/text/txtfly.cxx @@ -27,6 +27,7 @@ #include #include #include +#include #include #include "porfly.hxx" #include "porfld.hxx" diff --git a/sw/source/core/text/txtfrm.cxx b/sw/source/core/text/txtfrm.cxx index 81e71b8176f9..345f198533f3 100644 --- a/sw/source/core/text/txtfrm.cxx +++ b/sw/source/core/text/txtfrm.cxx @@ -47,6 +47,7 @@ #include #include #include +#include #include #include #include diff --git a/sw/source/core/tox/ToxTabStopTokenHandler.cxx b/sw/source/core/tox/ToxTabStopTokenHandler.cxx index 0efd0125a1e1..d45acc676c7f 100644 --- a/sw/source/core/tox/ToxTabStopTokenHandler.cxx +++ b/sw/source/core/tox/ToxTabStopTokenHandler.cxx @@ -11,11 +11,13 @@ #include #include +#include #include #include #include #include +#include #include #include #include diff --git a/sw/source/core/view/vnew.cxx b/sw/source/core/view/vnew.cxx index 5f967ea514fd..aecaffe4df00 100644 --- a/sw/source/core/view/vnew.cxx +++ b/sw/source/core/view/vnew.cxx @@ -20,6 +20,7 @@ #include #include #include +#include #include #include #include diff --git a/sw/source/uibase/docvw/HeaderFooterWin.cxx b/sw/source/uibase/docvw/HeaderFooterWin.cxx index 2b80b4480a13..4060ab996218 100644 --- a/sw/source/uibase/docvw/HeaderFooterWin.cxx +++ b/sw/source/uibase/docvw/HeaderFooterWin.cxx @@ -25,6 +25,7 @@ #include #include #include +#include #include #include @@ -43,6 +44,7 @@ #include #include #include +#include #include #include #include diff --git a/sw/source/uibase/docvw/PageBreakWin.cxx b/sw/source/uibase/docvw/PageBreakWin.cxx index f0b7048f19cf..38d15842018e 100644 --- a/sw/source/uibase/docvw/PageBreakWin.cxx +++ b/sw/source/uibase/docvw/PageBreakWin.cxx @@ -38,6 +38,7 @@ #include #include #include +#include #include #include #include -- cgit v1.2.3