diff --git a/oox/source/helper/propertymap.cxx b/oox/source/helper/propertymap.cxx index 2a311ddc9826..b8f5ca9a939f 100644 --- a/oox/source/helper/propertymap.cxx +++ b/oox/source/helper/propertymap.cxx @@ -183,7 +183,7 @@ PropertyMap::PropertyMap() : bool PropertyMap::hasProperty( sal_Int32 nPropId ) const { - return maProperties.find( nPropId ) != maProperties.end(); + return maProperties.contains(nPropId); } bool PropertyMap::setAnyProperty( sal_Int32 nPropId, const Any& rValue )