diff options
author | Balazs Varga <balazs.varga.extern@allotropia.de> | 2025-04-08 10:58:34 +0200 |
---|---|---|
committer | Balazs Varga <balazs.varga.extern@allotropia.de> | 2025-04-10 12:43:35 +0200 |
commit | 65439ab2c4fc87e7cc115710a605e9f35dfb39d8 (patch) | |
tree | 2305fe9dccf6c60dd7a42d8ea1bf9586564d7cef /oox/source/drawingml | |
parent | 91fb11d1b2b817ff35faeeca62bd633a05f9d130 (diff) |
tdf#154858 - FILEOPEN PPTX: fix Radial gradient in shape imported as
a Linear gradient
XML_circle gradients should be always imported as GradientStyle_RADIAL.
Regression from: 898e4ae1364e76af8be22183ac64d73b6a6d8d90
Change-Id: I8166a2afd3dadce61c742eeb0a55a0c8a8b9ada6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183836
Tested-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de>
Tested-by: Jenkins
Reviewed-by: Balazs Varga <balazs.varga.extern@allotropia.de>
Diffstat (limited to 'oox/source/drawingml')
-rw-r--r-- | oox/source/drawingml/fillproperties.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/drawingml/fillproperties.cxx b/oox/source/drawingml/fillproperties.cxx index b75dfed5aac8..a3a1957ca187 100644 --- a/oox/source/drawingml/fillproperties.cxx +++ b/oox/source/drawingml/fillproperties.cxx @@ -525,8 +525,8 @@ void FillProperties::pushToPropMap(ShapePropertyMap& rPropMap, const GraphicHelp aGradient.SetAngle( Degree10(1350) ); else if( 0 == aGradient.GetXOffset() && 0 == aGradient.GetYOffset() ) aGradient.SetAngle( Degree10(2250) ); - else - aGradient.SetGradientStyle(awt::GradientStyle_RADIAL); + + aGradient.SetGradientStyle(awt::GradientStyle_RADIAL); } else { |