diff options
Diffstat (limited to 'oox/source')
-rw-r--r-- | oox/source/vml/vmlformatting.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/vml/vmlformatting.cxx b/oox/source/vml/vmlformatting.cxx index 267d8e5b5082..25caa60a9666 100644 --- a/oox/source/vml/vmlformatting.cxx +++ b/oox/source/vml/vmlformatting.cxx @@ -740,7 +740,7 @@ void FillModel::pushToPropMap( ShapePropertyMap& rPropMap, const GraphicHelper& gradient. BUT: For angles >= 180 deg., the behaviour is reversed. This means that in this case a focus of 0% swaps the gradient. */ - if( ((fFocus < -0.75) || (fFocus > 0.75)) == (nVmlAngle < 180) ) + if( fFocus < -0.5 || fFocus > 0.5 ) (nVmlAngle += 180) %= 360; // set the start and stop colors aFillProps.maGradientProps.maGradientStops[ 0.0 ] = aColor1; |