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-07 11:06:25 +0000
commitac044cb591a40e688e61bea24db63258e826cd78 (patch)
treefab91ba3a941e420d42143dce05ea53e052a4603
parent4c00e2b2d1f4c1b9aaa049ee3bd99bab99d5b3e5 (diff)
fix for #30879
cherry picked from 6eb4e55b0a61f793f635a8038895cb2e452dc280 Signed-off-by: Muthu Subramanian K <sumuthu@novell.com>
-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 77cc1c334a..7701bbae48 100644
--- a/desktop/source/app/dispatchwatcher.cxx
+++ b/desktop/source/app/dispatchwatcher.cxx
@@ -636,7 +636,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 );
/*