summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2021-12-14 10:26:14 +0100
committerMiklos Vajna <vmiklos@collabora.com>2021-12-15 15:08:10 +0100
commitb24064f2b75bf2d868564a4ac680d37751a92db4 (patch)
tree2ecba6f3a82c3934096efc218f42c1ab2a2a3643
parent86ac9eb59a6d058cc868ca2b05117375d6ea88f4 (diff)
Recheck include/[a-d]* with IWYU
See tdf#42949 for motivation Change-Id: I42475b8e75951d5dcae2fe6b0ad0bca64441e7f5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126837 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
-rw-r--r--drawinglayer/source/primitive2d/discreteshadowprimitive2d.cxx1
-rw-r--r--drawinglayer/source/primitive2d/svggradientprimitive2d.cxx1
-rw-r--r--drawinglayer/source/primitive2d/textprimitive2d.cxx1
-rw-r--r--drawinglayer/source/primitive2d/textstrikeoutprimitive2d.cxx1
-rw-r--r--embeddedobj/source/general/dummyobject.cxx1
-rw-r--r--embeddedobj/source/msole/olemisc.cxx1
-rw-r--r--framework/source/uielement/genericstatusbarcontroller.cxx1
-rw-r--r--include/avmedia/mediaplayer.hxx1
-rw-r--r--include/basegfx/polygon/b2dpolygoncutandtouch.hxx1
-rw-r--r--include/basegfx/polygon/b3dpolypolygontools.hxx1
-rw-r--r--include/basegfx/tuple/Tuple2D.hxx2
-rw-r--r--include/basegfx/tuple/Tuple3D.hxx5
-rw-r--r--include/basegfx/tuple/b2dtuple.hxx1
-rw-r--r--include/basegfx/tuple/b3dtuple.hxx1
-rw-r--r--include/comphelper/container.hxx1
-rw-r--r--include/comphelper/multicontainer2.hxx5
-rw-r--r--include/comphelper/multiinterfacecontainer3.hxx6
-rw-r--r--include/comphelper/servicehelper.hxx2
-rw-r--r--include/comphelper/traceevent.hxx1
-rw-r--r--include/connectivity/sdbcx/VTable.hxx1
-rw-r--r--include/drawinglayer/primitive2d/BufferedDecompositionPrimitive2D.hxx2
-rw-r--r--include/drawinglayer/primitive2d/PolyPolygonColorPrimitive2D.hxx2
-rw-r--r--include/drawinglayer/primitive2d/PolyPolygonSelectionPrimitive2D.hxx2
-rw-r--r--include/drawinglayer/primitive2d/PolygonHairlinePrimitive2D.hxx2
-rw-r--r--include/drawinglayer/primitive2d/PolygonWavePrimitive2D.hxx1
-rw-r--r--include/drawinglayer/primitive2d/baseprimitive2d.hxx5
-rw-r--r--include/drawinglayer/primitive2d/bitmapprimitive2d.hxx1
-rw-r--r--include/drawinglayer/primitive3d/sdrextrudeprimitive3d.hxx1
-rw-r--r--include/drawinglayer/primitive3d/sdrlatheprimitive3d.hxx1
-rw-r--r--sc/source/ui/miscdlgs/autofmt.cxx1
-rw-r--r--sfx2/source/appl/appmisc.cxx1
-rw-r--r--svgio/source/svgreader/svgcharacternode.cxx1
-rw-r--r--svgio/source/svgreader/svgdocumenthandler.cxx1
-rw-r--r--svgio/source/svgreader/svggradientnode.cxx1
-rw-r--r--svgio/source/svgreader/svgnode.cxx1
-rw-r--r--svx/source/sdr/contact/objectcontactofpageview.cxx1
-rw-r--r--svx/source/sdr/contact/viewcontact.cxx1
-rw-r--r--svx/source/sdr/contact/viewcontactofsdredgeobj.cxx1
-rw-r--r--svx/source/sdr/contact/viewcontactofsdrpathobj.cxx1
-rw-r--r--svx/source/sdr/contact/viewcontactofunocontrol.cxx1
-rw-r--r--svx/source/sdr/overlay/overlaymanager.cxx1
-rw-r--r--svx/source/sdr/overlay/overlayobject.cxx1
-rw-r--r--svx/source/sdr/primitive2d/sdrdecompositiontools.cxx1
-rw-r--r--svx/source/sdr/primitive2d/sdrmeasureprimitive2d.cxx1
-rw-r--r--svx/source/sdr/primitive2d/sdrtextprimitive2d.cxx1
-rw-r--r--svx/source/svdraw/svddrgmt.cxx1
-rw-r--r--svx/source/svdraw/svdhdl.cxx1
-rw-r--r--svx/source/svdraw/svdotextdecomposition.cxx1
-rw-r--r--svx/source/svdraw/svdpntv.cxx1
-rw-r--r--svx/source/svdraw/svdxcgv.cxx1
-rw-r--r--svx/source/table/tablehandles.cxx1
-rw-r--r--svx/source/xoutdev/xtabgrdt.cxx1
-rw-r--r--svx/source/xoutdev/xtabhtch.cxx1
-rw-r--r--svx/source/xoutdev/xtablend.cxx1
-rw-r--r--sw/source/core/doc/notxtfrm.cxx1
-rw-r--r--sw/source/core/draw/dflyobj.cxx1
-rw-r--r--sw/source/core/graphic/ndgrf.cxx1
-rw-r--r--sw/source/uibase/docvw/AnnotationWin2.cxx1
58 files changed, 42 insertions, 39 deletions
diff --git a/drawinglayer/source/primitive2d/discreteshadowprimitive2d.cxx b/drawinglayer/source/primitive2d/discreteshadowprimitive2d.cxx
index 5c562471a786..290d9d2d7ffd 100644
--- a/drawinglayer/source/primitive2d/discreteshadowprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/discreteshadowprimitive2d.cxx
@@ -23,6 +23,7 @@
#include <basegfx/matrix/b2dhommatrixtools.hxx>
#include <drawinglayer/primitive2d/transformprimitive2d.hxx>
#include <drawinglayer/geometry/viewinformation2d.hxx>
+#include <osl/diagnose.h>
#include <toolkit/helper/vclunohelper.hxx>
diff --git a/drawinglayer/source/primitive2d/svggradientprimitive2d.cxx b/drawinglayer/source/primitive2d/svggradientprimitive2d.cxx
index 503d07688ecd..f4970777d13c 100644
--- a/drawinglayer/source/primitive2d/svggradientprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/svggradientprimitive2d.cxx
@@ -28,6 +28,7 @@
#include <drawinglayer/primitive2d/transformprimitive2d.hxx>
#include <drawinglayer/primitive2d/maskprimitive2d.hxx>
#include <drawinglayer/geometry/viewinformation2d.hxx>
+#include <osl/diagnose.h>
#include <sal/log.hxx>
#include <cmath>
#include <vcl/skia/SkiaHelper.hxx>
diff --git a/drawinglayer/source/primitive2d/textprimitive2d.cxx b/drawinglayer/source/primitive2d/textprimitive2d.cxx
index 4e584f2b6e92..f27ad45ddbff 100644
--- a/drawinglayer/source/primitive2d/textprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/textprimitive2d.cxx
@@ -24,6 +24,7 @@
#include <drawinglayer/primitive2d/drawinglayer_primitivetypes2d.hxx>
#include <primitive2d/texteffectprimitive2d.hxx>
#include <basegfx/matrix/b2dhommatrixtools.hxx>
+#include <osl/diagnose.h>
using namespace com::sun::star;
diff --git a/drawinglayer/source/primitive2d/textstrikeoutprimitive2d.cxx b/drawinglayer/source/primitive2d/textstrikeoutprimitive2d.cxx
index 1c4983a87c18..c86f42ff3c52 100644
--- a/drawinglayer/source/primitive2d/textstrikeoutprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/textstrikeoutprimitive2d.cxx
@@ -26,6 +26,7 @@
#include <drawinglayer/attribute/lineattribute.hxx>
#include <drawinglayer/primitive2d/polygonprimitive2d.hxx>
#include <drawinglayer/primitive2d/transformprimitive2d.hxx>
+#include <osl/diagnose.h>
#include <rtl/ustrbuf.hxx>
diff --git a/embeddedobj/source/general/dummyobject.cxx b/embeddedobj/source/general/dummyobject.cxx
index 8cf2bd1db489..4d2af144a479 100644
--- a/embeddedobj/source/general/dummyobject.cxx
+++ b/embeddedobj/source/general/dummyobject.cxx
@@ -32,6 +32,7 @@
#include <comphelper/multicontainer2.hxx>
#include <cppuhelper/supportsservice.hxx>
+#include <osl/diagnose.h>
#include <dummyobject.hxx>
diff --git a/embeddedobj/source/msole/olemisc.cxx b/embeddedobj/source/msole/olemisc.cxx
index e2be05d1e2b9..8f9a93a65cb4 100644
--- a/embeddedobj/source/msole/olemisc.cxx
+++ b/embeddedobj/source/msole/olemisc.cxx
@@ -31,6 +31,7 @@
#include <comphelper/multicontainer2.hxx>
#include <comphelper/sequenceashashmap.hxx>
#include <cppuhelper/supportsservice.hxx>
+#include <osl/diagnose.h>
#include <oleembobj.hxx>
#include "olepersist.hxx"
diff --git a/framework/source/uielement/genericstatusbarcontroller.cxx b/framework/source/uielement/genericstatusbarcontroller.cxx
index 68d0f20b7f16..4a5aa46055cf 100644
--- a/framework/source/uielement/genericstatusbarcontroller.cxx
+++ b/framework/source/uielement/genericstatusbarcontroller.cxx
@@ -20,6 +20,7 @@
#include <uielement/genericstatusbarcontroller.hxx>
#include <uielement/statusbarmerger.hxx>
+#include <osl/diagnose.h>
#include <vcl/svapp.hxx>
#include <com/sun/star/ui/ItemStyle.hpp>
diff --git a/include/avmedia/mediaplayer.hxx b/include/avmedia/mediaplayer.hxx
index b7af886bc40c..52ecd942e49a 100644
--- a/include/avmedia/mediaplayer.hxx
+++ b/include/avmedia/mediaplayer.hxx
@@ -20,7 +20,6 @@
#ifndef INCLUDED_AVMEDIA_MEDIAPLAYER_HXX
#define INCLUDED_AVMEDIA_MEDIAPLAYER_HXX
-#include <config_options.h>
#include <sfx2/dockwin.hxx>
#include <sfx2/viewfrm.hxx>
#include <avmedia/avmediadllapi.h>
diff --git a/include/basegfx/polygon/b2dpolygoncutandtouch.hxx b/include/basegfx/polygon/b2dpolygoncutandtouch.hxx
index e037046ce9de..55bea6f3ebcb 100644
--- a/include/basegfx/polygon/b2dpolygoncutandtouch.hxx
+++ b/include/basegfx/polygon/b2dpolygoncutandtouch.hxx
@@ -21,7 +21,6 @@
#include <basegfx/polygon/b2dpolygon.hxx>
#include <basegfx/polygon/b2dpolypolygon.hxx>
-#include <basegfx/basegfxdllapi.h>
namespace basegfx::utils
{
diff --git a/include/basegfx/polygon/b3dpolypolygontools.hxx b/include/basegfx/polygon/b3dpolypolygontools.hxx
index d0cb3ba5e009..d201696dc828 100644
--- a/include/basegfx/polygon/b3dpolypolygontools.hxx
+++ b/include/basegfx/polygon/b3dpolypolygontools.hxx
@@ -19,7 +19,6 @@
#pragma once
-#include <basegfx/numeric/ftools.hxx>
#include <basegfx/point/b3dpoint.hxx>
#include <basegfx/basegfxdllapi.h>
diff --git a/include/basegfx/tuple/Tuple2D.hxx b/include/basegfx/tuple/Tuple2D.hxx
index 2007732543b6..96ba525bf989 100644
--- a/include/basegfx/tuple/Tuple2D.hxx
+++ b/include/basegfx/tuple/Tuple2D.hxx
@@ -10,8 +10,6 @@
#pragma once
-#include <sal/types.h>
-#include <basegfx/basegfxdllapi.h>
#include <basegfx/utils/common.hxx>
#include <basegfx/numeric/ftools.hxx>
diff --git a/include/basegfx/tuple/Tuple3D.hxx b/include/basegfx/tuple/Tuple3D.hxx
index 8ddcec8c618b..96751666393d 100644
--- a/include/basegfx/tuple/Tuple3D.hxx
+++ b/include/basegfx/tuple/Tuple3D.hxx
@@ -10,11 +10,6 @@
#pragma once
-#include <sal/types.h>
-#include <basegfx/basegfxdllapi.h>
-#include <basegfx/utils/common.hxx>
-#include <basegfx/numeric/ftools.hxx>
-
namespace basegfx
{
template <typename TYPE> class Tuple3D
diff --git a/include/basegfx/tuple/b2dtuple.hxx b/include/basegfx/tuple/b2dtuple.hxx
index c523501b9639..c47b7b898c17 100644
--- a/include/basegfx/tuple/b2dtuple.hxx
+++ b/include/basegfx/tuple/b2dtuple.hxx
@@ -20,7 +20,6 @@
#pragma once
#include <sal/types.h>
-#include <basegfx/numeric/ftools.hxx>
#include <basegfx/basegfxdllapi.h>
#include <basegfx/tuple/Tuple2D.hxx>
diff --git a/include/basegfx/tuple/b3dtuple.hxx b/include/basegfx/tuple/b3dtuple.hxx
index ccc360084dbc..7ac6a774bad5 100644
--- a/include/basegfx/tuple/b3dtuple.hxx
+++ b/include/basegfx/tuple/b3dtuple.hxx
@@ -19,7 +19,6 @@
#pragma once
-#include <config_options.h>
#include <sal/types.h>
#include <basegfx/numeric/ftools.hxx>
#include <basegfx/basegfxdllapi.h>
diff --git a/include/comphelper/container.hxx b/include/comphelper/container.hxx
index a1ea3de9c32e..03a7e96de77c 100644
--- a/include/comphelper/container.hxx
+++ b/include/comphelper/container.hxx
@@ -20,7 +20,6 @@
#ifndef INCLUDED_COMPHELPER_CONTAINER_HXX
#define INCLUDED_COMPHELPER_CONTAINER_HXX
-#include <config_options.h>
#include <vector>
#include <com/sun/star/uno/Reference.hxx>
#include <comphelper/comphelperdllapi.h>
diff --git a/include/comphelper/multicontainer2.hxx b/include/comphelper/multicontainer2.hxx
index ad5ffca7cb95..d0963fa1d89c 100644
--- a/include/comphelper/multicontainer2.hxx
+++ b/include/comphelper/multicontainer2.hxx
@@ -21,15 +21,10 @@
#include <sal/config.h>
-#include <osl/diagnose.h>
#include <osl/mutex.hxx>
#include <com/sun/star/lang/EventObject.hpp>
-#include <com/sun/star/lang/DisposedException.hpp>
-#include <com/sun/star/uno/Sequence.hxx>
#include <comphelper/comphelperdllapi.h>
#include <comphelper/interfacecontainer2.hxx>
-#include <cstddef>
-#include <functional>
#include <memory>
#include <vector>
#include <utility>
diff --git a/include/comphelper/multiinterfacecontainer3.hxx b/include/comphelper/multiinterfacecontainer3.hxx
index a9abdd5f77b0..d11684f417f7 100644
--- a/include/comphelper/multiinterfacecontainer3.hxx
+++ b/include/comphelper/multiinterfacecontainer3.hxx
@@ -21,16 +21,10 @@
#include <sal/config.h>
#include <com/sun/star/lang/EventObject.hpp>
-#include <com/sun/star/lang/DisposedException.hpp>
-#include <comphelper/comphelperdllapi.h>
#include <comphelper/interfacecontainer3.hxx>
#include <memory>
#include <vector>
-namespace com::sun::star::uno
-{
-class XInterface;
-}
namespace osl
{
class Mutex;
diff --git a/include/comphelper/servicehelper.hxx b/include/comphelper/servicehelper.hxx
index b2c6bf46d009..c225494ccf1b 100644
--- a/include/comphelper/servicehelper.hxx
+++ b/include/comphelper/servicehelper.hxx
@@ -24,8 +24,6 @@
#include <com/sun/star/lang/XUnoTunnel.hpp>
#include <com/sun/star/uno/Sequence.hxx>
-#include <type_traits>
-
namespace comphelper {
// Class incapsulating UIDs used as e.g. tunnel IDs for css::lang::XUnoTunnel,
diff --git a/include/comphelper/traceevent.hxx b/include/comphelper/traceevent.hxx
index a111be0b9e63..1c032de69698 100644
--- a/include/comphelper/traceevent.hxx
+++ b/include/comphelper/traceevent.hxx
@@ -12,7 +12,6 @@
#include <sal/config.h>
-#include <algorithm>
#include <atomic>
#include <map>
#include <memory>
diff --git a/include/connectivity/sdbcx/VTable.hxx b/include/connectivity/sdbcx/VTable.hxx
index 4d9b48c92835..6d575615fd44 100644
--- a/include/connectivity/sdbcx/VTable.hxx
+++ b/include/connectivity/sdbcx/VTable.hxx
@@ -31,7 +31,6 @@
#include <cppuhelper/compbase.hxx>
#include <cppuhelper/implbase4.hxx>
#include <cppuhelper/basemutex.hxx>
-#include <rtl/ref.hxx>
#include <com/sun/star/container/XNamed.hpp>
#include <connectivity/sdbcx/IRefreshable.hxx>
#include <connectivity/sdbcx/VDescriptor.hxx>
diff --git a/include/drawinglayer/primitive2d/BufferedDecompositionPrimitive2D.hxx b/include/drawinglayer/primitive2d/BufferedDecompositionPrimitive2D.hxx
index c67c3262ec1c..250660e0e67a 100644
--- a/include/drawinglayer/primitive2d/BufferedDecompositionPrimitive2D.hxx
+++ b/include/drawinglayer/primitive2d/BufferedDecompositionPrimitive2D.hxx
@@ -22,8 +22,6 @@
#include <drawinglayer/drawinglayerdllapi.h>
#include <drawinglayer/primitive2d/baseprimitive2d.hxx>
-#include <basegfx/range/b2drange.hxx>
-#include <cppuhelper/compbase.hxx>
namespace drawinglayer::geometry
{
diff --git a/include/drawinglayer/primitive2d/PolyPolygonColorPrimitive2D.hxx b/include/drawinglayer/primitive2d/PolyPolygonColorPrimitive2D.hxx
index c9acbb00dd30..25b0aad475aa 100644
--- a/include/drawinglayer/primitive2d/PolyPolygonColorPrimitive2D.hxx
+++ b/include/drawinglayer/primitive2d/PolyPolygonColorPrimitive2D.hxx
@@ -21,7 +21,7 @@
#include <drawinglayer/drawinglayerdllapi.h>
-#include <drawinglayer/primitive2d/BufferedDecompositionPrimitive2D.hxx>
+#include <drawinglayer/primitive2d/baseprimitive2d.hxx>
#include <basegfx/polygon/b2dpolypolygon.hxx>
#include <basegfx/color/bcolor.hxx>
diff --git a/include/drawinglayer/primitive2d/PolyPolygonSelectionPrimitive2D.hxx b/include/drawinglayer/primitive2d/PolyPolygonSelectionPrimitive2D.hxx
index f7a7c145bca9..59f1327f0bd5 100644
--- a/include/drawinglayer/primitive2d/PolyPolygonSelectionPrimitive2D.hxx
+++ b/include/drawinglayer/primitive2d/PolyPolygonSelectionPrimitive2D.hxx
@@ -21,7 +21,7 @@
#include <drawinglayer/drawinglayerdllapi.h>
-#include <drawinglayer/primitive2d/BufferedDecompositionPrimitive2D.hxx>
+#include <drawinglayer/primitive2d/baseprimitive2d.hxx>
#include <drawinglayer/primitive2d/primitivetools2d.hxx>
#include <basegfx/polygon/b2dpolypolygon.hxx>
#include <basegfx/color/bcolor.hxx>
diff --git a/include/drawinglayer/primitive2d/PolygonHairlinePrimitive2D.hxx b/include/drawinglayer/primitive2d/PolygonHairlinePrimitive2D.hxx
index 7530162b2168..d057827865f9 100644
--- a/include/drawinglayer/primitive2d/PolygonHairlinePrimitive2D.hxx
+++ b/include/drawinglayer/primitive2d/PolygonHairlinePrimitive2D.hxx
@@ -21,7 +21,7 @@
#include <drawinglayer/drawinglayerdllapi.h>
-#include <drawinglayer/primitive2d/BufferedDecompositionPrimitive2D.hxx>
+#include <drawinglayer/primitive2d/baseprimitive2d.hxx>
#include <basegfx/polygon/b2dpolygon.hxx>
#include <basegfx/color/bcolor.hxx>
diff --git a/include/drawinglayer/primitive2d/PolygonWavePrimitive2D.hxx b/include/drawinglayer/primitive2d/PolygonWavePrimitive2D.hxx
index 0a11f861f680..72d875a5e46e 100644
--- a/include/drawinglayer/primitive2d/PolygonWavePrimitive2D.hxx
+++ b/include/drawinglayer/primitive2d/PolygonWavePrimitive2D.hxx
@@ -19,7 +19,6 @@
#pragma once
-#include <drawinglayer/drawinglayerdllapi.h>
#include <drawinglayer/primitive2d/PolygonStrokePrimitive2D.hxx>
namespace drawinglayer::primitive2d
diff --git a/include/drawinglayer/primitive2d/baseprimitive2d.hxx b/include/drawinglayer/primitive2d/baseprimitive2d.hxx
index c5ffa61d5230..0268e89c456e 100644
--- a/include/drawinglayer/primitive2d/baseprimitive2d.hxx
+++ b/include/drawinglayer/primitive2d/baseprimitive2d.hxx
@@ -24,9 +24,10 @@
#include <drawinglayer/primitive2d/Primitive2DContainer.hxx>
#include <drawinglayer/primitive2d/Primitive2DVisitor.hxx>
-#include <cppuhelper/compbase.hxx>
+#include <cppuhelper/weak.hxx>
+#include <com/sun/star/lang/XComponent.hpp>
+#include <com/sun/star/lang/XTypeProvider.hpp>
#include <com/sun/star/util/XAccounting.hpp>
-#include <cppuhelper/basemutex.hxx>
#include <basegfx/range/b2drange.hxx>
#include <com/sun/star/graphic/XPrimitive2D.hpp>
#include <mutex>
diff --git a/include/drawinglayer/primitive2d/bitmapprimitive2d.hxx b/include/drawinglayer/primitive2d/bitmapprimitive2d.hxx
index 8cddbac31668..bef384eb47b2 100644
--- a/include/drawinglayer/primitive2d/bitmapprimitive2d.hxx
+++ b/include/drawinglayer/primitive2d/bitmapprimitive2d.hxx
@@ -22,7 +22,6 @@
#include <drawinglayer/drawinglayerdllapi.h>
#include <drawinglayer/primitive2d/baseprimitive2d.hxx>
-#include <drawinglayer/primitive2d/Primitive2DVisitor.hxx>
#include <basegfx/matrix/b2dhommatrix.hxx>
namespace com::sun::star::awt
diff --git a/include/drawinglayer/primitive3d/sdrextrudeprimitive3d.hxx b/include/drawinglayer/primitive3d/sdrextrudeprimitive3d.hxx
index d20d4b48a1d0..860f4f72bba0 100644
--- a/include/drawinglayer/primitive3d/sdrextrudeprimitive3d.hxx
+++ b/include/drawinglayer/primitive3d/sdrextrudeprimitive3d.hxx
@@ -25,7 +25,6 @@
#include <drawinglayer/geometry/viewinformation3d.hxx>
#include <drawinglayer/primitive3d/sdrprimitive3d.hxx>
#include <basegfx/polygon/b2dpolypolygon.hxx>
-#include <memory>
#include <optional>
diff --git a/include/drawinglayer/primitive3d/sdrlatheprimitive3d.hxx b/include/drawinglayer/primitive3d/sdrlatheprimitive3d.hxx
index 941c949cbb8f..779d92e17205 100644
--- a/include/drawinglayer/primitive3d/sdrlatheprimitive3d.hxx
+++ b/include/drawinglayer/primitive3d/sdrlatheprimitive3d.hxx
@@ -25,7 +25,6 @@
#include <drawinglayer/geometry/viewinformation3d.hxx>
#include <drawinglayer/primitive3d/sdrprimitive3d.hxx>
#include <basegfx/polygon/b2dpolypolygon.hxx>
-#include <memory>
#include <optional>
diff --git a/sc/source/ui/miscdlgs/autofmt.cxx b/sc/source/ui/miscdlgs/autofmt.cxx
index 60ccec1fe9bf..598a9b29e4c1 100644
--- a/sc/source/ui/miscdlgs/autofmt.cxx
+++ b/sc/source/ui/miscdlgs/autofmt.cxx
@@ -31,6 +31,7 @@
#include <editeng/udlnitem.hxx>
#include <editeng/wghtitem.hxx>
#include <o3tl/unit_conversion.hxx>
+#include <osl/diagnose.h>
#include <svl/numformat.hxx>
#include <svl/zforlist.hxx>
#include <svtools/scriptedtext.hxx>
diff --git a/sfx2/source/appl/appmisc.cxx b/sfx2/source/appl/appmisc.cxx
index eb5f0ce21062..51cde7cb8a7a 100644
--- a/sfx2/source/appl/appmisc.cxx
+++ b/sfx2/source/appl/appmisc.cxx
@@ -28,6 +28,7 @@
#include <com/sun/star/uno/Reference.h>
#include <unotools/configmgr.hxx>
#include <comphelper/processfactory.hxx>
+#include <osl/diagnose.h>
#include <rtl/bootstrap.hxx>
#include <svl/stritem.hxx>
#include <tools/urlobj.hxx>
diff --git a/svgio/source/svgreader/svgcharacternode.cxx b/svgio/source/svgreader/svgcharacternode.cxx
index 02abae1f53df..0aba14c0bbd7 100644
--- a/svgio/source/svgreader/svgcharacternode.cxx
+++ b/svgio/source/svgreader/svgcharacternode.cxx
@@ -24,6 +24,7 @@
#include <drawinglayer/primitive2d/textlayoutdevice.hxx>
#include <drawinglayer/primitive2d/textbreakuphelper.hxx>
#include <drawinglayer/primitive2d/textdecoratedprimitive2d.hxx>
+#include <osl/diagnose.h>
using namespace drawinglayer::primitive2d;
diff --git a/svgio/source/svgreader/svgdocumenthandler.cxx b/svgio/source/svgreader/svgdocumenthandler.cxx
index fa620831aa4c..288b0205397d 100644
--- a/svgio/source/svgreader/svgdocumenthandler.cxx
+++ b/svgio/source/svgreader/svgdocumenthandler.cxx
@@ -46,6 +46,7 @@
#include <svgpatternnode.hxx>
#include <svgtitledescnode.hxx>
#include <sal/log.hxx>
+#include <osl/diagnose.h>
using namespace com::sun::star;
diff --git a/svgio/source/svgreader/svggradientnode.cxx b/svgio/source/svgreader/svggradientnode.cxx
index 6520c4066b81..53720e59f883 100644
--- a/svgio/source/svgreader/svggradientnode.cxx
+++ b/svgio/source/svgreader/svggradientnode.cxx
@@ -20,6 +20,7 @@
#include <svggradientnode.hxx>
#include <svgdocument.hxx>
#include <svggradientstopnode.hxx>
+#include <osl/diagnose.h>
namespace svgio::svgreader
{
diff --git a/svgio/source/svgreader/svgnode.cxx b/svgio/source/svgreader/svgnode.cxx
index 103b7f940615..72f20c22c167 100644
--- a/svgio/source/svgreader/svgnode.cxx
+++ b/svgio/source/svgreader/svgnode.cxx
@@ -22,6 +22,7 @@
#include <svgstyleattributes.hxx>
#include <drawinglayer/primitive2d/objectinfoprimitive2d.hxx>
#include <o3tl/string_view.hxx>
+#include <osl/diagnose.h>
#include <tools/urlobj.hxx>
diff --git a/svx/source/sdr/contact/objectcontactofpageview.cxx b/svx/source/sdr/contact/objectcontactofpageview.cxx
index e4aefef5ece0..fd8cf5b4a1ca 100644
--- a/svx/source/sdr/contact/objectcontactofpageview.cxx
+++ b/svx/source/sdr/contact/objectcontactofpageview.cxx
@@ -33,6 +33,7 @@
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <drawinglayer/processor2d/baseprocessor2d.hxx>
#include <drawinglayer/processor2d/processor2dtools.hxx>
+#include <osl/diagnose.h>
#include <svx/unoapi.hxx>
#include <unotools/configmgr.hxx>
#include <vcl/canvastools.hxx>
diff --git a/svx/source/sdr/contact/viewcontact.cxx b/svx/source/sdr/contact/viewcontact.cxx
index 09ec38f771ca..851e1436e89e 100644
--- a/svx/source/sdr/contact/viewcontact.cxx
+++ b/svx/source/sdr/contact/viewcontact.cxx
@@ -24,6 +24,7 @@
#include <basegfx/polygon/b2dpolygontools.hxx>
#include <basegfx/color/bcolor.hxx>
#include <drawinglayer/primitive2d/polygonprimitive2d.hxx>
+#include <osl/diagnose.h>
#include <tools/debug.hxx>
namespace sdr::contact
diff --git a/svx/source/sdr/contact/viewcontactofsdredgeobj.cxx b/svx/source/sdr/contact/viewcontactofsdredgeobj.cxx
index 347eaae33f00..ab95878568f5 100644
--- a/svx/source/sdr/contact/viewcontactofsdredgeobj.cxx
+++ b/svx/source/sdr/contact/viewcontactofsdredgeobj.cxx
@@ -22,6 +22,7 @@
#include <svx/svdoedge.hxx>
#include <sdr/primitive2d/sdrattributecreator.hxx>
#include <sdr/primitive2d/sdrconnectorprimitive2d.hxx>
+#include <osl/diagnose.h>
namespace sdr::contact
diff --git a/svx/source/sdr/contact/viewcontactofsdrpathobj.cxx b/svx/source/sdr/contact/viewcontactofsdrpathobj.cxx
index d0635f005716..fae763c28e1c 100644
--- a/svx/source/sdr/contact/viewcontactofsdrpathobj.cxx
+++ b/svx/source/sdr/contact/viewcontactofsdrpathobj.cxx
@@ -28,6 +28,7 @@
#include <sdr/primitive2d/sdrpathprimitive2d.hxx>
#include <basegfx/matrix/b2dhommatrixtools.hxx>
#include <basegfx/polygon/b2dpolygontools.hxx>
+#include <osl/diagnose.h>
#include <unotools/configmgr.hxx>
#include <vcl/canvastools.hxx>
diff --git a/svx/source/sdr/contact/viewcontactofunocontrol.cxx b/svx/source/sdr/contact/viewcontactofunocontrol.cxx
index 7db0d6afd14e..f99b24372ba7 100644
--- a/svx/source/sdr/contact/viewcontactofunocontrol.cxx
+++ b/svx/source/sdr/contact/viewcontactofunocontrol.cxx
@@ -31,6 +31,7 @@
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <drawinglayer/primitive2d/controlprimitive2d.hxx>
#include <drawinglayer/primitive2d/sdrdecompositiontools2d.hxx>
+#include <osl/diagnose.h>
namespace sdr::contact {
diff --git a/svx/source/sdr/overlay/overlaymanager.cxx b/svx/source/sdr/overlay/overlaymanager.cxx
index 86bda89c4282..3cbd821fb3bd 100644
--- a/svx/source/sdr/overlay/overlaymanager.cxx
+++ b/svx/source/sdr/overlay/overlaymanager.cxx
@@ -29,6 +29,7 @@
#include <drawinglayer/processor2d/baseprocessor2d.hxx>
#include <drawinglayer/processor2d/processor2dtools.hxx>
#include <svtools/optionsdrawinglayer.hxx>
+#include <osl/diagnose.h>
#include <memory>
diff --git a/svx/source/sdr/overlay/overlayobject.cxx b/svx/source/sdr/overlay/overlayobject.cxx
index 841e241895af..4fd227977dbb 100644
--- a/svx/source/sdr/overlay/overlayobject.cxx
+++ b/svx/source/sdr/overlay/overlayobject.cxx
@@ -23,6 +23,7 @@
#include <basegfx/vector/b2dvector.hxx>
#include <basegfx/matrix/b2dhommatrixtools.hxx>
#include <drawinglayer/primitive2d/transformprimitive2d.hxx>
+#include <osl/diagnose.h>
namespace sdr::overlay
{
diff --git a/svx/source/sdr/primitive2d/sdrdecompositiontools.cxx b/svx/source/sdr/primitive2d/sdrdecompositiontools.cxx
index cea6791b2c8a..429302e2fc03 100644
--- a/svx/source/sdr/primitive2d/sdrdecompositiontools.cxx
+++ b/svx/source/sdr/primitive2d/sdrdecompositiontools.cxx
@@ -49,6 +49,7 @@
#include <drawinglayer/attribute/sdrlinestartendattribute.hxx>
#include <drawinglayer/attribute/sdrshadowattribute.hxx>
#include <drawinglayer/attribute/sdrglowattribute.hxx>
+#include <osl/diagnose.h>
using namespace com::sun::star;
diff --git a/svx/source/sdr/primitive2d/sdrmeasureprimitive2d.cxx b/svx/source/sdr/primitive2d/sdrmeasureprimitive2d.cxx
index d96d640a70cc..25fbb0404c53 100644
--- a/svx/source/sdr/primitive2d/sdrmeasureprimitive2d.cxx
+++ b/svx/source/sdr/primitive2d/sdrmeasureprimitive2d.cxx
@@ -27,6 +27,7 @@
#include <svx/sdr/primitive2d/svx_primitivetypes2d.hxx>
#include <basegfx/matrix/b2dhommatrixtools.hxx>
#include <drawinglayer/primitive2d/hiddengeometryprimitive2d.hxx>
+#include <osl/diagnose.h>
using namespace com::sun::star;
diff --git a/svx/source/sdr/primitive2d/sdrtextprimitive2d.cxx b/svx/source/sdr/primitive2d/sdrtextprimitive2d.cxx
index 0ff3a7a4aebd..6311c123ded5 100644
--- a/svx/source/sdr/primitive2d/sdrtextprimitive2d.cxx
+++ b/svx/source/sdr/primitive2d/sdrtextprimitive2d.cxx
@@ -30,6 +30,7 @@
#include <svx/svdmodel.hxx>
#include <svx/svdoutl.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>
+#include <osl/diagnose.h>
using namespace com::sun::star;
diff --git a/svx/source/svdraw/svddrgmt.cxx b/svx/source/svdraw/svddrgmt.cxx
index 300ef234b5dc..fb4e306763d1 100644
--- a/svx/source/svdraw/svddrgmt.cxx
+++ b/svx/source/svdraw/svddrgmt.cxx
@@ -21,6 +21,7 @@
#include <math.h>
#include <o3tl/numeric.hxx>
+#include <osl/diagnose.h>
#include <vcl/canvastools.hxx>
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
diff --git a/svx/source/svdraw/svdhdl.cxx b/svx/source/svdraw/svdhdl.cxx
index f20daeabac4f..f7420f6862c8 100644
--- a/svx/source/svdraw/svdhdl.cxx
+++ b/svx/source/svdraw/svdhdl.cxx
@@ -55,6 +55,7 @@
#include <vcl/BitmapTools.hxx>
#include <svx/sdr/contact/objectcontact.hxx>
#include <svx/sdr/contact/viewcontact.hxx>
+#include <osl/diagnose.h>
#include <basegfx/polygon/b2dpolygontools.hxx>
#include <svx/sdr/overlay/overlayprimitive2dsequenceobject.hxx>
diff --git a/svx/source/svdraw/svdotextdecomposition.cxx b/svx/source/svdraw/svdotextdecomposition.cxx
index 607a2546d1d5..2d86f21dab1d 100644
--- a/svx/source/svdraw/svdotextdecomposition.cxx
+++ b/svx/source/svdraw/svdotextdecomposition.cxx
@@ -58,6 +58,7 @@
#include <editeng/outlobj.hxx>
#include <basegfx/matrix/b2dhommatrixtools.hxx>
#include <sal/log.hxx>
+#include <osl/diagnose.h>
using namespace com::sun::star;
diff --git a/svx/source/svdraw/svdpntv.cxx b/svx/source/svdraw/svdpntv.cxx
index addf221c9bb1..e8c42b4651d1 100644
--- a/svx/source/svdraw/svdpntv.cxx
+++ b/svx/source/svdraw/svdpntv.cxx
@@ -45,6 +45,7 @@
#include <comphelper/lok.hxx>
#include <svx/svdviter.hxx>
#include <svtools/optionsdrawinglayer.hxx>
+#include <osl/diagnose.h>
using namespace ::com::sun::star;
diff --git a/svx/source/svdraw/svdxcgv.cxx b/svx/source/svdraw/svdxcgv.cxx
index 53c8778d9e98..8e84ff133626 100644
--- a/svx/source/svdraw/svdxcgv.cxx
+++ b/svx/source/svdraw/svdxcgv.cxx
@@ -48,6 +48,7 @@
#include <svx/sdr/contact/displayinfo.hxx>
#include <svx/svdotable.hxx>
#include <sal/log.hxx>
+#include <osl/diagnose.h>
using namespace com::sun::star;
diff --git a/svx/source/table/tablehandles.cxx b/svx/source/table/tablehandles.cxx
index 0ce200f14ef5..a776c579eae2 100644
--- a/svx/source/table/tablehandles.cxx
+++ b/svx/source/table/tablehandles.cxx
@@ -34,6 +34,7 @@
#include <sdr/overlay/overlayrectangle.hxx>
#include <drawinglayer/primitive2d/hiddengeometryprimitive2d.hxx>
#include <svtools/optionsdrawinglayer.hxx>
+#include <osl/diagnose.h>
namespace sdr::table {
diff --git a/svx/source/xoutdev/xtabgrdt.cxx b/svx/source/xoutdev/xtabgrdt.cxx
index 76438afdcb9a..a8db26012a50 100644
--- a/svx/source/xoutdev/xtabgrdt.cxx
+++ b/svx/source/xoutdev/xtabgrdt.cxx
@@ -27,6 +27,7 @@
#include <rtl/ustrbuf.hxx>
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
+#include <osl/diagnose.h>
#include <drawinglayer/attribute/fillgradientattribute.hxx>
#include <drawinglayer/primitive2d/PolyPolygonGradientPrimitive2D.hxx>
diff --git a/svx/source/xoutdev/xtabhtch.cxx b/svx/source/xoutdev/xtabhtch.cxx
index f71540012b93..3f47e1255580 100644
--- a/svx/source/xoutdev/xtabhtch.cxx
+++ b/svx/source/xoutdev/xtabhtch.cxx
@@ -31,6 +31,7 @@
#include <drawinglayer/processor2d/baseprocessor2d.hxx>
#include <drawinglayer/processor2d/processor2dtools.hxx>
#include <basegfx/polygon/b2dpolygontools.hxx>
+#include <osl/diagnose.h>
#include <rtl/ustrbuf.hxx>
#include <memory>
diff --git a/svx/source/xoutdev/xtablend.cxx b/svx/source/xoutdev/xtablend.cxx
index 39a963373c71..f520445a4990 100644
--- a/svx/source/xoutdev/xtablend.cxx
+++ b/svx/source/xoutdev/xtablend.cxx
@@ -25,6 +25,7 @@
#include <svx/strings.hrc>
#include <svx/dialmgr.hxx>
+#include <osl/diagnose.h>
#include <svx/xtable.hxx>
#include <drawinglayer/attribute/linestartendattribute.hxx>
diff --git a/sw/source/core/doc/notxtfrm.cxx b/sw/source/core/doc/notxtfrm.cxx
index c6659bf4dfdb..390aa6ecdbda 100644
--- a/sw/source/core/doc/notxtfrm.cxx
+++ b/sw/source/core/doc/notxtfrm.cxx
@@ -72,6 +72,7 @@
#include <drawinglayer/primitive2d/maskprimitive2d.hxx>
#include <basegfx/polygon/b2dpolygontools.hxx>
#include <drawinglayer/primitive2d/objectinfoprimitive2d.hxx>
+#include <osl/diagnose.h>
// MM02 needed for VOC mechanism and getting the OC - may be moved to an own file
#include <svx/sdrpagewindow.hxx>
diff --git a/sw/source/core/draw/dflyobj.cxx b/sw/source/core/draw/dflyobj.cxx
index f5d8b88ca36d..5e945db1bd3e 100644
--- a/sw/source/core/draw/dflyobj.cxx
+++ b/sw/source/core/draw/dflyobj.cxx
@@ -19,6 +19,7 @@
#include <hintids.hxx>
#include <comphelper/lok.hxx>
+#include <osl/diagnose.h>
#include <tools/mapunit.hxx>
#include <svx/svdhdl.hxx>
#include <svx/svdtrans.hxx>
diff --git a/sw/source/core/graphic/ndgrf.cxx b/sw/source/core/graphic/ndgrf.cxx
index 7bf8c3c69f89..04d609d80a50 100644
--- a/sw/source/core/graphic/ndgrf.cxx
+++ b/sw/source/core/graphic/ndgrf.cxx
@@ -49,6 +49,7 @@
#include <rtl/ustring.hxx>
#include <o3tl/deleter.hxx>
+#include <osl/diagnose.h>
#include <retrieveinputstreamconsumer.hxx>
#include <drawinglayer/processor2d/objectinfoextractor2d.hxx>
#include <drawinglayer/primitive2d/objectinfoprimitive2d.hxx>
diff --git a/sw/source/uibase/docvw/AnnotationWin2.cxx b/sw/source/uibase/docvw/AnnotationWin2.cxx
index 913430ed9822..c10d205d3848 100644
--- a/sw/source/uibase/docvw/AnnotationWin2.cxx
+++ b/sw/source/uibase/docvw/AnnotationWin2.cxx
@@ -73,6 +73,7 @@
#include <drawinglayer/processor2d/baseprocessor2d.hxx>
#include <drawinglayer/processor2d/processorfromoutputdevice.hxx>
+#include <osl/diagnose.h>
#include <unotools/localedatawrapper.hxx>
#include <unotools/syslocale.hxx>
#include <memory>