Kaydet (Commit) 19abfaff authored tarafından Muthu Subramanian's avatar Muthu Subramanian

n#862510: Ignore baseline attributes with zero.

Change-Id: I1adc46e62c82c23645ccad0e11d5a7cb07114539
üst d5f0d266
...@@ -53,7 +53,7 @@ TextCharacterPropertiesContext::TextCharacterPropertiesContext( ...@@ -53,7 +53,7 @@ TextCharacterPropertiesContext::TextCharacterPropertiesContext(
mrTextCharacterProperties.moUnderline = rAttribs.getToken( XML_u ); mrTextCharacterProperties.moUnderline = rAttribs.getToken( XML_u );
if ( rAttribs.hasAttribute( XML_strike ) ) if ( rAttribs.hasAttribute( XML_strike ) )
mrTextCharacterProperties.moStrikeout = rAttribs.getToken( 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 ); mrTextCharacterProperties.moBaseline = rAttribs.getInteger( XML_baseline );
if ( rAttribs.hasAttribute( XML_b ) ) if ( rAttribs.hasAttribute( XML_b ) )
......
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