diff options
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/core/ucbstore.cxx | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/ucb/source/core/ucbstore.cxx b/ucb/source/core/ucbstore.cxx index 62e154b9553c..6c2cbeaad3c8 100644 --- a/ucb/source/core/ucbstore.cxx +++ b/ucb/source/core/ucbstore.cxx @@ -1890,8 +1890,7 @@ void SAL_CALL PersistentPropertySet::setPropertyValues( { const PropertyValue* pNewValues = aProps.getConstArray(); - typedef std::list< PropertyChangeEvent > Events; - Events aEvents; + std::vector< PropertyChangeEvent > aEvents; OUString aFullPropNamePrefix( getFullKey() ); aFullPropNamePrefix += "/"; @@ -1980,13 +1979,9 @@ void SAL_CALL PersistentPropertySet::setPropertyValues( if ( m_pImpl->m_pPropertyChangeListeners ) { // Notify property changes. - Events::const_iterator it = aEvents.begin(); - Events::const_iterator end = aEvents.end(); - - while ( it != end ) + for (auto const& event : aEvents) { - notifyPropertyChangeEvent( *it ); - ++it; + notifyPropertyChangeEvent( event ); } } |