Reduce scope of #include <tools/poly.hxx>

Change-Id: I0d64393c029d27c8e6f3b6d360d2509dad16d860
This commit is contained in:
Matteo Casalin
2015-11-05 11:41:37 +01:00
parent e35ef25029
commit 48a3359070
10 changed files with 21 additions and 9 deletions

View File

@@ -19,7 +19,6 @@
#ifndef INCLUDED_CHART2_SOURCE_INC_COMMONCONVERTERS_HXX #ifndef INCLUDED_CHART2_SOURCE_INC_COMMONCONVERTERS_HXX
#define INCLUDED_CHART2_SOURCE_INC_COMMONCONVERTERS_HXX #define INCLUDED_CHART2_SOURCE_INC_COMMONCONVERTERS_HXX
#include <tools/poly.hxx>
#include <com/sun/star/awt/Point.hpp> #include <com/sun/star/awt/Point.hpp>
#include <com/sun/star/awt/Rectangle.hpp> #include <com/sun/star/awt/Rectangle.hpp>
#include <com/sun/star/awt/Size.hpp> #include <com/sun/star/awt/Size.hpp>

View File

@@ -25,7 +25,6 @@
#include <action.hxx> #include <action.hxx>
#include <cppcanvas/canvas.hxx> #include <cppcanvas/canvas.hxx>
#include <cppcanvas/renderer.hxx> #include <cppcanvas/renderer.hxx>
#include <tools/poly.hxx>
class VirtualDevice; class VirtualDevice;
class Point; class Point;

View File

@@ -24,6 +24,7 @@
#include <drawinglayer/primitive2d/textlayoutdevice.hxx> #include <drawinglayer/primitive2d/textlayoutdevice.hxx>
#include <comphelper/processfactory.hxx> #include <comphelper/processfactory.hxx>
#include <comphelper/unique_disposing_ptr.hxx> #include <comphelper/unique_disposing_ptr.hxx>
#include <tools/gen.hxx>
#include <vcl/timer.hxx> #include <vcl/timer.hxx>
#include <vcl/virdev.hxx> #include <vcl/virdev.hxx>
#include <vcl/font.hxx> #include <vcl/font.hxx>

View File

@@ -29,7 +29,6 @@
#include <vcl/vclptr.hxx> #include <vcl/vclptr.hxx>
#include <unotools/tempfile.hxx> #include <unotools/tempfile.hxx>
#include <tools/color.hxx> #include <tools/color.hxx>
#include <tools/poly.hxx>
#include <tools/gen.hxx> #include <tools/gen.hxx>
#include <tools/stream.hxx> #include <tools/stream.hxx>
#include <basegfx/matrix/b2dhommatrix.hxx> #include <basegfx/matrix/b2dhommatrix.hxx>
@@ -41,12 +40,16 @@
class GDIMetaFile; class GDIMetaFile;
class BitmapEx; class BitmapEx;
namespace tools { class PolyPolygon; }
class Gradient; class Gradient;
class SvtGraphicFill; class SvtGraphicFill;
class SvtGraphicStroke; class SvtGraphicStroke;
class LineInfo; class LineInfo;
namespace basegfx { class B2DPolygon; } namespace basegfx { class B2DPolygon; }
namespace tools
{
class Polygon;
class PolyPolygon;
}
inline sal_uInt16 _uInt16( sal_Int32 nValue ) inline sal_uInt16 _uInt16( sal_Int32 nValue )
{ {

View File

@@ -22,7 +22,6 @@
#include <drawinglayer/drawinglayerdllapi.h> #include <drawinglayer/drawinglayerdllapi.h>
#include <tools/poly.hxx>
#include <basegfx/range/b2drange.hxx> #include <basegfx/range/b2drange.hxx>
#include <vector> #include <vector>
#include <com/sun/star/lang/Locale.hpp> #include <com/sun/star/lang/Locale.hpp>
@@ -36,6 +35,7 @@ namespace rtl {
}; };
class OutputDevice; class OutputDevice;
class GDIMetaFile; class GDIMetaFile;
class Rectangle;
enum class DrawTextFlags; enum class DrawTextFlags;
namespace drawinglayer { namespace attribute { namespace drawinglayer { namespace attribute {
class FontAttribute; class FontAttribute;

View File

@@ -26,7 +26,6 @@
#include <com/sun/star/awt/FontDescriptor.hpp> #include <com/sun/star/awt/FontDescriptor.hpp>
#include <com/sun/star/awt/Gradient.hpp> #include <com/sun/star/awt/Gradient.hpp>
#include <com/sun/star/uno/XReference.hpp> #include <com/sun/star/uno/XReference.hpp>
#include <tools/poly.hxx>
#include <filter/msfilter/escherex.hxx> #include <filter/msfilter/escherex.hxx>
#include "oox/drawingml/drawingmltypes.hxx" #include "oox/drawingml/drawingmltypes.hxx"
#include <oox/token/tokens.hxx> #include <oox/token/tokens.hxx>
@@ -60,6 +59,10 @@ namespace io {
class OutlinerParaObject; class OutlinerParaObject;
namespace tools {
class PolyPolygon;
}
namespace oox { namespace oox {
namespace core { namespace core {
class XmlFilterBase; class XmlFilterBase;

View File

@@ -29,7 +29,6 @@
#include "opengl/texture.hxx" #include "opengl/texture.hxx"
#include "regionband.hxx" #include "regionband.hxx"
#include <tools/poly.hxx>
#include <vcl/opengl/OpenGLContext.hxx> #include <vcl/opengl/OpenGLContext.hxx>
class SalFrame; class SalFrame;
@@ -41,6 +40,12 @@ namespace basegfx
class B2DTrapezoid; class B2DTrapezoid;
}; };
namespace tools
{
class Polygon;
class PolyPolygon;
}
struct TextureCombo struct TextureCombo
{ {
std::unique_ptr<OpenGLTexture> mpTexture; std::unique_ptr<OpenGLTexture> mpTexture;

View File

@@ -20,7 +20,7 @@
#ifndef INCLUDED_VCL_INC_REGBAND_HXX #ifndef INCLUDED_VCL_INC_REGBAND_HXX
#define INCLUDED_VCL_INC_REGBAND_HXX #define INCLUDED_VCL_INC_REGBAND_HXX
#include <tools/poly.hxx> #include <sal/types.h>
/* /*

View File

@@ -20,9 +20,10 @@
#ifndef INCLUDED_VCL_SOURCE_GDI_IMPVECT_HXX #ifndef INCLUDED_VCL_SOURCE_GDI_IMPVECT_HXX
#define INCLUDED_VCL_SOURCE_GDI_IMPVECT_HXX #define INCLUDED_VCL_SOURCE_GDI_IMPVECT_HXX
#include <tools/poly.hxx>
#include <vcl/gdimtf.hxx> #include <vcl/gdimtf.hxx>
namespace tools { class PolyPolygon; }
// - Vectorizer - // - Vectorizer -
namespace ImplVectorizer namespace ImplVectorizer
{ {

View File

@@ -32,6 +32,7 @@
#include <basegfx/polygon/b2dpolypolygoncutter.hxx> #include <basegfx/polygon/b2dpolypolygoncutter.hxx>
#include <basegfx/range/b2drange.hxx> #include <basegfx/range/b2drange.hxx>
#include <basegfx/matrix/b2dhommatrixtools.hxx> #include <basegfx/matrix/b2dhommatrixtools.hxx>
#include <tools/poly.hxx>
namespace namespace
{ {