summaryrefslogtreecommitdiff
path: root/vcl/source/helper
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-08 10:51:28 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-03-08 11:45:47 +0000
commit2600220f53f51be2d017b012c56293bf8cf835ef (patch)
tree88bb373d0ecaea1e64c71ca4388e55e593d58aa7 /vcl/source/helper
parent7f40ed57eb921e491f2fb83c820cb453babd9843 (diff)
loplugin:constantparams in vcl
Change-Id: I2114436f4bef3ac71a3035a206186cefaf88bca1 Reviewed-on: https://gerrit.libreoffice.org/23023 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'vcl/source/helper')
-rw-r--r--vcl/source/helper/threadex.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/helper/threadex.cxx b/vcl/source/helper/threadex.cxx
index 628a216c3a68..171b569a70b8 100644
--- a/vcl/source/helper/threadex.cxx
+++ b/vcl/source/helper/threadex.cxx
@@ -46,7 +46,7 @@ IMPL_LINK_NOARG_TYPED(SolarThreadExecutor, worker, void*, void)
}
}
-long SolarThreadExecutor::impl_execute( const TimeValue* _pTimeout )
+long SolarThreadExecutor::impl_execute()
{
if( ::osl::Thread::getCurrentIdentifier() == Application::GetMainThreadIdentifier() )
{
@@ -60,7 +60,7 @@ long SolarThreadExecutor::impl_execute( const TimeValue* _pTimeout )
osl_resetCondition( m_aFinish );
SolarMutexReleaser aReleaser;
ImplSVEvent * nEvent = Application::PostUserEvent( LINK( this, SolarThreadExecutor, worker ) );
- if ( osl_cond_result_timeout == osl_waitCondition( m_aStart, _pTimeout ) )
+ if ( osl_cond_result_timeout == osl_waitCondition( m_aStart, nullptr ) )
{
m_bTimeout = true;
Application::RemoveUserEvent( nEvent );