[Libreoffice-commits] .: Branch 'libreoffice-3-3' - desktop/source
Noel Power
noelp at kemper.freedesktop.org
Mon Feb 7 03:22:48 PST 2011
desktop/source/app/dispatchwatcher.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit ac044cb591a40e688e61bea24db63258e826cd78
Author: Noel Power <noel.power at novell.com>
Date: Fri Feb 4 16:17:16 2011 +0000
fix for #30879
cherry picked from 6eb4e55b0a61f793f635a8038895cb2e452dc280
Signed-off-by: Muthu Subramanian K <sumuthu at novell.com>
diff --git a/desktop/source/app/dispatchwatcher.cxx b/desktop/source/app/dispatchwatcher.cxx
index 77cc1c3..7701bba 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 );
/*
More information about the Libreoffice-commits
mailing list