summaryrefslogtreecommitdiffstats
path: root/chart2/source/controller/dialogs/dlg_CreationWizard.cxx
diff options
context:
space:
mode:
authorTamás Zolnai <tamas.zolnai@collabora.com>2017-01-05 01:19:43 +0100
committerTamás Zolnai <tamas.zolnai@collabora.com>2017-01-05 01:22:57 +0100
commit1f9fcc141370ddbd4809ce44ee0c256672bc64a3 (patch)
tree63f44ae721968f94bc87ac9582962f97c044a2de /chart2/source/controller/dialogs/dlg_CreationWizard.cxx
parenthandle paste special of single formula cell if IsEmptyDisplayedAsString() (diff)
downloadcore-1f9fcc141370ddbd4809ce44ee0c256672bc64a3.tar.gz
core-1f9fcc141370ddbd4809ce44ee0c256672bc64a3.zip
Remove useless explicit bool conversion
Change-Id: I81caa89fe2ebfb88ce4eb36b8edb9460e9aca9c8
Diffstat (limited to 'chart2/source/controller/dialogs/dlg_CreationWizard.cxx')
-rw-r--r--chart2/source/controller/dialogs/dlg_CreationWizard.cxx4
1 files changed, 2 insertions, 2 deletions
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);
}