summaryrefslogtreecommitdiff
path: root/xmloff/source/draw/sdpropls.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/draw/sdpropls.cxx')
-rw-r--r--xmloff/source/draw/sdpropls.cxx12
1 files changed, 4 insertions, 8 deletions
diff --git a/xmloff/source/draw/sdpropls.cxx b/xmloff/source/draw/sdpropls.cxx
index b362798246c7..050b2ff3938a 100644
--- a/xmloff/source/draw/sdpropls.cxx
+++ b/xmloff/source/draw/sdpropls.cxx
@@ -1338,11 +1338,9 @@ void XMLShapeExportPropertyMapper::ContextFilter(
XMLPropertyState* pControlWritingMode = nullptr;
// filter properties
- for( std::vector< XMLPropertyState >::iterator aIter = rProperties.begin();
- aIter != rProperties.end();
- ++aIter )
+ for( auto& rProp : rProperties )
{
- XMLPropertyState *property = &(*aIter);
+ XMLPropertyState *property = &rProp;
if( property->mnIndex == -1 )
continue;
@@ -1700,11 +1698,9 @@ void XMLPageExportPropertyMapper::ContextFilter(
sal_Int16 nTransitionType = 0;
// filter properties
- for( std::vector< XMLPropertyState >::iterator aIter = rProperties.begin();
- aIter != rProperties.end();
- ++aIter )
+ for( auto& rProp : rProperties )
{
- XMLPropertyState *property = &(*aIter);
+ XMLPropertyState *property = &rProp;
if( property->mnIndex == -1 )
continue;