diff options
Diffstat (limited to 'xmloff/source/text/txtimppr.cxx')
-rw-r--r-- | xmloff/source/text/txtimppr.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/xmloff/source/text/txtimppr.cxx b/xmloff/source/text/txtimppr.cxx index ee16204c39c2..25fa8ffb03f7 100644 --- a/xmloff/source/text/txtimppr.cxx +++ b/xmloff/source/text/txtimppr.cxx @@ -417,11 +417,9 @@ void XMLTextImportPropertyMapper::finished( XMLPropertyState* pFillStyle(nullptr); XMLPropertyState* pFillColor(nullptr); - for( ::std::vector< XMLPropertyState >::iterator aIter = rProperties.begin(); - aIter != rProperties.end(); - ++aIter ) + for( auto& rProperty : rProperties ) { - XMLPropertyState* property = &(*aIter); + XMLPropertyState* property = &rProperty; if( -1 == property->mnIndex ) continue; |