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.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/comphelper/source/property/ChainablePropertySetInfo.cxx b/comphelper/source/property/ChainablePropertySetInfo.cxx
index aa769539b10b..413651814157 100644
--- a/comphelper/source/property/ChainablePropertySetInfo.cxx
+++ b/comphelper/source/property/ChainablePropertySetInfo.cxx
@@ -84,9 +84,7 @@ Sequence< ::Property > SAL_CALL ChainablePropertySetInfo::getProperties()
maProperties.realloc ( nSize );
Property* pProperties = maProperties.getArray();
- PropertyInfoHash::iterator aIter = maMap.begin();
- const PropertyInfoHash::iterator aEnd = maMap.end();
- for ( ; aIter != aEnd; ++aIter, ++pProperties)
+ for (PropertyInfoHash::const_iterator aIter(maMap.begin()), aEnd(maMap.end()); aIter != aEnd; ++aIter, ++pProperties)
{
PropertyInfo* pInfo = (*aIter).second;