diff options
-rw-r--r-- | vcl/source/app/session.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/source/app/session.cxx b/vcl/source/app/session.cxx index 9c0f30b84fbb..8f1ab9e9f8a3 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; |