summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-09-28 07:51:19 +0200
committerNoel Grandin <noel@peralex.com>2014-09-30 11:47:41 +0200
commitc9d4a2887c13a5df244022276dd79a5bef8af0ea (patch)
treefb849270affd5fca01fa26094c89595d18c6f588 /svtools
parentd17d4d48b5dc3332fd03f6ef186ed2bda4665e7c (diff)
fdo#82577: Handle PolyPolygon
Put the TOOLS PolyPolygon class in the tools namespace. Avoids clash with the Windows PolyPolygon typedef. Change-Id: I811ecbb3d55ba4ce66e4555a8586f60fcd57fb66
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/graphic/grfmgr.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/svtools/source/graphic/grfmgr.cxx b/svtools/source/graphic/grfmgr.cxx
index 08aaf18995a9..8a6497eab841 100644
--- a/svtools/source/graphic/grfmgr.cxx
+++ b/svtools/source/graphic/grfmgr.cxx
@@ -267,7 +267,7 @@ void GraphicObject::ImplAutoSwapIn()
}
bool GraphicObject::ImplGetCropParams( OutputDevice* pOut, Point& rPt, Size& rSz, const GraphicAttr* pAttr,
- PolyPolygon& rClipPolyPoly, bool& bRectClipRegion ) const
+ tools::PolyPolygon& rClipPolyPoly, bool& bRectClipRegion ) const
{
bool bRet = false;
@@ -525,7 +525,7 @@ bool GraphicObject::IsCached( OutputDevice* pOut, const Point& rPt, const Size&
Size aSz( rSz );
if ( pAttr && pAttr->IsCropped() )
{
- PolyPolygon aClipPolyPoly;
+ tools::PolyPolygon aClipPolyPoly;
bool bRectClip;
ImplGetCropParams( pOut, aPt, aSz, pAttr, aClipPolyPoly, bRectClip );
}
@@ -578,7 +578,7 @@ bool GraphicObject::Draw( OutputDevice* pOut, const Point& rPt, const Size& rSz,
if( bCropped )
{
- PolyPolygon aClipPolyPoly;
+ tools::PolyPolygon aClipPolyPoly;
bool bRectClip;
const bool bCrop = ImplGetCropParams( pOut, aPt, aSz, &aAttr, aClipPolyPoly, bRectClip );
@@ -650,7 +650,7 @@ bool GraphicObject::DrawWithPDFHandling( OutputDevice& rOutDev,
if( aGrfAttr.IsCropped() )
{
- PolyPolygon aClipPolyPoly;
+ tools::PolyPolygon aClipPolyPoly;
bool bRectClip;
const bool bCrop = ImplGetCropParams( &rOutDev,
aPt, aSz,
@@ -723,7 +723,7 @@ bool GraphicObject::StartAnimation( OutputDevice* pOut, const Point& rPt, const
if( bCropped )
{
- PolyPolygon aClipPolyPoly;
+ tools::PolyPolygon aClipPolyPoly;
bool bRectClip;
const bool bCrop = ImplGetCropParams( pOut, aPt, aSz, &aAttr, aClipPolyPoly, bRectClip );