cppcanvas/qa/unit/test.cxx | 2 -- cppcanvas/source/inc/implrenderer.hxx | 4 +--- cppcanvas/source/mtfrenderer/bitmapaction.cxx | 3 +-- cppcanvas/source/mtfrenderer/bitmapaction.hxx | 2 +- cppcanvas/source/mtfrenderer/implrenderer.cxx | 1 - cppcanvas/source/mtfrenderer/polypolyaction.cxx | 1 - cppcanvas/source/mtfrenderer/textaction.hxx | 1 + cppcanvas/source/mtfrenderer/transparencygroupaction.cxx | 2 +- cppcanvas/source/tools/canvasgraphichelper.cxx | 1 - cppcanvas/source/wrapper/implspritecanvas.hxx | 1 - 10 files changed, 5 insertions(+), 13 deletions(-)
New commits: commit 66ffc2417b0074f9f805ef16024c35132d0b12c6 Author: Gabor Kelemen <[email protected]> AuthorDate: Thu Aug 7 12:01:42 2025 +0200 Commit: Gabor Kelemen <[email protected]> CommitDate: Tue Aug 19 09:48:00 2025 +0200 tdf#146619 Run IWYU on cppcanvas/ Change-Id: Ie98b497409e394ac13176d4e1ea8753278698fd7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/189791 Reviewed-by: Gabor Kelemen <[email protected]> Tested-by: Jenkins diff --git a/cppcanvas/qa/unit/test.cxx b/cppcanvas/qa/unit/test.cxx index 33b43ddc6359..ca836170ff36 100644 --- a/cppcanvas/qa/unit/test.cxx +++ b/cppcanvas/qa/unit/test.cxx @@ -7,8 +7,6 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include <config_cairo_canvas.h> - #include <sal/config.h> #include <vcl/wrkwin.hxx> diff --git a/cppcanvas/source/inc/implrenderer.hxx b/cppcanvas/source/inc/implrenderer.hxx index 1f367280598f..41c029fa5d79 100644 --- a/cppcanvas/source/inc/implrenderer.hxx +++ b/cppcanvas/source/inc/implrenderer.hxx @@ -24,6 +24,7 @@ #include <sal/types.h> #include <tools/stream.hxx> #include <utility> +#include <vcl/kernarray.hxx> #include <vcl/metaactiontypes.hxx> #include <cppcanvas/renderer.hxx> #include <cppcanvas/canvas.hxx> @@ -45,7 +46,6 @@ namespace tools { class Rectangle; } namespace vcl { class Font; } namespace tools { class PolyPolygon; } class Point; -class MetaCommentAction; namespace basegfx { class B2DPolyPolygon; @@ -54,9 +54,7 @@ namespace basegfx { namespace cppcanvas::internal { - struct OutDevState; struct ActionFactoryParameters; - struct XForm; // state stack of OutputDevice, to correctly handle // push/pop actions diff --git a/cppcanvas/source/mtfrenderer/bitmapaction.cxx b/cppcanvas/source/mtfrenderer/bitmapaction.cxx index e205dd35fa10..cfd54d3cb5f7 100644 --- a/cppcanvas/source/mtfrenderer/bitmapaction.cxx +++ b/cppcanvas/source/mtfrenderer/bitmapaction.cxx @@ -20,8 +20,7 @@ #include <com/sun/star/rendering/XBitmap.hpp> #include <com/sun/star/rendering/XCanvas.hpp> -#include <com/sun/star/rendering/XCachedPrimitive.hpp> -#include <vcl/bitmapex.hxx> +#include <vcl/bitmap.hxx> #include <tools/gen.hxx> #include <vcl/canvastools.hxx> #include <canvas/canvastools.hxx> diff --git a/cppcanvas/source/mtfrenderer/bitmapaction.hxx b/cppcanvas/source/mtfrenderer/bitmapaction.hxx index d88686f59d09..154bc6229ff7 100644 --- a/cppcanvas/source/mtfrenderer/bitmapaction.hxx +++ b/cppcanvas/source/mtfrenderer/bitmapaction.hxx @@ -26,7 +26,7 @@ namespace basegfx { class B2DPoint; class B2DVector; } -class BitmapEx; +class Bitmap; /* Definition of internal::BitmapActionFactory */ diff --git a/cppcanvas/source/mtfrenderer/implrenderer.cxx b/cppcanvas/source/mtfrenderer/implrenderer.cxx index bdedd4633a15..e3d0178d429d 100644 --- a/cppcanvas/source/mtfrenderer/implrenderer.cxx +++ b/cppcanvas/source/mtfrenderer/implrenderer.cxx @@ -43,7 +43,6 @@ #include <basegfx/vector/b2dsize.hxx> #include <basegfx/range/b2drectangle.hxx> #include <basegfx/point/b2dpoint.hxx> -#include <basegfx/tuple/b2dtuple.hxx> #include <basegfx/polygon/b2dpolygonclipper.hxx> #include <canvas/canvastools.hxx> #include <rtl/ustrbuf.hxx> diff --git a/cppcanvas/source/mtfrenderer/polypolyaction.cxx b/cppcanvas/source/mtfrenderer/polypolyaction.cxx index 6f4fce09e99d..4def0791cff0 100644 --- a/cppcanvas/source/mtfrenderer/polypolyaction.cxx +++ b/cppcanvas/source/mtfrenderer/polypolyaction.cxx @@ -26,7 +26,6 @@ #include <basegfx/utils/canvastools.hxx> #include <basegfx/polygon/b2dpolypolygon.hxx> #include <basegfx/polygon/b2dpolypolygontools.hxx> -#include <basegfx/matrix/b2dhommatrix.hxx> #include <canvas/canvastools.hxx> #include <osl/diagnose.h> #include <sal/log.hxx> diff --git a/cppcanvas/source/mtfrenderer/textaction.hxx b/cppcanvas/source/mtfrenderer/textaction.hxx index 9f7349caccc9..28db0c3efb2f 100644 --- a/cppcanvas/source/mtfrenderer/textaction.hxx +++ b/cppcanvas/source/mtfrenderer/textaction.hxx @@ -26,6 +26,7 @@ #include <action.hxx> #include <cppcanvas/canvas.hxx> #include <cppcanvas/renderer.hxx> +#include <vcl/kernarray.hxx> class VirtualDevice; class Point; diff --git a/cppcanvas/source/mtfrenderer/transparencygroupaction.cxx b/cppcanvas/source/mtfrenderer/transparencygroupaction.cxx index 9eea8f610a29..394cb2167da6 100644 --- a/cppcanvas/source/mtfrenderer/transparencygroupaction.cxx +++ b/cppcanvas/source/mtfrenderer/transparencygroupaction.cxx @@ -30,7 +30,7 @@ #include <com/sun/star/rendering/XCanvas.hpp> #include <vcl/metaact.hxx> -#include <vcl/bitmapex.hxx> +//#include <vcl/bitmapex.hxx> #include <vcl/svapp.hxx> #include <vcl/virdev.hxx> #include <vcl/gdimtf.hxx> diff --git a/cppcanvas/source/tools/canvasgraphichelper.cxx b/cppcanvas/source/tools/canvasgraphichelper.cxx index 491c743f5216..a4c363b9f759 100644 --- a/cppcanvas/source/tools/canvasgraphichelper.cxx +++ b/cppcanvas/source/tools/canvasgraphichelper.cxx @@ -24,7 +24,6 @@ #include <canvas/canvastools.hxx> #include <basegfx/utils/canvastools.hxx> -#include <basegfx/matrix/b2dhommatrix.hxx> #include <osl/diagnose.h> #include <utility> diff --git a/cppcanvas/source/wrapper/implspritecanvas.hxx b/cppcanvas/source/wrapper/implspritecanvas.hxx index efad546624e4..c69c914c7fde 100644 --- a/cppcanvas/source/wrapper/implspritecanvas.hxx +++ b/cppcanvas/source/wrapper/implspritecanvas.hxx @@ -20,7 +20,6 @@ #pragma once #include <com/sun/star/rendering/XSpriteCanvas.hpp> -#include <basegfx/vector/b2dsize.hxx> #include <basegfx/matrix/b2dhommatrix.hxx> #include <cppcanvas/spritecanvas.hxx> #include "implcanvas.hxx"
