summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Power <noel.power@novell.com>2011-02-04 16:17:16 +0000
committerNoel Power <noel.power@novell.com>2011-02-04 16:22:37 +0000
commit6eb4e55b0a61f793f635a8038895cb2e452dc280 (patch)
tree7b15e615049eafd9a79beac6075616f0f27424ce
parent8f399a83d045ce50aea7ae10de26ae1ff6259e19 (diff)
fix for #30879
-rw-r--r--desktop/source/app/dispatchwatcher.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/app/dispatchwatcher.cxx b/desktop/source/app/dispatchwatcher.cxx
index 8d8fc9d6ed..04a8645d7b 100644
--- a/desktop/source/app/dispatchwatcher.cxx
+++ b/desktop/source/app/dispatchwatcher.cxx
@@ -634,7 +634,7 @@ throw(::com::sun::star::uno::RuntimeException)
void SAL_CALL DispatchWatcher::dispatchFinished( const DispatchResultEvent& ) throw( RuntimeException )
{
osl::ClearableMutexGuard aGuard( GetMutex() );
- sal_Int16 nCount = m_nRequestCount;
+ sal_Int16 nCount = --m_nRequestCount;
aGuard.clear();
OfficeIPCThread::RequestsCompleted( 1 );
if ( !nCount && !OfficeIPCThread::AreRequestsPending() )