diff options
author | Jan Holesovsky <kendy@suse.cz> | 2012-06-11 16:41:34 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-06-17 17:06:36 +0200 |
commit | 8806e00dbc14b55cff6072f0f6dcf90e0a11a079 (patch) | |
tree | e5fc0f2b640fab71fc38601830a1c0ae2636addf /canvas | |
parent | 70ed7beae7b21e391df0a246078c2103f8b3fe3a (diff) |
Get rid of GRADIENT_* defines, they conflict with Windows GDI types.
Change-Id: Ia0bc37f81b7213b20fc5093beb46d7a05b1ac931
Signed-off-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
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: |