[Libreoffice-commits] core.git: vcl/source
Julien Nabet
serval2412 at yahoo.fr
Sun Aug 25 11:04:58 PDT 2013
vcl/source/app/session.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 21fbeebc8e9cd264e42e76022607851391ce3868
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sun Aug 25 20:04:11 2013 +0200
Simplify iterator management
Change-Id: Ib1aaafe82c0a316d3a047a00940f65a818993321
diff --git a/vcl/source/app/session.cxx b/vcl/source/app/session.cxx
index 9c0f30b..8f1ab9e 100644
--- a/vcl/source/app/session.cxx
+++ b/vcl/source/app/session.cxx
@@ -249,8 +249,7 @@ void SAL_CALL VCLSession::removeSessionManagerListener( const css::uno::Referenc
{
if( it->m_xListener == xListener )
{
- m_aListeners.erase( it );
- it = m_aListeners.begin();
+ it = m_aListeners.erase(it);
}
else
++it;
More information about the Libreoffice-commits
mailing list