diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-01-06 08:23:20 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-01-11 12:50:41 +0000 |
commit | 5e7f23292d8c67a65b86e6273b38e8310431ae20 (patch) | |
tree | e0f2bf892efeb9020c52fb45f7aff96926f71583 /writerfilter | |
parent | 4c3c050f09eab2ef566d0fdd7f88b6684ceee42c (diff) |
tdf#92045 DOCX import: <w:effect w:val="none"/> doesn't mean blinking
Regression from commit eeb8297e47bae11f2aeaa7bae6e51eee921e9e58 (Use
constants for ST_TextEffect values, 2014-09-22), the problem was that
while the tokenizer stopped using hardcoded token values, the matching
dmapper code wasn't adapted.
(cherry picked from commit ac6bfd85df271b650dbd24b45391dac346ecd72c)
Change-Id: Id61912e9c9458efc87e0a6f8e461663942c555f0
Reviewed-on: https://gerrit.libreoffice.org/21343
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'writerfilter')
-rw-r--r-- | writerfilter/source/dmapper/DomainMapper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/writerfilter/source/dmapper/DomainMapper.cxx b/writerfilter/source/dmapper/DomainMapper.cxx index 07350c9aa018..6d7eb17e002d 100644 --- a/writerfilter/source/dmapper/DomainMapper.cxx +++ b/writerfilter/source/dmapper/DomainMapper.cxx @@ -1633,7 +1633,7 @@ void DomainMapper::sprmWithProps( Sprm& rSprm, PropertyMapPtr rContext ) case NS_ooxml::LN_EG_RPrBase_effect: // The file-format has many character animations. We have only // one, so we use it always. Suboptimal solution though. - if (nIntValue) + if (nIntValue != NS_ooxml::LN_Value_ST_TextEffect_none) rContext->Insert(PROP_CHAR_FLASH, uno::makeAny( true )); else rContext->Insert(PROP_CHAR_FLASH, uno::makeAny( false )); |