diff options
author | Philipp Lohmann [pl] <Philipp.Lohmann@Sun.COM> | 2010-01-05 13:56:08 +0100 |
---|---|---|
committer | Philipp Lohmann [pl] <Philipp.Lohmann@Sun.COM> | 2010-01-05 13:56:08 +0100 |
commit | 33e343aba54517201820c54ad01a9cf410d1d3c3 (patch) | |
tree | f01dc9fe9b92cdd245c64aaf231341596f894e65 /vcl/source/app | |
parent | 8a82c9892f39d69d77937f4691c90a079a059bdf (diff) |
vcl108: #i107875# fix an assertion with debug stdc++ lib (thanks dtardon)
Diffstat (limited to 'vcl/source/app')
-rw-r--r-- | vcl/source/app/vclevent.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/source/app/vclevent.cxx b/vcl/source/app/vclevent.cxx index 704d68c5bc7f..66c104da59d5 100644 --- a/vcl/source/app/vclevent.cxx +++ b/vcl/source/app/vclevent.cxx @@ -118,9 +118,8 @@ void VclEventListeners2::callListeners( VclSimpleEvent* i_pEvent ) { vcl::DeletionListener aDel( this ); - m_aIterators.push_back( ListenerIt() ); + m_aIterators.push_back(ListenerIt(m_aListeners.begin())); size_t nIndex = m_aIterators.size() - 1; - m_aIterators[ nIndex ].m_aIt = m_aListeners.begin(); while( ! aDel.isDeleted() && m_aIterators[ nIndex ].m_aIt != m_aListeners.end() ) { m_aIterators[ nIndex ].m_aIt->Call( i_pEvent ); |