summaryrefslogtreecommitdiffstats
path: root/include/vcl/gdimtf.hxx
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2015-08-16 16:45:12 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2015-08-17 02:07:43 +0000
commitef46917ff3163d3fdd5152bda5d16c4503b6ab69 (patch)
tree73271cd339b19964bc91157207565595774e98b5 /include/vcl/gdimtf.hxx
parentFix GTK3 right-to-left rendering (diff)
downloadcore-ef46917ff3163d3fdd5152bda5d16c4503b6ab69.tar.gz
core-ef46917ff3163d3fdd5152bda5d16c4503b6ab69.zip
Put Polygon from tools under tools:: namespace
Polygon is one of these names that Clash with some system objects A similar work has been done earlier with PolyPolygon. Change-Id: Icf2217cb2906292b7275760f1a16be0e150312f5 Reviewed-on: https://gerrit.libreoffice.org/17789 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'include/vcl/gdimtf.hxx')
-rw-r--r--include/vcl/gdimtf.hxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/vcl/gdimtf.hxx b/include/vcl/gdimtf.hxx
index 4a50b6514c81..197d795fa122 100644
--- a/include/vcl/gdimtf.hxx
+++ b/include/vcl/gdimtf.hxx
@@ -34,8 +34,10 @@ class MetaCommentAction;
class SvStream;
class Color;
class BitmapEx;
-class Polygon;
-namespace tools { class PolyPolygon; }
+namespace tools {
+ class Polygon;
+ class PolyPolygon;
+}
class Gradient;
@@ -93,7 +95,7 @@ private:
SAL_DLLPRIVATE Point ImplGetRotatedPoint( const Point& rPt, const Point& rRotatePt,
const Size& rOffset, double fSin, double fCos );
- SAL_DLLPRIVATE Polygon ImplGetRotatedPolygon( const Polygon& rPoly, const Point& rRotatePt,
+ SAL_DLLPRIVATE tools::Polygon ImplGetRotatedPolygon( const tools::Polygon& rPoly, const Point& rRotatePt,
const Size& rOffset, double fSin, double fCos );
SAL_DLLPRIVATE tools::PolyPolygon ImplGetRotatedPolyPolygon( const tools::PolyPolygon& rPoly, const Point& rRotatePt,
const Size& rOffset, double fSin, double fCos );