summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthb <thb@openoffice.org>2010-01-18 20:50:28 +0100
committerthb <thb@openoffice.org>2010-01-18 20:50:28 +0100
commitd0427d82613f5ce881b86098fce3c8a1b1bbdfdc (patch)
treebfe1e2c144419f3e2df0b99d75243bcb5f27cdaa
parent4338fe5d7d67224771e2f1dae26d281b63c50595 (diff)
#i10000# buildbots fretted out another breakage - no axial grads
-rw-r--r--canvas/source/tools/image.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/canvas/source/tools/image.cxx b/canvas/source/tools/image.cxx
index 49d1e7daa672..59f7cec04f9d 100644
--- a/canvas/source/tools/image.cxx
+++ b/canvas/source/tools/image.cxx
@@ -1515,7 +1515,7 @@ void Image::fillGradientImpl( const ParametricPolyPolygon::Values& rValues,
typedef color_generator_adaptor<color_type> color_generator_type;
unsigned int dwNumSteps = static_cast<unsigned int>(rBounds.getWidth());
color_generator_type colors(color1,color2,dwNumSteps);
- colors.set_linear(rValues.meType != ParametricPolyPolygon::GRADIENT_AXIAL);
+ colors.set_linear(true);
// color = f(x,y)
gradient_polymorphic_wrapper<agg::gradient_x> gf_x;