From ddd4a787ebde1b47e5ddfbd5995e2a0fe6b22ee2 Mon Sep 17 00:00:00 2001 From: Tobias Madl Date: Thu, 22 Jan 2015 12:27:45 +0100 Subject: Idle: Inserted static cast Change-Id: I4cfbb53763001854d37fbcd304e77e65279173b6 --- vcl/source/app/idle.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vcl/source/app') diff --git a/vcl/source/app/idle.cxx b/vcl/source/app/idle.cxx index cc92d3681441..555bc34201ff 100644 --- a/vcl/source/app/idle.cxx +++ b/vcl/source/app/idle.cxx @@ -36,7 +36,7 @@ struct ImplIdleData if (mbDelete || mbInIdle ) return; - mpIdle->SetSchedulingPriority(convertToInt(mpIdle->GetDefaultPriority())); + mpIdle->SetSchedulingPriority(static_cast(mpIdle->GetDefaultPriority())); mbDelete = true; mpIdle->mbActive = false; @@ -208,7 +208,7 @@ Idle& Idle::operator=( const Idle& rIdle ) Idle::Idle(): mpIdleData(NULL), - miPriority(convertToInt(IdlePriority::VCL_IDLE_PRIORITY_HIGH)), + miPriority(static_cast(IdlePriority::VCL_IDLE_PRIORITY_HIGH)), meDefaultPriority(IdlePriority::VCL_IDLE_PRIORITY_HIGH), mbActive(false) { -- cgit