diff options
author | Jan Holesovsky <kendy@suse.cz> | 2012-06-11 16:41:34 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2012-06-12 16:31:43 +0200 |
commit | 6d78c490b0923c22d125286ebdae2e41edd28f6c (patch) | |
tree | 911ec6d9b8ab876db06e296a2e2517da797d8d30 /canvas | |
parent | 99ced0bdaedeedd13de73a66e159f45cada6e3b4 (diff) |
Get rid of GRADIENT_* defines, they conflict with Windows GDI types.
Change-Id: Ia0bc37f81b7213b20fc5093beb46d7a05b1ac931
Diffstat (limited to 'canvas')
-rw-r--r-- | canvas/source/cairo/cairo_canvashelper.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/canvas/source/cairo/cairo_canvashelper.cxx b/canvas/source/cairo/cairo_canvashelper.cxx index b75efda876fc..924e6f8eb4c4 100644 --- a/canvas/source/cairo/cairo_canvashelper.cxx +++ b/canvas/source/cairo/cairo_canvashelper.cxx @@ -711,10 +711,6 @@ namespace cairocanvas const ::canvas::ParametricPolyPolygon::Values aValues = rPolygon.getValues(); double x0, x1, y0, y1, cx, cy, r0, r1; -// undef macros from vclenum.hxx which conflicts with GradientType enum values -#undef GRADIENT_LINEAR -#undef GRADIENT_ELLIPTICAL - switch( aValues.meType ) { case ::canvas::ParametricPolyPolygon::GRADIENT_LINEAR: |