summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-26 15:36:38 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-26 15:36:38 +0200
commitf3c120ec2278591d9304fa0249fbd40121e727c2 (patch)
tree8ebf03b98377bbeab9df336f979252ca4ad22ed7 /comphelper
parentf9ade68d8d432a5e771e9674284f454c0f4c250d (diff)
loplugin:simplifybool
Change-Id: Ie3662271f57df724329cb5fa52881479890277f9
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/source/property/propagg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/comphelper/source/property/propagg.cxx b/comphelper/source/property/propagg.cxx
index 8f774b05600f..ed91935a65b5 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!" );
}