diff options
author | Muthu Subramanian <sumuthu@collabora.com> | 2014-03-14 15:31:53 +0530 |
---|---|---|
committer | Muthu Subramanian <sumuthu@collabora.com> | 2014-03-14 19:55:46 +0530 |
commit | 19abfaffe74b925e4428943d14187a7008797982 (patch) | |
tree | 7c821072fa6d81f4654d3761486718c0c0ced966 /oox | |
parent | d5f0d2667412f79c2c5e5fe9f73891a865d14247 (diff) |
n#862510: Ignore baseline attributes with zero.
Change-Id: I1adc46e62c82c23645ccad0e11d5a7cb07114539
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/drawingml/textcharacterpropertiescontext.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/drawingml/textcharacterpropertiescontext.cxx b/oox/source/drawingml/textcharacterpropertiescontext.cxx index b432c80a6acf..5bb800c542bc 100644 --- a/oox/source/drawingml/textcharacterpropertiescontext.cxx +++ b/oox/source/drawingml/textcharacterpropertiescontext.cxx @@ -53,7 +53,7 @@ TextCharacterPropertiesContext::TextCharacterPropertiesContext( mrTextCharacterProperties.moUnderline = rAttribs.getToken( XML_u ); if ( rAttribs.hasAttribute( XML_strike ) ) mrTextCharacterProperties.moStrikeout = rAttribs.getToken( XML_strike ); - if ( rAttribs.hasAttribute( XML_baseline ) ) + if ( rAttribs.hasAttribute( XML_baseline ) && rAttribs.getInteger( XML_baseline ).get() != 0 ) mrTextCharacterProperties.moBaseline = rAttribs.getInteger( XML_baseline ); if ( rAttribs.hasAttribute( XML_b ) ) |