summaryrefslogtreecommitdiff
path: root/cppcanvas/source/inc
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2019-10-31 02:26:36 +0100
committerMiklos Vajna <vmiklos@collabora.com>2019-10-31 11:29:44 +0100
commit977c9933535f62c729f2111e0734f8bd2263377b (patch)
tree822f8a045eb4f2e98206fe4a9f37f5a7f8d3d6a8 /cppcanvas/source/inc
parent0630427ef44901127423576f3aa8ef7f87d11ef9 (diff)
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 <vmiklos@collabora.com>
Diffstat (limited to 'cppcanvas/source/inc')
-rw-r--r--cppcanvas/source/inc/action.hxx1
-rw-r--r--cppcanvas/source/inc/implrenderer.hxx6
-rw-r--r--cppcanvas/source/inc/outdevstate.hxx7
3 files changed, 4 insertions, 10 deletions
diff --git a/cppcanvas/source/inc/action.hxx b/cppcanvas/source/inc/action.hxx
index ff1ccc8b6949..67e67c5aa4dd 100644
--- a/cppcanvas/source/inc/action.hxx
+++ b/cppcanvas/source/inc/action.hxx
@@ -21,7 +21,6 @@
#define INCLUDED_CPPCANVAS_SOURCE_INC_ACTION_HXX
#include <sal/types.h>
-#include <memory>
namespace basegfx
{
diff --git a/cppcanvas/source/inc/implrenderer.hxx b/cppcanvas/source/inc/implrenderer.hxx
index e02b45d20a1a..c1224a40c212 100644
--- a/cppcanvas/source/inc/implrenderer.hxx
+++ b/cppcanvas/source/inc/implrenderer.hxx
@@ -22,9 +22,9 @@
#include <sal/config.h>
-#include <basegfx/vector/b2dsize.hxx>
#include <sal/types.h>
#include <tools/stream.hxx>
+#include <vcl/metaactiontypes.hxx>
#include <cppcanvas/renderer.hxx>
#include <cppcanvas/canvas.hxx>
@@ -32,12 +32,8 @@
#include "action.hxx"
#include "outdevstate.hxx"
-#include <com/sun/star/rendering/FontRequest.hpp>
-#include <com/sun/star/rendering/StrokeAttributes.hpp>
#include <osl/diagnose.h>
-#include <osl/endian.h>
-#include <map>
#include <memory>
#include <vector>
diff --git a/cppcanvas/source/inc/outdevstate.hxx b/cppcanvas/source/inc/outdevstate.hxx
index 0c24d5f75366..5c1a4c0d9166 100644
--- a/cppcanvas/source/inc/outdevstate.hxx
+++ b/cppcanvas/source/inc/outdevstate.hxx
@@ -23,16 +23,15 @@
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/uno/Sequence.hxx>
-#include <com/sun/star/rendering/StringContext.hpp>
-#include <com/sun/star/rendering/RenderState.hpp>
#include <com/sun/star/rendering/XPolyPolygon2D.hpp>
#include <com/sun/star/rendering/XCanvasFont.hpp>
#include <com/sun/star/rendering/TextDirection.hpp>
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <basegfx/polygon/b2dpolypolygon.hxx>
+#include <tools/fontenum.hxx>
+#include <tools/gen.hxx>
#include <vcl/fntstyle.hxx>
-#include <vcl/vclenum.hxx>
-#include <vcl/outdev.hxx>
+#include <vcl/outdevstate.hxx>
namespace cppcanvas