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

Stephan Bergmann sbergman at redhat.com
Tue Apr 26 13:37:04 UTC 2016


 comphelper/source/property/propagg.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f3c120ec2278591d9304fa0249fbd40121e727c2
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Apr 26 15:36:38 2016 +0200

    loplugin:simplifybool
    
    Change-Id: Ie3662271f57df724329cb5fa52881479890277f9

diff --git a/comphelper/source/property/propagg.cxx b/comphelper/source/property/propagg.cxx
index 8f774b0..ed91935 100644
--- a/comphelper/source/property/propagg.cxx
+++ b/comphelper/source/property/propagg.cxx
@@ -80,7 +80,7 @@ OPropertyArrayAggregationHelper::OPropertyArrayAggregationHelper(
     for( auto &delegateProp: _rProperties )
     {
         const auto inserted = aDelegatorProps.insert( delegateProp.Name );
-        OSL_ENSURE( inserted.second == true,
+        OSL_ENSURE( inserted.second,
             "OPropertyArrayAggregationHelper::OPropertyArrayAggregationHelper: duplicate delegatee property!" );
     }
 


More information about the Libreoffice-commits mailing list