diff options
author | Noel Grandin <noel@peralex.com> | 2014-09-28 07:51:19 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-09-30 11:47:41 +0200 |
commit | c9d4a2887c13a5df244022276dd79a5bef8af0ea (patch) | |
tree | fb849270affd5fca01fa26094c89595d18c6f588 /reportdesign | |
parent | d17d4d48b5dc3332fd03f6ef186ed2bda4665e7c (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 'reportdesign')
-rw-r--r-- | reportdesign/source/ui/report/EndMarker.cxx | 2 | ||||
-rw-r--r-- | reportdesign/source/ui/report/StartMarker.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/reportdesign/source/ui/report/EndMarker.cxx b/reportdesign/source/ui/report/EndMarker.cxx index 0621f61cb08b..d9dc4cf7c891 100644 --- a/reportdesign/source/ui/report/EndMarker.cxx +++ b/reportdesign/source/ui/report/EndMarker.cxx @@ -52,7 +52,7 @@ void OEndMarker::Paint( const Rectangle& /*rRect*/ ) Size aSize = GetSizePixel(); aSize.Width() += nCornerSpace; Rectangle aWholeRect(Point(-nCornerSpace,0),aSize); - PolyPolygon aPoly; + tools::PolyPolygon aPoly; aPoly.Insert(Polygon(aWholeRect,nCornerSpace,nCornerSpace)); Color aStartColor(m_nColor); diff --git a/reportdesign/source/ui/report/StartMarker.cxx b/reportdesign/source/ui/report/StartMarker.cxx index d8034501b9a7..a1a3f30944d2 100644 --- a/reportdesign/source/ui/report/StartMarker.cxx +++ b/reportdesign/source/ui/report/StartMarker.cxx @@ -116,7 +116,7 @@ void OStartMarker::Paint( const Rectangle& rRect ) Rectangle aWholeRect(Point(),aSize); { const ColorChanger aColors( this, m_nTextBoundaries, m_nColor ); - PolyPolygon aPoly; + tools::PolyPolygon aPoly; aPoly.Insert(Polygon(aWholeRect,nCornerWidth,nCornerWidth)); Color aStartColor(m_nColor); |