summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorPhilipp Lohmann [pl] <Philipp.Lohmann@Sun.COM>2010-01-05 13:56:08 +0100
committerPhilipp Lohmann [pl] <Philipp.Lohmann@Sun.COM>2010-01-05 13:56:08 +0100
commit33e343aba54517201820c54ad01a9cf410d1d3c3 (patch)
treef01dc9fe9b92cdd245c64aaf231341596f894e65 /vcl/source
parent8a82c9892f39d69d77937f4691c90a079a059bdf (diff)
vcl108: #i107875# fix an assertion with debug stdc++ lib (thanks dtardon)
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/app/vclevent.cxx3
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 );