diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2015-02-22 22:04:04 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2015-02-22 22:04:04 +0100 |
commit | d14a7d01408c85f32b110ada61b94ab8deb9f655 (patch) | |
tree | b4284076bc624f406a53933892adaae5282f8658 /dbaccess | |
parent | 4cc958ec34c390e9b8c0ac9b000a8448f0c4bfc4 (diff) |
Simplify erase iterator management (ContentHelper)
Change-Id: I5a5953e38054ab53fef03be36e3fb5f4e2ff3526
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/core/dataaccess/ContentHelper.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/dbaccess/source/core/dataaccess/ContentHelper.cxx b/dbaccess/source/core/dataaccess/ContentHelper.cxx index 7bca406280e4..beb7632fd096 100644 --- a/dbaccess/source/core/dataaccess/ContentHelper.cxx +++ b/dbaccess/source/core/dataaccess/ContentHelper.cxx @@ -542,14 +542,12 @@ void OContentHelper::notifyPropertiesChange( const Sequence< PropertyChangeEvent PropertyEventSequence* pSeq = (*it).second; // Remove current element. - aListeners.erase( it ); + it = aListeners.erase( it ); // Propagate event. pListener->propertiesChange( *pSeq ); delete pSeq; - - it = aListeners.begin(); } } } |