summaryrefslogtreecommitdiff
path: root/oox/source/drawingml/fillproperties.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'oox/source/drawingml/fillproperties.cxx')
-rw-r--r--oox/source/drawingml/fillproperties.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/drawingml/fillproperties.cxx b/oox/source/drawingml/fillproperties.cxx
index 4a7227f9b96e..fb02bdac0a2d 100644
--- a/oox/source/drawingml/fillproperties.cxx
+++ b/oox/source/drawingml/fillproperties.cxx
@@ -503,7 +503,7 @@ void FillProperties::pushToPropMap( ShapePropertyMap& rPropMap,
nShapeRotation = 180*60000 - nShapeRotation;
}
- aGradientStops.erase( aWidestSegmentStart );
+ aGradientStops.erase( aWidestSegmentStart++ );
// Look for which is widest now
aIt = boost::next(aGradientStops.begin());