diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2017-09-12 13:26:35 +0200 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2017-09-18 15:42:12 +0200 |
commit | 89879b0051529cb8d16da6c8b4b1203679f8f734 (patch) | |
tree | 46fa6ec9fe412a94813bc07d6344c15bd5135db2 /oox/inc | |
parent | 0f3b52bc2c289dd5684b6661bf335e9aa92d48db (diff) |
tdf#112088 gradient stop map -> multimap
When two gradientstops were set to position 50%
only one was stored and the exported file was
detected as broken by MSO.
Change-Id: I5fd1acde6051f734a5f3e4cff9bde01b675e1984
Reviewed-on: https://gerrit.libreoffice.org/42210
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'oox/inc')
-rw-r--r-- | oox/inc/drawingml/fillproperties.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/inc/drawingml/fillproperties.hxx b/oox/inc/drawingml/fillproperties.hxx index 15b503161440..affd8e1602eb 100644 --- a/oox/inc/drawingml/fillproperties.hxx +++ b/oox/inc/drawingml/fillproperties.hxx @@ -48,7 +48,7 @@ class ShapePropertyMap; struct GradientFillProperties { - typedef ::std::map< double, Color > GradientStopMap; + typedef ::std::multimap< double, Color > GradientStopMap; GradientStopMap maGradientStops; /// Gradient stops (colors/transparence). OptValue< css::geometry::IntegerRectangle2D > moFillToRect; |