diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-20 13:02:42 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-20 13:52:17 +0200 |
commit | 7d769f9df5b95d717f3cd045dbd8f82ff2de27a1 (patch) | |
tree | f04de671670a533ccffe20bf3aa0fa9c5f837a5d /desktop/source/app/dispatchwatcher.cxx | |
parent | 0670872ce0d191cf93481215025cafd2062b8a8f (diff) |
loplugin: defaultparams
Change-Id: Ibf0ea539d2a95073a12f84964759d9c7a94baa7b
Diffstat (limited to 'desktop/source/app/dispatchwatcher.cxx')
-rw-r--r-- | desktop/source/app/dispatchwatcher.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/desktop/source/app/dispatchwatcher.cxx b/desktop/source/app/dispatchwatcher.cxx index f0b29ecde2d4..77d04a2b77f2 100644 --- a/desktop/source/app/dispatchwatcher.cxx +++ b/desktop/source/app/dispatchwatcher.cxx @@ -241,7 +241,7 @@ bool DispatchWatcher::executeDispatchRequests( const DispatchList& aDispatchRequ { bSetInputFilter = true; aForcedInputFilter = aDispatchRequest.aURL; - OfficeIPCThread::RequestsCompleted( 1 ); + OfficeIPCThread::RequestsCompleted(); continue; } @@ -478,7 +478,7 @@ bool DispatchWatcher::executeDispatchRequests( const DispatchList& aDispatchRequ aDispatchRequest.aRequestType == REQUEST_FORCENEW ) { // request is completed - OfficeIPCThread::RequestsCompleted( 1 ); + OfficeIPCThread::RequestsCompleted(); } else if ( aDispatchRequest.aRequestType == REQUEST_PRINT || aDispatchRequest.aRequestType == REQUEST_PRINTTO || @@ -695,7 +695,7 @@ bool DispatchWatcher::executeDispatchRequests( const DispatchList& aDispatchRequ } // request is completed - OfficeIPCThread::RequestsCompleted( 1 ); + OfficeIPCThread::RequestsCompleted(); } } } @@ -760,7 +760,7 @@ void SAL_CALL DispatchWatcher::dispatchFinished( const DispatchResultEvent& ) th osl::ClearableMutexGuard aGuard( GetMutex() ); sal_Int16 nCount = --m_nRequestCount; aGuard.clear(); - OfficeIPCThread::RequestsCompleted( 1 ); + OfficeIPCThread::RequestsCompleted(); if ( !nCount && !OfficeIPCThread::AreRequestsPending() ) { // We have to check if we have an open task otherwise we have to shutdown the office. |