[Libreoffice-commits] core.git: vcl/source
Miklos Vajna
vmiklos at collabora.co.uk
Fri Jun 12 13:14:36 PDT 2015
vcl/source/app/scheduler.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 762e90ffa0cd5f85dadd9bad93391d105e60e418
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Fri Jun 12 22:13:28 2015 +0200
vcl: loplugin:pointertobool
Change-Id: I0a84cce306d92c9358ae7a2a4d76f455e44f312b
diff --git a/vcl/source/app/scheduler.cxx b/vcl/source/app/scheduler.cxx
index a440045..0fbbd9f 100644
--- a/vcl/source/app/scheduler.cxx
+++ b/vcl/source/app/scheduler.cxx
@@ -129,7 +129,7 @@ void Scheduler::ProcessTaskScheduling( bool bTimer )
pSVData->maSchedulers->remove_if( [&nMinPeriod, nTime, pSVData] (ImplSchedulerData *rSchedulerData)
{
- if (rSchedulerData->mpScheduler)
+ if (rSchedulerData->mpScheduler != 0)
return rSchedulerData->mpScheduler->ImplHandleTaskScheduling(nMinPeriod, nTime);
else
{
More information about the Libreoffice-commits
mailing list