summaryrefslogtreecommitdiff
path: root/vcl/source/app
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2010-01-26 16:43:42 +0100
committerIvo Hinkelmann <ihi@openoffice.org>2010-01-26 16:43:42 +0100
commit067e9b189b26900e0f3d064b134c9cea5865069d (patch)
tree8933377cca9e07430a2a0bd40fbd1c8099a7cadc /vcl/source/app
parent20c9b2305c7f9c2341961a1aa32bdc151aead3b4 (diff)
parent432e0fcb93c713a39890ec7ed0769521ef6ef3e8 (diff)
CWS-TOOLING: integrate CWS vcl108
Diffstat (limited to 'vcl/source/app')
-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 );