summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-01-26 15:16:48 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-01-26 15:17:31 +0100
commit6de91546198e5bfbe0399274284114b550e2f030 (patch)
tree143237636e0bc3e9c1f4674d0f0db539ce071274 /svtools
parent2de1b86d79ca29c53d31606a10ac745d3621fb2b (diff)
Make sure _nEventId gets reset after calling RemoveUserEvent
Change-Id: I8f90fb809d5275e8a74964776f01f4d563f2e657
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/control/asynclink.cxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/svtools/source/control/asynclink.cxx b/svtools/source/control/asynclink.cxx
index 1efd93497048..ca745b2bbe55 100644
--- a/svtools/source/control/asynclink.cxx
+++ b/svtools/source/control/asynclink.cxx
@@ -48,13 +48,7 @@ bAllowDoubles
DBG_ASSERT( bAllowDoubles ||
( !_nEventId && ( !_pIdle || !_pIdle->IsActive() ) ),
"Schon ein Call unterwegs" );
- if( _nEventId )
- {
- if( _pMutex ) _pMutex->acquire();
- Application::RemoveUserEvent( _nEventId );
- if( _pMutex ) _pMutex->release();
- }
- if( _pIdle )_pIdle->Stop();
+ ClearPendingCall();
if( bUseTimer )
{
if( !_pIdle )