diff options
author | Gabor Kelemen <kelemen.gabor2@nisz.hu> | 2019-02-26 21:10:25 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-03-05 09:00:22 +0100 |
commit | 4a88213bc5f3c7a49e1704b9954b517f4e1b1d27 (patch) | |
tree | 404a8cf9908dcd7f6a98d30ea2ae68d09944345a /include/cppcanvas | |
parent | 04073c7a7cd5b81d65061eaaf26f27fc97660782 (diff) |
tdf#42949 Fix IWYU warnings in include/cppcanvas/*
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
Change-Id: I8174b6e684b5b46a8abd3ca825b7de75f9255df3
Reviewed-on: https://gerrit.libreoffice.org/68703
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'include/cppcanvas')
-rw-r--r-- | include/cppcanvas/basegfxfactory.hxx | 5 | ||||
-rw-r--r-- | include/cppcanvas/bitmapcanvas.hxx | 2 | ||||
-rw-r--r-- | include/cppcanvas/canvas.hxx | 2 | ||||
-rw-r--r-- | include/cppcanvas/canvasgraphic.hxx | 2 | ||||
-rw-r--r-- | include/cppcanvas/color.hxx | 3 | ||||
-rw-r--r-- | include/cppcanvas/customsprite.hxx | 1 | ||||
-rw-r--r-- | include/cppcanvas/font.hxx | 5 | ||||
-rw-r--r-- | include/cppcanvas/polypolygon.hxx | 7 | ||||
-rw-r--r-- | include/cppcanvas/sprite.hxx | 6 | ||||
-rw-r--r-- | include/cppcanvas/spritecanvas.hxx | 3 | ||||
-rw-r--r-- | include/cppcanvas/vclfactory.hxx | 11 |
11 files changed, 3 insertions, 44 deletions
diff --git a/include/cppcanvas/basegfxfactory.hxx b/include/cppcanvas/basegfxfactory.hxx index 8238b502ffbb..611523066792 100644 --- a/include/cppcanvas/basegfxfactory.hxx +++ b/include/cppcanvas/basegfxfactory.hxx @@ -21,12 +21,8 @@ #define INCLUDED_CPPCANVAS_BASEGFXFACTORY_HXX #include <cppcanvas/canvas.hxx> -#include <cppcanvas/bitmapcanvas.hxx> -#include <cppcanvas/spritecanvas.hxx> #include <cppcanvas/polypolygon.hxx> #include <cppcanvas/bitmap.hxx> -#include <cppcanvas/renderer.hxx> -#include <cppcanvas/sprite.hxx> #include <basegfx/vector/b2isize.hxx> #include <cppcanvas/cppcanvasdllapi.h> @@ -34,7 +30,6 @@ namespace basegfx { class B2DPolygon; - class B2DPolyPolygon; } diff --git a/include/cppcanvas/bitmapcanvas.hxx b/include/cppcanvas/bitmapcanvas.hxx index 1d4775ccd0aa..9c3e7f843934 100644 --- a/include/cppcanvas/bitmapcanvas.hxx +++ b/include/cppcanvas/bitmapcanvas.hxx @@ -20,8 +20,6 @@ #ifndef INCLUDED_CPPCANVAS_BITMAPCANVAS_HXX #define INCLUDED_CPPCANVAS_BITMAPCANVAS_HXX -#include <sal/types.h> -#include <osl/diagnose.h> #include <basegfx/vector/b2isize.hxx> #include <cppcanvas/canvas.hxx> #include <memory> diff --git a/include/cppcanvas/canvas.hxx b/include/cppcanvas/canvas.hxx index c8ae6e8ca7e5..441986cd03b6 100644 --- a/include/cppcanvas/canvas.hxx +++ b/include/cppcanvas/canvas.hxx @@ -21,8 +21,6 @@ #define INCLUDED_CPPCANVAS_CANVAS_HXX #include <com/sun/star/uno/Reference.hxx> -#include <cppcanvas/font.hxx> -#include <cppcanvas/color.hxx> #include <memory> namespace basegfx diff --git a/include/cppcanvas/canvasgraphic.hxx b/include/cppcanvas/canvasgraphic.hxx index 501df5b51749..ebee831f0a3b 100644 --- a/include/cppcanvas/canvasgraphic.hxx +++ b/include/cppcanvas/canvasgraphic.hxx @@ -21,8 +21,6 @@ #define INCLUDED_CPPCANVAS_CANVASGRAPHIC_HXX #include <sal/types.h> -#include <cppcanvas/color.hxx> -#include <cppcanvas/canvas.hxx> #include <memory> namespace basegfx diff --git a/include/cppcanvas/color.hxx b/include/cppcanvas/color.hxx index 2f735e52b638..500e5953e7cc 100644 --- a/include/cppcanvas/color.hxx +++ b/include/cppcanvas/color.hxx @@ -20,8 +20,7 @@ #ifndef INCLUDED_CPPCANVAS_COLOR_HXX #define INCLUDED_CPPCANVAS_COLOR_HXX -#include <com/sun/star/uno/Sequence.hxx> -#include <memory> +#include <sal/types.h> /* Definition of Color class */ diff --git a/include/cppcanvas/customsprite.hxx b/include/cppcanvas/customsprite.hxx index f65943100df5..abbd0c00bb05 100644 --- a/include/cppcanvas/customsprite.hxx +++ b/include/cppcanvas/customsprite.hxx @@ -20,7 +20,6 @@ #ifndef INCLUDED_CPPCANVAS_CUSTOMSPRITE_HXX #define INCLUDED_CPPCANVAS_CUSTOMSPRITE_HXX -#include <sal/types.h> #include <cppcanvas/sprite.hxx> #include <cppcanvas/canvas.hxx> #include <memory> diff --git a/include/cppcanvas/font.hxx b/include/cppcanvas/font.hxx index abcc5b88b686..e52a5778f56f 100644 --- a/include/cppcanvas/font.hxx +++ b/include/cppcanvas/font.hxx @@ -22,11 +22,6 @@ #include <memory> -namespace com { namespace sun { namespace star { namespace rendering -{ - class XCanvasFont; -} } } } - /* Definition of Font class */ namespace cppcanvas diff --git a/include/cppcanvas/polypolygon.hxx b/include/cppcanvas/polypolygon.hxx index 869301652329..058ea25940d4 100644 --- a/include/cppcanvas/polypolygon.hxx +++ b/include/cppcanvas/polypolygon.hxx @@ -22,14 +22,9 @@ #include <com/sun/star/uno/Reference.hxx> #include <cppcanvas/canvasgraphic.hxx> +#include <cppcanvas/color.hxx> #include <memory> -namespace basegfx -{ - class B2DPolygon; - class B2DPolyPolygon; -} - namespace com { namespace sun { namespace star { namespace rendering { class XPolyPolygon2D; diff --git a/include/cppcanvas/sprite.hxx b/include/cppcanvas/sprite.hxx index b52bffd90e83..6135ebb106b6 100644 --- a/include/cppcanvas/sprite.hxx +++ b/include/cppcanvas/sprite.hxx @@ -20,7 +20,6 @@ #ifndef INCLUDED_CPPCANVAS_SPRITE_HXX #define INCLUDED_CPPCANVAS_SPRITE_HXX -#include <com/sun/star/uno/Reference.hxx> #include <memory> namespace basegfx @@ -30,11 +29,6 @@ namespace basegfx class B2DPoint; } -namespace com { namespace sun { namespace star { namespace rendering -{ - class XSprite; -} } } } - /* Definition of Sprite class */ diff --git a/include/cppcanvas/spritecanvas.hxx b/include/cppcanvas/spritecanvas.hxx index fc449dee5a95..abeef3d2b25f 100644 --- a/include/cppcanvas/spritecanvas.hxx +++ b/include/cppcanvas/spritecanvas.hxx @@ -20,11 +20,8 @@ #ifndef INCLUDED_CPPCANVAS_SPRITECANVAS_HXX #define INCLUDED_CPPCANVAS_SPRITECANVAS_HXX -#include <sal/types.h> -#include <osl/diagnose.h> #include <basegfx/vector/b2dsize.hxx> #include <cppcanvas/canvas.hxx> -#include <cppcanvas/sprite.hxx> #include <cppcanvas/customsprite.hxx> #include <memory> diff --git a/include/cppcanvas/vclfactory.hxx b/include/cppcanvas/vclfactory.hxx index 96d33fd1cbdc..b36b66a7ad34 100644 --- a/include/cppcanvas/vclfactory.hxx +++ b/include/cppcanvas/vclfactory.hxx @@ -23,24 +23,15 @@ #include <cppcanvas/canvas.hxx> #include <cppcanvas/bitmapcanvas.hxx> #include <cppcanvas/spritecanvas.hxx> -#include <cppcanvas/polypolygon.hxx> #include <cppcanvas/bitmap.hxx> #include <cppcanvas/renderer.hxx> -#include <cppcanvas/sprite.hxx> #include <cppcanvas/cppcanvasdllapi.h> namespace vcl { class Window; } -class Bitmap; class BitmapEx; -namespace tools { - class Polygon; - class PolyPolygon; -} -class Size; -class Graphic; + class GDIMetaFile; -class Animation; namespace com { namespace sun { namespace star { namespace rendering { |