From 977c9933535f62c729f2111e0734f8bd2263377b Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Thu, 31 Oct 2019 02:26:36 +0100 Subject: tdf#42949 Fix IWYU warnings in cppcanvas/ Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I3e6b35acf6266157d4cf634e2143e6e19a73102a Reviewed-on: https://gerrit.libreoffice.org/81813 Tested-by: Jenkins Reviewed-by: Miklos Vajna --- cppcanvas/source/wrapper/basegfxfactory.cxx | 10 ---------- cppcanvas/source/wrapper/implbitmap.cxx | 3 +-- cppcanvas/source/wrapper/implbitmap.hxx | 1 - cppcanvas/source/wrapper/implbitmapcanvas.cxx | 3 --- cppcanvas/source/wrapper/implbitmapcanvas.hxx | 1 - cppcanvas/source/wrapper/implcanvas.cxx | 2 -- cppcanvas/source/wrapper/implcanvas.hxx | 1 + cppcanvas/source/wrapper/implcustomsprite.cxx | 1 - cppcanvas/source/wrapper/implcustomsprite.hxx | 1 - cppcanvas/source/wrapper/implpolypolygon.cxx | 3 --- cppcanvas/source/wrapper/implpolypolygon.hxx | 1 - cppcanvas/source/wrapper/implsprite.cxx | 3 --- cppcanvas/source/wrapper/implspritecanvas.cxx | 2 -- cppcanvas/source/wrapper/vclfactory.cxx | 7 ------- 14 files changed, 2 insertions(+), 37 deletions(-) (limited to 'cppcanvas/source/wrapper') diff --git a/cppcanvas/source/wrapper/basegfxfactory.cxx b/cppcanvas/source/wrapper/basegfxfactory.cxx index f3b3babbbc0f..30410e75c66f 100644 --- a/cppcanvas/source/wrapper/basegfxfactory.cxx +++ b/cppcanvas/source/wrapper/basegfxfactory.cxx @@ -18,24 +18,14 @@ */ -#include -#include #include -#include - #include -#include #include #include -#include -#include #include -#include - -#include #include "implpolypolygon.hxx" #include "implbitmap.hxx" diff --git a/cppcanvas/source/wrapper/implbitmap.cxx b/cppcanvas/source/wrapper/implbitmap.cxx index adab03b81c1a..80d827de7105 100644 --- a/cppcanvas/source/wrapper/implbitmap.cxx +++ b/cppcanvas/source/wrapper/implbitmap.cxx @@ -21,8 +21,7 @@ #include "implbitmap.hxx" #include "implbitmapcanvas.hxx" -#include -#include +#include using namespace ::com::sun::star; diff --git a/cppcanvas/source/wrapper/implbitmap.hxx b/cppcanvas/source/wrapper/implbitmap.hxx index 349e13a8188d..aa8677501dab 100644 --- a/cppcanvas/source/wrapper/implbitmap.hxx +++ b/cppcanvas/source/wrapper/implbitmap.hxx @@ -22,7 +22,6 @@ #include #include -#include #include #include diff --git a/cppcanvas/source/wrapper/implbitmapcanvas.cxx b/cppcanvas/source/wrapper/implbitmapcanvas.cxx index 67ca17a6e3c4..506af5d1f198 100644 --- a/cppcanvas/source/wrapper/implbitmapcanvas.cxx +++ b/cppcanvas/source/wrapper/implbitmapcanvas.cxx @@ -19,10 +19,7 @@ #include -#include -#include -#include #include #include diff --git a/cppcanvas/source/wrapper/implbitmapcanvas.hxx b/cppcanvas/source/wrapper/implbitmapcanvas.hxx index 628be99d0b38..afac7b9a8a65 100644 --- a/cppcanvas/source/wrapper/implbitmapcanvas.hxx +++ b/cppcanvas/source/wrapper/implbitmapcanvas.hxx @@ -22,7 +22,6 @@ #include #include -#include #include #include "implcanvas.hxx" diff --git a/cppcanvas/source/wrapper/implcanvas.cxx b/cppcanvas/source/wrapper/implcanvas.cxx index d5adeb5a0257..102902b71a14 100644 --- a/cppcanvas/source/wrapper/implcanvas.cxx +++ b/cppcanvas/source/wrapper/implcanvas.cxx @@ -18,7 +18,6 @@ */ -#include #include #include #include @@ -26,7 +25,6 @@ #include #include -#include #include "implcanvas.hxx" diff --git a/cppcanvas/source/wrapper/implcanvas.hxx b/cppcanvas/source/wrapper/implcanvas.hxx index 2f8da62e4f0e..e509e999678b 100644 --- a/cppcanvas/source/wrapper/implcanvas.hxx +++ b/cppcanvas/source/wrapper/implcanvas.hxx @@ -25,6 +25,7 @@ #include #include +#include namespace basegfx diff --git a/cppcanvas/source/wrapper/implcustomsprite.cxx b/cppcanvas/source/wrapper/implcustomsprite.cxx index 9aa56211474c..5d19a9e9987b 100644 --- a/cppcanvas/source/wrapper/implcustomsprite.cxx +++ b/cppcanvas/source/wrapper/implcustomsprite.cxx @@ -18,7 +18,6 @@ */ -#include #include #include "implcustomsprite.hxx" diff --git a/cppcanvas/source/wrapper/implcustomsprite.hxx b/cppcanvas/source/wrapper/implcustomsprite.hxx index f8964a3f4763..0235e0a43803 100644 --- a/cppcanvas/source/wrapper/implcustomsprite.hxx +++ b/cppcanvas/source/wrapper/implcustomsprite.hxx @@ -20,7 +20,6 @@ #ifndef INCLUDED_CPPCANVAS_SOURCE_WRAPPER_IMPLCUSTOMSPRITE_HXX #define INCLUDED_CPPCANVAS_SOURCE_WRAPPER_IMPLCUSTOMSPRITE_HXX -#include #include #include #include "implsprite.hxx" diff --git a/cppcanvas/source/wrapper/implpolypolygon.cxx b/cppcanvas/source/wrapper/implpolypolygon.cxx index 755d87022529..d333d46a59d1 100644 --- a/cppcanvas/source/wrapper/implpolypolygon.cxx +++ b/cppcanvas/source/wrapper/implpolypolygon.cxx @@ -25,9 +25,6 @@ #include #include -#include -#include - #include "implpolypolygon.hxx" #include diff --git a/cppcanvas/source/wrapper/implpolypolygon.hxx b/cppcanvas/source/wrapper/implpolypolygon.hxx index d6747cdd5374..e19b63c5797a 100644 --- a/cppcanvas/source/wrapper/implpolypolygon.hxx +++ b/cppcanvas/source/wrapper/implpolypolygon.hxx @@ -22,7 +22,6 @@ #include #include -#include #include #include diff --git a/cppcanvas/source/wrapper/implsprite.cxx b/cppcanvas/source/wrapper/implsprite.cxx index aaff60db40ca..12a4a13e3b88 100644 --- a/cppcanvas/source/wrapper/implsprite.cxx +++ b/cppcanvas/source/wrapper/implsprite.cxx @@ -18,9 +18,6 @@ */ -#include -#include - #include #include #include diff --git a/cppcanvas/source/wrapper/implspritecanvas.cxx b/cppcanvas/source/wrapper/implspritecanvas.cxx index d9b6ee7075fc..6d42cf70f76f 100644 --- a/cppcanvas/source/wrapper/implspritecanvas.cxx +++ b/cppcanvas/source/wrapper/implspritecanvas.cxx @@ -19,8 +19,6 @@ #include #include -#include -#include #include #include "implspritecanvas.hxx" diff --git a/cppcanvas/source/wrapper/vclfactory.cxx b/cppcanvas/source/wrapper/vclfactory.cxx index 3cf795fe0c42..4fe30f4324b2 100644 --- a/cppcanvas/source/wrapper/vclfactory.cxx +++ b/cppcanvas/source/wrapper/vclfactory.cxx @@ -17,23 +17,16 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include -#include #include -#include #include -#include #include -#include #include #include "implbitmapcanvas.hxx" #include "implspritecanvas.hxx" -#include "implpolypolygon.hxx" #include "implbitmap.hxx" #include -#include "implsprite.hxx" using namespace ::com::sun::star; -- cgit