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

rhbz#1017379 do not remove too much from the path

Change-Id: Ibffa7f2fbe91be9b95217ce36999e286ef444a37
üst 0c0ed057
......@@ -785,7 +785,10 @@ namespace oox { namespace ppt {
}
OUString aStr = xAttribs->getOptionalValue( XML_path );
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();
pNode->getNodeProperties()[ NP_PATH ] = makeAny(aStr);
mnPathEditMode = xAttribs->getOptionalValueToken( XML_pathEditMode, 0 );
......
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