summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-07-18 13:35:15 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-07-18 15:36:15 +0100
commitdfd1ff2164bf8f0317a0549fe3b67899233c6b17 (patch)
tree4e4e53b015feac7dfa3907c899a9944b834b05ea /oox
parente2669d7ee66b59c63114a94875b39d5c1e26d132 (diff)
coverity#1226484 Using invalid iterator
Change-Id: I30e4d365fb2a851ea8d81e9f45a6f4d0bf6d7ec7
Diffstat (limited to 'oox')
-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());