[Libreoffice-commits] core.git: dbaccess/source
Julien Nabet
serval2412 at yahoo.fr
Sun Feb 22 13:04:36 PST 2015
dbaccess/source/core/dataaccess/ContentHelper.cxx | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
New commits:
commit d14a7d01408c85f32b110ada61b94ab8deb9f655
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sun Feb 22 22:04:04 2015 +0100
Simplify erase iterator management (ContentHelper)
Change-Id: I5a5953e38054ab53fef03be36e3fb5f4e2ff3526
diff --git a/dbaccess/source/core/dataaccess/ContentHelper.cxx b/dbaccess/source/core/dataaccess/ContentHelper.cxx
index 7bca406..beb7632 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();
}
}
}
More information about the Libreoffice-commits
mailing list