diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-11-27 17:06:34 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-11-27 17:14:23 +0100 |
commit | e521a803c914e0d3718ae795976948aabbb9c76c (patch) | |
tree | 11731c265a77ed51c90f3c9d91270e0a051fae11 | |
parent | a66090955f9e05905417660fc14e91b352f304d2 (diff) |
FontControlModel::convertFastPropertyValue: fix bad cast of Kerning
Casting sal_Bool to integer lets the comparison always fail.
Change-Id: I33cf9e9b6a65f81166870bdfe32e9a97101501df
-rw-r--r-- | forms/source/component/formcontrolfont.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/component/formcontrolfont.cxx b/forms/source/component/formcontrolfont.cxx index cd351e5b88a2..5745802f008f 100644 --- a/forms/source/component/formcontrolfont.cxx +++ b/forms/source/component/formcontrolfont.cxx @@ -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: |