summaryrefslogtreecommitdiff
path: root/include/basegfx
diff options
context:
space:
mode:
Diffstat (limited to 'include/basegfx')
-rw-r--r--include/basegfx/basegfxdllapi.h2
-rw-r--r--include/basegfx/color/bcolor.hxx4
-rw-r--r--include/basegfx/color/bcolortools.hxx1
-rw-r--r--include/basegfx/matrix/b2dhommatrixtools.hxx4
-rw-r--r--include/basegfx/matrix/b3dhommatrixtools.hxx17
-rw-r--r--include/basegfx/pixel/bpixel.hxx1
-rw-r--r--include/basegfx/polygon/b2dlinegeometry.hxx1
-rw-r--r--include/basegfx/polygon/b2dpolygon.hxx6
-rw-r--r--include/basegfx/polygon/b2dpolygontools.hxx3
-rw-r--r--include/basegfx/polygon/b2dpolygontriangulator.hxx6
-rw-r--r--include/basegfx/polygon/b2dpolypolygontools.hxx5
-rw-r--r--include/basegfx/polygon/b2dtrapezoid.hxx4
-rw-r--r--include/basegfx/polygon/b3dpolygon.hxx1
-rw-r--r--include/basegfx/polygon/b3dpolygontools.hxx4
-rw-r--r--include/basegfx/polygon/b3dpolypolygontools.hxx6
-rw-r--r--include/basegfx/range/b1drange.hxx1
-rw-r--r--include/basegfx/range/b2dpolyrange.hxx1
-rw-r--r--include/basegfx/range/b2ibox.hxx5
-rw-r--r--include/basegfx/range/b2irange.hxx1
-rw-r--r--include/basegfx/range/basicbox.hxx1
-rw-r--r--include/basegfx/raster/bzpixelraster.hxx4
-rw-r--r--include/basegfx/raster/rasterconvert3d.hxx1
-rw-r--r--include/basegfx/tuple/b2dtuple.hxx1
-rw-r--r--include/basegfx/tuple/b2i64tuple.hxx1
-rw-r--r--include/basegfx/tuple/b2ituple.hxx2
-rw-r--r--include/basegfx/tuple/b3dtuple.hxx1
-rw-r--r--include/basegfx/tuple/b3ituple.hxx1
-rw-r--r--include/basegfx/utils/b2dclipstate.hxx3
-rw-r--r--include/basegfx/utils/canvastools.hxx6
-rw-r--r--include/basegfx/utils/gradienttools.hxx5
-rw-r--r--include/basegfx/utils/keystoplerp.hxx1
-rw-r--r--include/basegfx/utils/lerp.hxx2
-rw-r--r--include/basegfx/utils/zoomtools.hxx1
-rw-r--r--include/basegfx/vector/b2enums.hxx2
-rw-r--r--include/basegfx/vector/b2ivector.hxx1
35 files changed, 39 insertions, 67 deletions
diff --git a/include/basegfx/basegfxdllapi.h b/include/basegfx/basegfxdllapi.h
index d26c0029b859..2aadbc3a4219 100644
--- a/include/basegfx/basegfxdllapi.h
+++ b/include/basegfx/basegfxdllapi.h
@@ -20,6 +20,8 @@
#ifndef INCLUDED_BASEGFX_BASEGFXDLLAPI_H
#define INCLUDED_BASEGFX_BASEGFXDLLAPI_H
+#include <sal/types.h>
+
#if defined BASEGFX_STATICLIBRARY
#define BASEGFX_DLLPUBLIC
diff --git a/include/basegfx/color/bcolor.hxx b/include/basegfx/color/bcolor.hxx
index 9722e88c5b65..6a6c6886acb6 100644
--- a/include/basegfx/color/bcolor.hxx
+++ b/include/basegfx/color/bcolor.hxx
@@ -25,13 +25,9 @@
#include <ostream>
#include <basegfx/tuple/b3dtuple.hxx>
-#include <vector>
#include <basegfx/basegfxdllapi.h>
#include <o3tl/clamp.hxx>
-namespace com { namespace sun { namespace star { namespace rendering {
- class XGraphicDevice;
-}}}}
namespace basegfx
{
diff --git a/include/basegfx/color/bcolortools.hxx b/include/basegfx/color/bcolortools.hxx
index ad19d07c5125..fd0fa803c10a 100644
--- a/include/basegfx/color/bcolortools.hxx
+++ b/include/basegfx/color/bcolortools.hxx
@@ -20,7 +20,6 @@
#ifndef INCLUDED_BASEGFX_COLOR_BCOLORTOOLS_HXX
#define INCLUDED_BASEGFX_COLOR_BCOLORTOOLS_HXX
-#include <sal/types.h>
#include <basegfx/basegfxdllapi.h>
diff --git a/include/basegfx/matrix/b2dhommatrixtools.hxx b/include/basegfx/matrix/b2dhommatrixtools.hxx
index 6061e68cc811..db7c6af24139 100644
--- a/include/basegfx/matrix/b2dhommatrixtools.hxx
+++ b/include/basegfx/matrix/b2dhommatrixtools.hxx
@@ -23,9 +23,11 @@
#include <sal/types.h>
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <basegfx/vector/b2dvector.hxx>
-#include <basegfx/range/b2drange.hxx>
+#include <basegfx/point/b2dpoint.hxx>
+#include <basegfx/tuple/b2dtuple.hxx>
#include <basegfx/basegfxdllapi.h>
+namespace basegfx { class B2DRange; }
namespace basegfx
{
diff --git a/include/basegfx/matrix/b3dhommatrixtools.hxx b/include/basegfx/matrix/b3dhommatrixtools.hxx
index 16debfad981b..1ea0d80c14e5 100644
--- a/include/basegfx/matrix/b3dhommatrixtools.hxx
+++ b/include/basegfx/matrix/b3dhommatrixtools.hxx
@@ -20,9 +20,22 @@
#ifndef INCLUDED_BASEGFX_MATRIX_B3DHOMMATRIXTOOLS_HXX
#define INCLUDED_BASEGFX_MATRIX_B3DHOMMATRIXTOOLS_HXX
-#include <sal/types.h>
+#include <basegfx/basegfxdllapi.h>
#include <basegfx/matrix/b3dhommatrix.hxx>
-#include <com/sun/star/drawing/HomogenMatrix.hpp>
+
+namespace com
+{
+namespace sun
+{
+namespace star
+{
+namespace drawing
+{
+struct HomogenMatrix;
+}
+}
+}
+}
namespace basegfx
{
diff --git a/include/basegfx/pixel/bpixel.hxx b/include/basegfx/pixel/bpixel.hxx
index 6ea620b0037c..453b253a6f1a 100644
--- a/include/basegfx/pixel/bpixel.hxx
+++ b/include/basegfx/pixel/bpixel.hxx
@@ -21,7 +21,6 @@
#define INCLUDED_BASEGFX_PIXEL_BPIXEL_HXX
#include <sal/types.h>
-#include <basegfx/numeric/ftools.hxx>
#include <basegfx/color/bcolor.hxx>
#include <basegfx/basegfxdllapi.h>
diff --git a/include/basegfx/polygon/b2dlinegeometry.hxx b/include/basegfx/polygon/b2dlinegeometry.hxx
index b1b35cb70c4f..d798fff18cd9 100644
--- a/include/basegfx/polygon/b2dlinegeometry.hxx
+++ b/include/basegfx/polygon/b2dlinegeometry.hxx
@@ -20,7 +20,6 @@
#ifndef INCLUDED_BASEGFX_POLYGON_B2DLINEGEOMETRY_HXX
#define INCLUDED_BASEGFX_POLYGON_B2DLINEGEOMETRY_HXX
-#include <sal/types.h>
#include <basegfx/numeric/ftools.hxx>
#include <basegfx/polygon/b2dpolypolygon.hxx>
#include <basegfx/polygon/b2dpolygon.hxx>
diff --git a/include/basegfx/polygon/b2dpolygon.hxx b/include/basegfx/polygon/b2dpolygon.hxx
index 353e7130f5ed..b27a56ed27d2 100644
--- a/include/basegfx/polygon/b2dpolygon.hxx
+++ b/include/basegfx/polygon/b2dpolygon.hxx
@@ -21,21 +21,19 @@
#define INCLUDED_BASEGFX_POLYGON_B2DPOLYGON_HXX
#include <ostream>
+#include <vector>
#include <sal/types.h>
#include <o3tl/cow_wrapper.hxx>
#include <basegfx/vector/b2enums.hxx>
-#include <basegfx/range/b2drange.hxx>
#include <basegfx/basegfxdllapi.h>
class ImplB2DPolygon;
-class SalGraphicsImpl;
namespace basegfx
{
- class B2DPolygon;
class B2DPoint;
- class B2DVector;
+ class B2DRange;
class B2DHomMatrix;
class B2DCubicBezier;
class SystemDependentData;
diff --git a/include/basegfx/polygon/b2dpolygontools.hxx b/include/basegfx/polygon/b2dpolygontools.hxx
index 62430d323cef..2f5641bb1581 100644
--- a/include/basegfx/polygon/b2dpolygontools.hxx
+++ b/include/basegfx/polygon/b2dpolygontools.hxx
@@ -23,7 +23,6 @@
#include <basegfx/point/b2dpoint.hxx>
#include <basegfx/vector/b2dvector.hxx>
#include <basegfx/range/b2drectangle.hxx>
-#include <basegfx/polygon/b2dpolypolygon.hxx>
#include <basegfx/polygon/b3dpolygon.hxx>
#include <basegfx/polygon/b2dpolygontriangulator.hxx>
#include <com/sun/star/drawing/PointSequence.hpp>
@@ -33,6 +32,8 @@
#include <o3tl/typed_flags_set.hxx>
+namespace basegfx { class B2DPolyPolygon; }
+
// Definitions for the cut flags used from the findCut methods
enum class CutFlagValue
{
diff --git a/include/basegfx/polygon/b2dpolygontriangulator.hxx b/include/basegfx/polygon/b2dpolygontriangulator.hxx
index 7ecb819b3241..40bd8117e423 100644
--- a/include/basegfx/polygon/b2dpolygontriangulator.hxx
+++ b/include/basegfx/polygon/b2dpolygontriangulator.hxx
@@ -20,9 +20,13 @@
#ifndef INCLUDED_BASEGFX_POLYGON_B2DPOLYGONTRIANGULATOR_HXX
#define INCLUDED_BASEGFX_POLYGON_B2DPOLYGONTRIANGULATOR_HXX
-#include <basegfx/polygon/b2dpolypolygon.hxx>
+#include <basegfx/polygon/b2dpolygon.hxx>
+#include <basegfx/point/b2dpoint.hxx>
#include <basegfx/basegfxdllapi.h>
+#include <vector>
+
+namespace basegfx { class B2DPolyPolygon; }
namespace basegfx
{
diff --git a/include/basegfx/polygon/b2dpolypolygontools.hxx b/include/basegfx/polygon/b2dpolypolygontools.hxx
index b14d003be4a4..d1f37202d622 100644
--- a/include/basegfx/polygon/b2dpolypolygontools.hxx
+++ b/include/basegfx/polygon/b2dpolypolygontools.hxx
@@ -21,16 +21,15 @@
#define INCLUDED_BASEGFX_POLYGON_B2DPOLYPOLYGONTOOLS_HXX
#include <basegfx/point/b2dpoint.hxx>
-#include <basegfx/vector/b2dvector.hxx>
-#include <basegfx/polygon/b2dpolygon.hxx>
#include <basegfx/polygon/b3dpolypolygon.hxx>
#include <com/sun/star/drawing/PointSequenceSequence.hpp>
-#include <com/sun/star/drawing/PolyPolygonBezierCoords.hpp>
#include <vector>
#include <set>
#include <basegfx/basegfxdllapi.h>
+namespace com { namespace sun { namespace star { namespace drawing { struct PolyPolygonBezierCoords; } } } }
+
namespace basegfx
{
// predefinitions
diff --git a/include/basegfx/polygon/b2dtrapezoid.hxx b/include/basegfx/polygon/b2dtrapezoid.hxx
index a4d8e1d77733..6333d2d17876 100644
--- a/include/basegfx/polygon/b2dtrapezoid.hxx
+++ b/include/basegfx/polygon/b2dtrapezoid.hxx
@@ -21,11 +21,13 @@
#define INCLUDED_BASEGFX_POLYGON_B2DTRAPEZOID_HXX
#include <basegfx/polygon/b2dpolygon.hxx>
-#include <basegfx/polygon/b2dpolypolygon.hxx>
#include <vector>
#include <basegfx/basegfxdllapi.h>
+namespace basegfx { class B2DPolyPolygon; }
+namespace basegfx { class B2DPoint; }
+
namespace basegfx
{
// class to hold a single trapezoid
diff --git a/include/basegfx/polygon/b3dpolygon.hxx b/include/basegfx/polygon/b3dpolygon.hxx
index 47eefd498597..2851e8f47d4a 100644
--- a/include/basegfx/polygon/b3dpolygon.hxx
+++ b/include/basegfx/polygon/b3dpolygon.hxx
@@ -28,7 +28,6 @@ class ImplB3DPolygon;
namespace basegfx
{
- class B3DPolygon;
class B3DPoint;
class B3DHomMatrix;
class B3DVector;
diff --git a/include/basegfx/polygon/b3dpolygontools.hxx b/include/basegfx/polygon/b3dpolygontools.hxx
index c097f86961c0..2e37b64e2516 100644
--- a/include/basegfx/polygon/b3dpolygontools.hxx
+++ b/include/basegfx/polygon/b3dpolygontools.hxx
@@ -22,12 +22,12 @@
#include <basegfx/point/b3dpoint.hxx>
#include <basegfx/vector/b3dvector.hxx>
-#include <basegfx/polygon/b3dpolypolygon.hxx>
-#include <basegfx/vector/b2enums.hxx>
#include <vector>
#include <basegfx/basegfxdllapi.h>
+namespace basegfx { class B3DPolyPolygon; }
+
namespace basegfx
{
// predefinitions
diff --git a/include/basegfx/polygon/b3dpolypolygontools.hxx b/include/basegfx/polygon/b3dpolypolygontools.hxx
index b3905137a123..fbaf07e70581 100644
--- a/include/basegfx/polygon/b3dpolypolygontools.hxx
+++ b/include/basegfx/polygon/b3dpolypolygontools.hxx
@@ -20,15 +20,13 @@
#ifndef INCLUDED_BASEGFX_POLYGON_B3DPOLYPOLYGONTOOLS_HXX
#define INCLUDED_BASEGFX_POLYGON_B3DPOLYPOLYGONTOOLS_HXX
-#include <basegfx/point/b2dpoint.hxx>
-#include <basegfx/vector/b2dvector.hxx>
#include <basegfx/numeric/ftools.hxx>
#include <basegfx/point/b3dpoint.hxx>
-#include <com/sun/star/drawing/PolyPolygonShape3D.hpp>
-#include <vector>
#include <basegfx/basegfxdllapi.h>
+namespace com { namespace sun { namespace star { namespace drawing { struct PolyPolygonShape3D; } } } }
+
namespace basegfx
{
// predefinitions
diff --git a/include/basegfx/range/b1drange.hxx b/include/basegfx/range/b1drange.hxx
index 7b0d22869559..9e71b2b21928 100644
--- a/include/basegfx/range/b1drange.hxx
+++ b/include/basegfx/range/b1drange.hxx
@@ -21,7 +21,6 @@
#define INCLUDED_BASEGFX_RANGE_B1DRANGE_HXX
#include <basegfx/range/basicrange.hxx>
-#include <basegfx/basegfxdllapi.h>
namespace basegfx
diff --git a/include/basegfx/range/b2dpolyrange.hxx b/include/basegfx/range/b2dpolyrange.hxx
index bfd36303a16c..e6de924057df 100644
--- a/include/basegfx/range/b2dpolyrange.hxx
+++ b/include/basegfx/range/b2dpolyrange.hxx
@@ -27,7 +27,6 @@
namespace basegfx
{
- class B2DTuple;
class B2DRange;
class B2DPolyPolygon;
class B2DHomMatrix;
diff --git a/include/basegfx/range/b2ibox.hxx b/include/basegfx/range/b2ibox.hxx
index ab80e9c186e5..6fb26abc7d04 100644
--- a/include/basegfx/range/b2ibox.hxx
+++ b/include/basegfx/range/b2ibox.hxx
@@ -21,14 +21,9 @@
#define INCLUDED_BASEGFX_RANGE_B2IBOX_HXX
#include <ostream>
-#include <vector>
-#include <basegfx/point/b2ipoint.hxx>
-#include <basegfx/point/b2dpoint.hxx>
#include <basegfx/tuple/b2ituple.hxx>
-#include <basegfx/tuple/b2i64tuple.hxx>
#include <basegfx/range/basicbox.hxx>
-#include <basegfx/basegfxdllapi.h>
namespace basegfx
{
diff --git a/include/basegfx/range/b2irange.hxx b/include/basegfx/range/b2irange.hxx
index a8a95d69ceed..b6bb8e92cb9f 100644
--- a/include/basegfx/range/b2irange.hxx
+++ b/include/basegfx/range/b2irange.hxx
@@ -24,7 +24,6 @@
#include <vector>
#include <basegfx/point/b2ipoint.hxx>
-#include <basegfx/point/b2dpoint.hxx>
#include <basegfx/tuple/b2ituple.hxx>
#include <basegfx/tuple/b2i64tuple.hxx>
#include <basegfx/range/basicrange.hxx>
diff --git a/include/basegfx/range/basicbox.hxx b/include/basegfx/range/basicbox.hxx
index a4535b15cde3..2453f7e08462 100644
--- a/include/basegfx/range/basicbox.hxx
+++ b/include/basegfx/range/basicbox.hxx
@@ -21,7 +21,6 @@
#define INCLUDED_BASEGFX_RANGE_BASICBOX_HXX
#include <basegfx/range/basicrange.hxx>
-#include <basegfx/basegfxdllapi.h>
namespace basegfx
diff --git a/include/basegfx/raster/bzpixelraster.hxx b/include/basegfx/raster/bzpixelraster.hxx
index a9fc6a123d1e..6c370fe61459 100644
--- a/include/basegfx/raster/bzpixelraster.hxx
+++ b/include/basegfx/raster/bzpixelraster.hxx
@@ -20,13 +20,9 @@
#ifndef INCLUDED_BASEGFX_RASTER_BZPIXELRASTER_HXX
#define INCLUDED_BASEGFX_RASTER_BZPIXELRASTER_HXX
-#include <basegfx/basegfxdllapi.h>
#include <basegfx/pixel/bpixel.hxx>
-#include <basegfx/raster/bzpixelraster.hxx>
-#include <osl/diagnose.h>
#include <sal/types.h>
#include <memory>
-#include <algorithm>
#include <string.h>
namespace basegfx
diff --git a/include/basegfx/raster/rasterconvert3d.hxx b/include/basegfx/raster/rasterconvert3d.hxx
index 75d578029104..19c93770dd11 100644
--- a/include/basegfx/raster/rasterconvert3d.hxx
+++ b/include/basegfx/raster/rasterconvert3d.hxx
@@ -28,7 +28,6 @@
#include <basegfx/color/bcolor.hxx>
#include <basegfx/vector/b3dvector.hxx>
#include <basegfx/point/b2dpoint.hxx>
-#include <basegfx/vector/b2dvector.hxx>
#include <basegfx/basegfxdllapi.h>
namespace basegfx
diff --git a/include/basegfx/tuple/b2dtuple.hxx b/include/basegfx/tuple/b2dtuple.hxx
index cba49bf0325c..b0297b5f0a6c 100644
--- a/include/basegfx/tuple/b2dtuple.hxx
+++ b/include/basegfx/tuple/b2dtuple.hxx
@@ -22,7 +22,6 @@
#include <sal/types.h>
#include <basegfx/numeric/ftools.hxx>
-#include <algorithm>
#include <basegfx/basegfxdllapi.h>
namespace basegfx
diff --git a/include/basegfx/tuple/b2i64tuple.hxx b/include/basegfx/tuple/b2i64tuple.hxx
index ae3ec5f5a969..a47a82e1db2a 100644
--- a/include/basegfx/tuple/b2i64tuple.hxx
+++ b/include/basegfx/tuple/b2i64tuple.hxx
@@ -21,7 +21,6 @@
#define INCLUDED_BASEGFX_TUPLE_B2I64TUPLE_HXX
#include <sal/types.h>
-#include <basegfx/tuple/b2dtuple.hxx>
#include <basegfx/basegfxdllapi.h>
diff --git a/include/basegfx/tuple/b2ituple.hxx b/include/basegfx/tuple/b2ituple.hxx
index f8df10fe2851..25e81d1ceab2 100644
--- a/include/basegfx/tuple/b2ituple.hxx
+++ b/include/basegfx/tuple/b2ituple.hxx
@@ -21,8 +21,6 @@
#define INCLUDED_BASEGFX_TUPLE_B2ITUPLE_HXX
#include <sal/types.h>
-#include <basegfx/numeric/ftools.hxx>
-#include <algorithm>
#include <basegfx/basegfxdllapi.h>
namespace basegfx
diff --git a/include/basegfx/tuple/b3dtuple.hxx b/include/basegfx/tuple/b3dtuple.hxx
index 643663bf8a05..6767d5142476 100644
--- a/include/basegfx/tuple/b3dtuple.hxx
+++ b/include/basegfx/tuple/b3dtuple.hxx
@@ -22,7 +22,6 @@
#include <sal/types.h>
#include <basegfx/numeric/ftools.hxx>
-#include <algorithm>
#include <basegfx/basegfxdllapi.h>
namespace basegfx
diff --git a/include/basegfx/tuple/b3ituple.hxx b/include/basegfx/tuple/b3ituple.hxx
index 84ebb919cf78..913b4d847ce0 100644
--- a/include/basegfx/tuple/b3ituple.hxx
+++ b/include/basegfx/tuple/b3ituple.hxx
@@ -21,7 +21,6 @@
#define INCLUDED_BASEGFX_TUPLE_B3ITUPLE_HXX
#include <sal/types.h>
-#include <basegfx/tuple/b3dtuple.hxx>
#include <basegfx/basegfxdllapi.h>
namespace basegfx
diff --git a/include/basegfx/utils/b2dclipstate.hxx b/include/basegfx/utils/b2dclipstate.hxx
index a6d12ba41d7b..66fe72d9506c 100644
--- a/include/basegfx/utils/b2dclipstate.hxx
+++ b/include/basegfx/utils/b2dclipstate.hxx
@@ -20,7 +20,6 @@
#ifndef INCLUDED_BASEGFX_UTILS_B2DCLIPSTATE_HXX
#define INCLUDED_BASEGFX_UTILS_B2DCLIPSTATE_HXX
-#include <sal/types.h>
#include <o3tl/cow_wrapper.hxx>
#include <basegfx/basegfxdllapi.h>
@@ -28,8 +27,6 @@
namespace basegfx
{
class B2DRange;
- class B2DPolyRange;
- class B2DPolygon;
class B2DPolyPolygon;
class B2DHomMatrix;
diff --git a/include/basegfx/utils/canvastools.hxx b/include/basegfx/utils/canvastools.hxx
index 688dcd797df3..fa2ad145c154 100644
--- a/include/basegfx/utils/canvastools.hxx
+++ b/include/basegfx/utils/canvastools.hxx
@@ -29,12 +29,10 @@ namespace com { namespace sun { namespace star { namespace geometry
{
struct AffineMatrix2D;
struct AffineMatrix3D;
- struct Matrix2D;
struct RealPoint2D;
struct RealSize2D;
struct RealRectangle2D;
struct RealRectangle3D;
- struct IntegerPoint2D;
struct IntegerSize2D;
struct IntegerRectangle2D;
struct RealBezierSegment2D;
@@ -48,8 +46,6 @@ namespace com { namespace sun { namespace star { namespace rendering
namespace com { namespace sun { namespace star { namespace awt
{
- struct Point;
- struct Size;
struct Rectangle;
} } } }
@@ -61,9 +57,7 @@ namespace basegfx
class B2DPoint;
class B2DRange;
class B3DRange;
- class B2IBox;
class B2IVector;
- class B2IPoint;
class B2IRange;
class B2DPolygon;
class B2DPolyPolygon;
diff --git a/include/basegfx/utils/gradienttools.hxx b/include/basegfx/utils/gradienttools.hxx
index 6c754d4ed686..5714fc1802f1 100644
--- a/include/basegfx/utils/gradienttools.hxx
+++ b/include/basegfx/utils/gradienttools.hxx
@@ -21,14 +21,11 @@
#define INCLUDED_BASEGFX_UTILS_GRADIENTTOOLS_HXX
#include <basegfx/point/b2dpoint.hxx>
-#include <basegfx/range/b2drange.hxx>
#include <basegfx/vector/b2dvector.hxx>
#include <basegfx/matrix/b2dhommatrix.hxx>
-#include <basegfx/numeric/ftools.hxx>
#include <basegfx/basegfxdllapi.h>
-#include <vector>
-#include <algorithm>
+namespace basegfx { class B2DRange; }
namespace basegfx
{
diff --git a/include/basegfx/utils/keystoplerp.hxx b/include/basegfx/utils/keystoplerp.hxx
index 57f0b0fe2579..551e31bcf65a 100644
--- a/include/basegfx/utils/keystoplerp.hxx
+++ b/include/basegfx/utils/keystoplerp.hxx
@@ -20,7 +20,6 @@
#ifndef INCLUDED_BASEGFX_UTILS_KEYSTOPLERP_HXX
#define INCLUDED_BASEGFX_UTILS_KEYSTOPLERP_HXX
-#include <basegfx/numeric/ftools.hxx>
#include <vector>
#include <basegfx/basegfxdllapi.h>
diff --git a/include/basegfx/utils/lerp.hxx b/include/basegfx/utils/lerp.hxx
index 8dd3ca50435f..3e1c272128f1 100644
--- a/include/basegfx/utils/lerp.hxx
+++ b/include/basegfx/utils/lerp.hxx
@@ -20,8 +20,6 @@
#ifndef INCLUDED_BASEGFX_UTILS_LERP_HXX
#define INCLUDED_BASEGFX_UTILS_LERP_HXX
-#include <sal/types.h>
-
namespace basegfx
{
namespace utils
diff --git a/include/basegfx/utils/zoomtools.hxx b/include/basegfx/utils/zoomtools.hxx
index 533f25883e75..b8a72551589a 100644
--- a/include/basegfx/utils/zoomtools.hxx
+++ b/include/basegfx/utils/zoomtools.hxx
@@ -10,7 +10,6 @@
#ifndef INCLUDED_BASEGFX_UTILS_ZOOMTOOLS_HXX
#define INCLUDED_BASEGFX_UTILS_ZOOMTOOLS_HXX
-#include <sal/types.h>
#include <basegfx/basegfxdllapi.h>
diff --git a/include/basegfx/vector/b2enums.hxx b/include/basegfx/vector/b2enums.hxx
index 2253d21cca9e..3793e6844b84 100644
--- a/include/basegfx/vector/b2enums.hxx
+++ b/include/basegfx/vector/b2enums.hxx
@@ -20,8 +20,6 @@
#ifndef INCLUDED_BASEGFX_VECTOR_B2ENUMS_HXX
#define INCLUDED_BASEGFX_VECTOR_B2ENUMS_HXX
-#include <sal/types.h>
-
namespace basegfx
{
/** Descriptor for the mathematical orientations of two 2D Vectors
diff --git a/include/basegfx/vector/b2ivector.hxx b/include/basegfx/vector/b2ivector.hxx
index fab0e8cd3eac..df7c651ef57a 100644
--- a/include/basegfx/vector/b2ivector.hxx
+++ b/include/basegfx/vector/b2ivector.hxx
@@ -23,7 +23,6 @@
#include <ostream>
#include <basegfx/tuple/b2ituple.hxx>
-#include <basegfx/vector/b2enums.hxx>
#include <basegfx/basegfxdllapi.h>
namespace basegfx