diff options
author | Marco Cecchetti <marco.cecchetti@collabora.com> | 2015-11-24 14:44:19 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2015-11-29 10:54:26 +0100 |
commit | 761afa1b2e4e21b62065a39818c3acd7200e68b1 (patch) | |
tree | 68a0d54e63a5a29af03cf1c20ce3a2399c252a33 /filter | |
parent | ca282c75eee5f8328813e9bdf2843678234022a3 (diff) |
svg-export: text animation didn't work - fixed
That was due to 2 problems:
- The namespace for an animation attribute was wrong
- For debug build the bullet placeholder is not the first child
Change-Id: If10c362f6fcffd4a05164cc5ca3ff6cacf5c28c1
Reviewed-on: https://gerrit.libreoffice.org/20238
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
(cherry picked from commit 1b26e2ef0a97ded5cc812664ef8455251468e847)
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/svg/presentation_engine.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/source/svg/presentation_engine.js b/filter/source/svg/presentation_engine.js index 50908afbd447..569a562c94f8 100644 --- a/filter/source/svg/presentation_engine.js +++ b/filter/source/svg/presentation_engine.js @@ -5638,7 +5638,7 @@ AnimationBaseNode.prototype.parseElement = function() } // sub-item attribute for text animated element - var sSubItemAttr = aAnimElem.getAttributeNS( NSS['smil'], 'sub-item' ); + var sSubItemAttr = aAnimElem.getAttributeNS( NSS['anim'], 'sub-item' ); this.bIsTargetTextElement = ( sSubItemAttr && ( sSubItemAttr === 'text' ) ); // additive attribute @@ -9185,7 +9185,7 @@ function AnimatedTextElement( aElement, aEventMultiplexer ) var aBulletCharGroupElem = getElementByClassName( aTextShapeGroup, 'BulletChars' ); if( aBulletCharGroupElem ) { - var aBulletPlaceholderElem = getElementByClassName( aElement.firstElementChild, 'BulletPlaceholder' ); + var aBulletPlaceholderElem = getElementByClassName( aElement, 'BulletPlaceholder' ); if( aBulletPlaceholderElem ) { var sId = aBulletPlaceholderElem.getAttribute( 'id' ); |