summaryrefslogtreecommitdiff
path: root/desktop
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
commitf189a50dd394f23cf4276f0dead590e0862b1cc4 (patch)
tree263f425a0e46e96c6e17f2d92751d8beef350fe0 /desktop
parent4c1ba5ddfea7b3be17da0ece8f1cf41b3125f4c7 (diff)
fix for #30879
cherry picked from 6eb4e55b0a61f793f635a8038895cb2e452dc280 Signed-off-by: Muthu Subramanian K <sumuthu@novell.com>
Diffstat (limited to 'desktop')
-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 2bcce7a4af82..ef4cc5222711 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 );
/*