diff options
Diffstat (limited to 'oox/source/ppt/timenode.cxx')
-rw-r--r-- | oox/source/ppt/timenode.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/oox/source/ppt/timenode.cxx b/oox/source/ppt/timenode.cxx index 09d99e3aa102..f695d7918b96 100644 --- a/oox/source/ppt/timenode.cxx +++ b/oox/source/ppt/timenode.cxx @@ -269,10 +269,11 @@ namespace oox { namespace ppt { { Sequence< NamedValue > aUserDataSeq( static_cast< sal_Int32 >( maUserData.size() ) ); NamedValue* pValues = aUserDataSeq.getArray(); - for( UserDataMap::const_iterator aIt = maUserData.begin(), aEnd = maUserData.end(); aIt != aEnd; ++aIt, ++pValues ) + for (auto const& elem : maUserData) { - pValues->Name = aIt->first; - pValues->Value = aIt->second; + pValues->Name = elem.first; + pValues->Value = elem.second; + ++pValues; } maNodeProperties[ NP_USERDATA ] <<= aUserDataSeq; } |