summaryrefslogtreecommitdiffstats
path: root/chart2/source/controller/dialogs/dlg_CreationWizard.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-06-27 15:10:26 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-06-28 08:35:03 +0000
commit0f17e343306fd457c542067c09242ddd04ca39e9 (patch)
tree98a114e5d9385a2f44c4e662d6b67a91dffc04fb /chart2/source/controller/dialogs/dlg_CreationWizard.cxx
parentloplugin:unreffun (diff)
downloadcore-0f17e343306fd457c542067c09242ddd04ca39e9.tar.gz
core-0f17e343306fd457c542067c09242ddd04ca39e9.zip
loplugin:singlevalfields in chart2
Change-Id: I8b8bf093736a191c90d765dce82b00e15bb398d6 Reviewed-on: https://gerrit.libreoffice.org/26708 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'chart2/source/controller/dialogs/dlg_CreationWizard.cxx')
-rw-r--r--chart2/source/controller/dialogs/dlg_CreationWizard.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/chart2/source/controller/dialogs/dlg_CreationWizard.cxx b/chart2/source/controller/dialogs/dlg_CreationWizard.cxx
index 90980488fc0a..cbf741bbc68e 100644
--- a/chart2/source/controller/dialogs/dlg_CreationWizard.cxx
+++ b/chart2/source/controller/dialogs/dlg_CreationWizard.cxx
@@ -52,9 +52,7 @@ CreationWizard::CreationWizard( vcl::Window* pParent, const uno::Reference< fram
)
, m_xChartModel(xChartModel,uno::UNO_QUERY)
, m_xCC( xContext )
- , m_bIsClosable(true)
, m_pTemplateProvider(nullptr)
- , m_nFirstState(STATE_FIRST)
, m_nLastState(STATE_LAST)
, m_aTimerTriggeredControllerLock( xChartModel )
, m_bCanTravel( true )
@@ -150,7 +148,7 @@ svt::WizardTypes::WizardState CreationWizard::determineNextState( WizardState nC
void CreationWizard::enterState(WizardState nState)
{
m_aTimerTriggeredControllerLock.startTimer();
- enableButtons( WizardButtonFlags::PREVIOUS, bool( nState > m_nFirstState ) );
+ enableButtons( WizardButtonFlags::PREVIOUS, bool( nState > STATE_FIRST ) );
enableButtons( WizardButtonFlags::NEXT, bool( nState < m_nLastState ) );
if( isStateEnabled( nState ))
svt::RoadmapWizard::enterState(nState);