chart2/source/controller/dialogs/dlg_CreationWizard.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 1f9fcc141370ddbd4809ce44ee0c256672bc64a3
Author: Tamás Zolnai <[email protected]>
Date:   Thu Jan 5 01:19:43 2017 +0100

    Remove useless explicit bool conversion
    
    Change-Id: I81caa89fe2ebfb88ce4eb36b8edb9460e9aca9c8

diff --git a/chart2/source/controller/dialogs/dlg_CreationWizard.cxx 
b/chart2/source/controller/dialogs/dlg_CreationWizard.cxx
index 21f6e28..c3cb304 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);
 }
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to