summaryrefslogtreecommitdiff
path: root/comphelper/source/property/ChainablePropertySetInfo.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'comphelper/source/property/ChainablePropertySetInfo.cxx')
-rw-r--r--comphelper/source/property/ChainablePropertySetInfo.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/comphelper/source/property/ChainablePropertySetInfo.cxx b/comphelper/source/property/ChainablePropertySetInfo.cxx
index 10b4d5fda622..4515e5c4314b 100644
--- a/comphelper/source/property/ChainablePropertySetInfo.cxx
+++ b/comphelper/source/property/ChainablePropertySetInfo.cxx
@@ -31,7 +31,7 @@ ChainablePropertySetInfo::ChainablePropertySetInfo( PropertyInfo const * pMap )
for( ; !pMap->maName.isEmpty(); ++pMap )
{
SAL_WARN_IF(
- maMap.find(pMap->maName) != maMap.end(),
+ maMap.contains(pMap->maName),
"comphelper", "Duplicate property name \"" << pMap->maName << "\"");
maMap[pMap->maName] = pMap;
}