Kaydet (Commit) eba6a678 authored tarafından David Tardon's avatar David Tardon

fdo#33852 do not remove too much from the path

Change-Id: I1cf89f300530e761df5a287097d05f95d8af2017
üst 85a8c136
...@@ -2128,7 +2128,10 @@ void AnimationImporter::importAnimateMotionContainer( const Atom* pAtom, const R ...@@ -2128,7 +2128,10 @@ void AnimationImporter::importAnimateMotionContainer( const Atom* pAtom, const R
OUString aStr; OUString aStr;
if ( aPath >>= aStr ) if ( aPath >>= aStr )
{ {
aStr = aStr.replace( 'E', ' ' ); // E can appear inside a number, so we only check for its presence at the end
aStr = aStr.trim();
if (aStr.endsWith("E"))
aStr = aStr.copy(0, aStr.getLength() - 1);
aStr = aStr.trim(); aStr = aStr.trim();
aPath <<= aStr; aPath <<= aStr;
xMotion->setPath( aPath ); xMotion->setPath( aPath );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment