summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2015-11-05 11:41:37 +0100
committerMatteo Casalin <matteo.casalin@yahoo.com>2015-11-05 20:32:47 +0100
commit48a3359070db7ffbf25b5e4c0cf1840a4673ca3c (patch)
tree1bfee8bfc330e6cb86b13537aa11c0c7788eaf04 /vcl
parente35ef2502974c74f85c89a9dbc93b1137defcf48 (diff)
Reduce scope of #include <tools/poly.hxx>
Change-Id: I0d64393c029d27c8e6f3b6d360d2509dad16d860
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/openglgdiimpl.hxx7
-rw-r--r--vcl/inc/regband.hxx2
-rw-r--r--vcl/source/gdi/impvect.hxx3
-rw-r--r--vcl/source/gdi/region.cxx1
4 files changed, 10 insertions, 3 deletions
diff --git a/vcl/inc/openglgdiimpl.hxx b/vcl/inc/openglgdiimpl.hxx
index 6e82b872abad..917cf01d82ed 100644
--- a/vcl/inc/openglgdiimpl.hxx
+++ b/vcl/inc/openglgdiimpl.hxx
@@ -29,7 +29,6 @@
#include "opengl/texture.hxx"
#include "regionband.hxx"
-#include <tools/poly.hxx>
#include <vcl/opengl/OpenGLContext.hxx>
class SalFrame;
@@ -41,6 +40,12 @@ namespace basegfx
class B2DTrapezoid;
};
+namespace tools
+{
+ class Polygon;
+ class PolyPolygon;
+}
+
struct TextureCombo
{
std::unique_ptr<OpenGLTexture> mpTexture;
diff --git a/vcl/inc/regband.hxx b/vcl/inc/regband.hxx
index 690888291598..205626ab2e70 100644
--- a/vcl/inc/regband.hxx
+++ b/vcl/inc/regband.hxx
@@ -20,7 +20,7 @@
#ifndef INCLUDED_VCL_INC_REGBAND_HXX
#define INCLUDED_VCL_INC_REGBAND_HXX
-#include <tools/poly.hxx>
+#include <sal/types.h>
/*
diff --git a/vcl/source/gdi/impvect.hxx b/vcl/source/gdi/impvect.hxx
index 235b6f52a5b8..7ad02ea1bffa 100644
--- a/vcl/source/gdi/impvect.hxx
+++ b/vcl/source/gdi/impvect.hxx
@@ -20,9 +20,10 @@
#ifndef INCLUDED_VCL_SOURCE_GDI_IMPVECT_HXX
#define INCLUDED_VCL_SOURCE_GDI_IMPVECT_HXX
-#include <tools/poly.hxx>
#include <vcl/gdimtf.hxx>
+namespace tools { class PolyPolygon; }
+
// - Vectorizer -
namespace ImplVectorizer
{
diff --git a/vcl/source/gdi/region.cxx b/vcl/source/gdi/region.cxx
index 4dc3c04db943..243c53033c24 100644
--- a/vcl/source/gdi/region.cxx
+++ b/vcl/source/gdi/region.cxx
@@ -32,6 +32,7 @@
#include <basegfx/polygon/b2dpolypolygoncutter.hxx>
#include <basegfx/range/b2drange.hxx>
#include <basegfx/matrix/b2dhommatrixtools.hxx>
+#include <tools/poly.hxx>
namespace
{