diff options
author | Noel Power <noel.power@novell.com> | 2011-02-04 16:17:16 +0000 |
---|---|---|
committer | Noel Power <noel.power@novell.com> | 2011-02-04 16:22:37 +0000 |
commit | 09e81721bbf51ba19aa357877dbd3b42474fa316 (patch) | |
tree | 8ccf6a725a23bd46a62e6109344285936632003a /desktop | |
parent | e07db4f176317b156fcd3410d683c9f2892b083a (diff) |
fix for #30879
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/app/dispatchwatcher.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/app/dispatchwatcher.cxx b/desktop/source/app/dispatchwatcher.cxx index 858e4e9acf0b..501fdc19bfd5 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() ) |