oox/source/drawingml/fillproperties.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit e7de614279323337b23dfa62aaa336ed6b121f72 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Sat Jan 23 21:18:58 2021 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Sun Jan 24 20:11:40 2021 +0100 cid#1472266 silence Using invalid iterator Change-Id: Ibb2e139d60496925ef96f13b15bae4bfb0bd0c67 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109845 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> 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; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits