summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--oox/source/drawingml/fillproperties.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/oox/source/drawingml/fillproperties.cxx b/oox/source/drawingml/fillproperties.cxx
index 837578ebc807..597e89da8eb8 100644
--- a/oox/source/drawingml/fillproperties.cxx
+++ b/oox/source/drawingml/fillproperties.cxx
@@ -584,6 +584,8 @@ void FillProperties::pushToPropMap( ShapePropertyMap& rPropMap,
aWidestSegmentEnd = it;
}
+ assert(aWidestSegmentEnd != aGradientStops.end());
+
if( bSymmetric )
{
aStartColor = aWidestSegmentEnd->second;