[Libreoffice-commits] core.git: Branch 'libreoffice-5-1' - vcl/source

Noel Grandin noel at peralex.com
Mon Nov 30 05:20:15 PST 2015


 vcl/source/app/scheduler.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 124f5535097b3e109483936ebc9393531401af8b
Author: Noel Grandin <noel at peralex.com>
Date:   Thu Nov 26 09:26:13 2015 +0200

    loplugin:redundantcast
    
    Change-Id: I3fd7b6f8215bdd9e482cc81522a70cabc0080c4f
    (cherry picked from commit ce5024ad52f38df064610bdba0409896b6f912c7)

diff --git a/vcl/source/app/scheduler.cxx b/vcl/source/app/scheduler.cxx
index e176866..9450393 100644
--- a/vcl/source/app/scheduler.cxx
+++ b/vcl/source/app/scheduler.cxx
@@ -256,7 +256,7 @@ sal_uInt64 Scheduler::CalculateMinimumTimeout( bool &bHasActiveIdles )
     {
         Scheduler::ImplStartTimer(nMinPeriod, true);
         SAL_INFO("vcl.schedule", "Calculated minimum timeout as " << nMinPeriod << " and " <<
-                 (const char *)(bHasActiveIdles ? "has active idles" : "no idles"));
+                 (bHasActiveIdles ? "has active idles" : "no idles"));
     }
 
     return nMinPeriod;


More information about the Libreoffice-commits mailing list