[Libreoffice-commits] core.git: include/comphelper

Stephan Bergmann sbergman at redhat.com
Mon Sep 5 15:56:05 UTC 2016


 include/comphelper/property.hxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 4e933ea84ec97ab5c4a353995c4c1ce7cdf54ea3
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Sep 5 17:55:36 2016 +0200

    sal_Bool -> bool
    
    Change-Id: I0d491db88b181de63fcfb2e45a02571f272b6bfe

diff --git a/include/comphelper/property.hxx b/include/comphelper/property.hxx
index a4171fd..f22cd4a 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;


More information about the Libreoffice-commits mailing list