diff options
author | Tobias Madl <tobias.madl.dev@gmail.com> | 2015-01-22 12:27:45 +0100 |
---|---|---|
committer | Tobias Madl <tobias.madl.dev@gmail.com> | 2015-03-06 12:27:08 +0000 |
commit | ddd4a787ebde1b47e5ddfbd5995e2a0fe6b22ee2 (patch) | |
tree | 2d21321016748c17ade9f358ffaf150a9b253c77 /vcl/source/app | |
parent | 0e10b34342bd7b94b69f2eac8c9b1df89a2725f3 (diff) |
Idle: Inserted static cast
Change-Id: I4cfbb53763001854d37fbcd304e77e65279173b6
Diffstat (limited to 'vcl/source/app')
-rw-r--r-- | vcl/source/app/idle.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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<sal_Int32>(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<sal_Int32>(IdlePriority::VCL_IDLE_PRIORITY_HIGH)), meDefaultPriority(IdlePriority::VCL_IDLE_PRIORITY_HIGH), mbActive(false) { |