summaryrefslogtreecommitdiff
path: root/oox/inc
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2017-09-12 13:26:35 +0200
committerSzymon Kłos <szymon.klos@collabora.com>2017-09-18 15:42:12 +0200
commit89879b0051529cb8d16da6c8b4b1203679f8f734 (patch)
tree46fa6ec9fe412a94813bc07d6344c15bd5135db2 /oox/inc
parent0f3b52bc2c289dd5684b6661bf335e9aa92d48db (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.hxx2
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;