[Libreoffice-commits] .: desktop/source
Noel Power
noelp at kemper.freedesktop.org
Fri Feb 4 08:22:46 PST 2011
desktop/source/app/dispatchwatcher.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 6eb4e55b0a61f793f635a8038895cb2e452dc280
Author: Noel Power <noel.power at novell.com>
Date: Fri Feb 4 16:17:16 2011 +0000
fix for #30879
diff --git a/desktop/source/app/dispatchwatcher.cxx b/desktop/source/app/dispatchwatcher.cxx
index 8d8fc9d..04a8645 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() )
More information about the Libreoffice-commits
mailing list