summaryrefslogtreecommitdiff
path: root/vcl/inc
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/inc
parente35ef2502974c74f85c89a9dbc93b1137defcf48 (diff)
Reduce scope of #include <tools/poly.hxx>
Change-Id: I0d64393c029d27c8e6f3b6d360d2509dad16d860
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/openglgdiimpl.hxx7
-rw-r--r--vcl/inc/regband.hxx2
2 files changed, 7 insertions, 2 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>
/*