diff options
Diffstat (limited to 'cppu/source/threadpool/jobqueue.cxx')
-rw-r--r-- | cppu/source/threadpool/jobqueue.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cppu/source/threadpool/jobqueue.cxx b/cppu/source/threadpool/jobqueue.cxx index c0fdd6249383..094a55ef9372 100644 --- a/cppu/source/threadpool/jobqueue.cxx +++ b/cppu/source/threadpool/jobqueue.cxx @@ -47,13 +47,13 @@ namespace cppu_threadpool { void *JobQueue::enter( sal_Int64 nDisposeId , bool bReturnWhenNoJob ) { - void *pReturn = 0; + void *pReturn = nullptr; { // synchronize with the dispose calls MutexGuard guard( m_mutex ); if( m_DisposedCallerAdmin->isDisposed( nDisposeId ) ) { - return 0; + return nullptr; } m_lstCallstack.push_front( nDisposeId ); } @@ -72,7 +72,7 @@ namespace cppu_threadpool { m_cndWait.wait(); - struct Job job={0,0}; + struct Job job={nullptr,nullptr}; { // synchronize with add and dispose calls MutexGuard guard( m_mutex ); |