diff options
author | Justin Luth <justin.luth@collabora.com> | 2024-11-27 11:26:47 -0500 |
---|---|---|
committer | Justin Luth <justin.luth@collabora.com> | 2024-11-28 02:35:47 +0100 |
commit | 2310b7c8541a66fc4cbd243ca550cdc42e271cb3 (patch) | |
tree | a29e799cfe327094f8bfff8007b88aa065c06ea2 /sc/inc/subtotalparam.hxx | |
parent | ec958b578bd01071b4a6061f57007df6fec93aee (diff) |
tdf#126533 vml gradient export: fix radial color swapping
This fixes my 24.8 regression 6dd6891a3deed8718bf2b0fcf564f229f676f8ba
related tdf#126533 tdf#159824 VML: don't export: negative angles
So far I really haven't touched radial gradient code,
but the above patch swapped the colors around for linear/axials,
and (while the import for radials is probably wrong)
that also changed round-tripped radials - swapping colors each time.
Note that on the unit test, the initial focus is 100,
so on the first import the colors are NOT swapped.
But since we don't write a focus, re-imports will start swapping.
See FillModel::pushToPropMap in oox/source/vml/vmlformatting.cxx
make CppunitTest_sw_ooxmlexport21 \
CPPUNIT_TEST_NAME=testTdf126533_pageGradient
Change-Id: I469fe7fba520e338df90e2eb0d8bdf96709d2ecc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177452
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
Diffstat (limited to 'sc/inc/subtotalparam.hxx')
0 files changed, 0 insertions, 0 deletions