diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2020-11-24 15:04:24 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2020-11-25 15:50:41 +0100 |
commit | 21d36af1fd3037f1f425dd8303b50b8848d729ce (patch) | |
tree | 6e66aecddd3dbd344ddc4c6ae3f6d5e3e771c3c4 /xmloff/source | |
parent | ee2cc952eeb5385ee37485c822d7ad7abd8fb989 (diff) |
save properly fadecolor also for fadeovercolor (tdf#138353)
As far as I can tell .odp spec doesn't recognize 'fadeovercolor'
as a subtype of 'fade' (it's an LO extension?). But it's already
saved by LO if used, so save the color properly as well. Reading
it already works too.
Change-Id: I30e464123f17d513fd0eaa32797f06e76a91d532
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106505
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'xmloff/source')
-rw-r--r-- | xmloff/source/draw/animationexport.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xmloff/source/draw/animationexport.cxx b/xmloff/source/draw/animationexport.cxx index 92238ebf71e0..0c750a3130a2 100644 --- a/xmloff/source/draw/animationexport.cxx +++ b/xmloff/source/draw/animationexport.cxx @@ -605,7 +605,9 @@ void AnimationsExporterImpl::exportTransitionNode() if( !bDirection ) mxExport->AddAttribute( XML_NAMESPACE_SMIL, XML_DIRECTION, XML_REVERSE ); - if( (nTransition == TransitionType::FADE) && ((nSubtype == TransitionSubType::FADETOCOLOR) || (nSubtype == TransitionSubType::FADEFROMCOLOR) )) + if( (nTransition == TransitionType::FADE) + && ((nSubtype == TransitionSubType::FADETOCOLOR) || (nSubtype == TransitionSubType::FADEFROMCOLOR) + || (nSubtype == TransitionSubType::FADEOVERCOLOR))) { ::sax::Converter::convertColor( sTmp, nFadeColor ); mxExport->AddAttribute( XML_NAMESPACE_SMIL, XML_FADECOLOR, sTmp.makeStringAndClear() ); |