diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-10-05 22:18:20 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-10-15 09:42:30 +0200 |
commit | b93769c666d84509223b67aca614ef6d1655a9dd (patch) | |
tree | d2d86658e03d834400d4be77df6dcbe260a2d889 /include/basegfx/polygon | |
parent | 49c87270f7176312806d1759967c247a312f0acf (diff) |
tdf#42949 Fix IWYU warnings in include/basegfx/*
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
Change-Id: Ifd59a5d93cfe7dc232891a681002014cd825035a
Reviewed-on: https://gerrit.libreoffice.org/61546
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'include/basegfx/polygon')
-rw-r--r-- | include/basegfx/polygon/b2dlinegeometry.hxx | 1 | ||||
-rw-r--r-- | include/basegfx/polygon/b2dpolygon.hxx | 6 | ||||
-rw-r--r-- | include/basegfx/polygon/b2dpolygontools.hxx | 3 | ||||
-rw-r--r-- | include/basegfx/polygon/b2dpolygontriangulator.hxx | 6 | ||||
-rw-r--r-- | include/basegfx/polygon/b2dpolypolygontools.hxx | 5 | ||||
-rw-r--r-- | include/basegfx/polygon/b2dtrapezoid.hxx | 4 | ||||
-rw-r--r-- | include/basegfx/polygon/b3dpolygon.hxx | 1 | ||||
-rw-r--r-- | include/basegfx/polygon/b3dpolygontools.hxx | 4 | ||||
-rw-r--r-- | include/basegfx/polygon/b3dpolypolygontools.hxx | 6 |
9 files changed, 18 insertions, 18 deletions
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 |