From 1f9fcc141370ddbd4809ce44ee0c256672bc64a3 Mon Sep 17 00:00:00 2001 From: Tamás Zolnai Date: Thu, 5 Jan 2017 01:19:43 +0100 Subject: Remove useless explicit bool conversion Change-Id: I81caa89fe2ebfb88ce4eb36b8edb9460e9aca9c8 --- chart2/source/controller/dialogs/dlg_CreationWizard.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chart2/source/controller/dialogs') diff --git a/chart2/source/controller/dialogs/dlg_CreationWizard.cxx b/chart2/source/controller/dialogs/dlg_CreationWizard.cxx index 21f6e28d6726..c3cb30419c19 100644 --- a/chart2/source/controller/dialogs/dlg_CreationWizard.cxx +++ b/chart2/source/controller/dialogs/dlg_CreationWizard.cxx @@ -148,8 +148,8 @@ svt::WizardTypes::WizardState CreationWizard::determineNextState( WizardState nC void CreationWizard::enterState(WizardState nState) { m_aTimerTriggeredControllerLock.startTimer(); - enableButtons( WizardButtonFlags::PREVIOUS, bool( nState > STATE_FIRST ) ); - enableButtons( WizardButtonFlags::NEXT, bool( nState < m_nLastState ) ); + enableButtons( WizardButtonFlags::PREVIOUS, nState > STATE_FIRST ); + enableButtons( WizardButtonFlags::NEXT, nState < m_nLastState ); if( isStateEnabled( nState )) svt::RoadmapWizard::enterState(nState); } -- cgit