From 59887868da3499c68d5f259cfa48178354397448 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 13 Sep 2018 13:08:33 +0200 Subject: loplugin:constfields in vcl Change-Id: I1072642be4fdfa720e61f2d7bad3c2701eb81610 Reviewed-on: https://gerrit.libreoffice.org/60430 Tested-by: Jenkins Reviewed-by: Noel Grandin --- vcl/source/app/svmain.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vcl/source/app/svmain.cxx') diff --git a/vcl/source/app/svmain.cxx b/vcl/source/app/svmain.cxx index b4cfa736792c..ca26d1451613 100644 --- a/vcl/source/app/svmain.cxx +++ b/vcl/source/app/svmain.cxx @@ -599,8 +599,8 @@ void DeInitVCL() // only one call is allowed struct WorkerThreadData { - oslWorkerFunction pWorker; - void * pThreadData; + oslWorkerFunction const pWorker; + void * const pThreadData; WorkerThreadData( oslWorkerFunction pWorker_, void * pThreadData_ ) : pWorker( pWorker_ ) , pThreadData( pThreadData_ ) -- cgit