diff options
Diffstat (limited to 'include/comphelper/property.hxx')
-rw-r--r-- | include/comphelper/property.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/comphelper/property.hxx b/include/comphelper/property.hxx index a4171fdb4db9..f22cd4a44492 100644 --- a/include/comphelper/property.hxx +++ b/include/comphelper/property.hxx @@ -125,9 +125,9 @@ tryPropertyValueEnum(css::uno::Any& /*out*/_rConvertedValue, css::uno::Any& /*ou inline bool tryPropertyValue(css::uno::Any& /*out*/_rConvertedValue, css::uno::Any& /*out*/_rOldValue, const css::uno::Any& _rValueToSet, bool _bCurrentValue) { bool bModified(false); - sal_Bool bNewValue(false); + bool bNewValue(false); ::cppu::convertPropertyValue(bNewValue, _rValueToSet); - if (bool(bNewValue) != _bCurrentValue) + if (bNewValue != _bCurrentValue) { _rConvertedValue <<= bNewValue; _rOldValue <<= _bCurrentValue; |