From e65da112029bf7b6a3b5d94b72bcd5d6ca225195 Mon Sep 17 00:00:00 2001 From: Mark Hung Date: Sat, 21 Jul 2018 09:22:45 +0800 Subject: tdf#118835 fix missing attribute name conversion. LineColor and LineStyle are missing from the switch-case. Just reuse the conversion list from oox::ppt::getAttributeConversionList(), also reoder the list so that fillcolor is prior than fillColor. Change-Id: Ia78553ad2fc908923da56bc58baf96dbb7d40863 Reviewed-on: https://gerrit.libreoffice.org/57819 Tested-by: Jenkins Reviewed-by: Mark Hung --- oox/source/ppt/pptfilterhelpers.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'oox') diff --git a/oox/source/ppt/pptfilterhelpers.cxx b/oox/source/ppt/pptfilterhelpers.cxx index 3c1ab92fc06d..cc4ebfba1e4c 100644 --- a/oox/source/ppt/pptfilterhelpers.cxx +++ b/oox/source/ppt/pptfilterhelpers.cxx @@ -57,8 +57,8 @@ namespace oox { namespace ppt { { AnimationAttributeEnum::PPT_C, "ppt_c", "DimColor" }, { AnimationAttributeEnum::R, "r", "Rotate" }, { AnimationAttributeEnum::XSHEAR, "xshear", "SkewX" }, - { AnimationAttributeEnum::FILLCOLOR, "fillColor", "FillColor" }, { AnimationAttributeEnum::FILLCOLOR, "fillcolor", "FillColor" }, + { AnimationAttributeEnum::FILLCOLOR, "fillColor", "FillColor" }, { AnimationAttributeEnum::FILLTYPE, "fill.type", "FillStyle" }, { AnimationAttributeEnum::FILLON, "fill.on", "FillOn" }, { AnimationAttributeEnum::STROKECOLOR, "stroke.color", "LineColor" }, -- cgit