Kaydet (Commit) e521a803 authored tarafından Michael Stahl's avatar Michael Stahl

FontControlModel::convertFastPropertyValue: fix bad cast of Kerning

Casting sal_Bool to integer lets the comparison always fail.

Change-Id: I33cf9e9b6a65f81166870bdfe32e9a97101501df
üst a6609095
......@@ -301,7 +301,7 @@ namespace frm
break;
case PROPERTY_ID_FONT_KERNING:
bModified = tryPropertyValue( _rConvertedValue, _rOldValue, _rValue, (sal_Int16)m_aFont.Kerning );
bModified = tryPropertyValue( _rConvertedValue, _rOldValue, _rValue, m_aFont.Kerning );
break;
case PROPERTY_ID_FONT_ORIENTATION:
......
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