diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-14 11:48:56 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-15 09:37:32 +0200 |
commit | 4ac7459bef17ceee74f6b2388c96f657c25eddff (patch) | |
tree | 81482492ae63830c14d9bd154922b9ae229c19cd /svtools/source/dialogs/roadmapwizard.cxx | |
parent | 699eb7e3ca3ad11b8b797bf6a785876183661d04 (diff) |
convert Link<> to typed
Change-Id: I6564e4e7042c34741fd7c9ed03627c83ef818486
Diffstat (limited to 'svtools/source/dialogs/roadmapwizard.cxx')
-rw-r--r-- | svtools/source/dialogs/roadmapwizard.cxx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/svtools/source/dialogs/roadmapwizard.cxx b/svtools/source/dialogs/roadmapwizard.cxx index a5a8c5e71bdb..e0d81d540cca 100644 --- a/svtools/source/dialogs/roadmapwizard.cxx +++ b/svtools/source/dialogs/roadmapwizard.cxx @@ -461,16 +461,16 @@ namespace svt } - IMPL_LINK_NOARG(RoadmapWizard, OnRoadmapItemSelected) + IMPL_LINK_NOARG_TYPED(RoadmapWizard, OnRoadmapItemSelected, LinkParamNone*, void) { RoadmapTypes::ItemId nCurItemId = m_pImpl->pRoadmap->GetCurrentRoadmapItemID(); if ( nCurItemId == getCurrentState() ) // nothing to do - return 1L; + return; if ( isTravelingSuspended() ) - return 0; + return; WizardTravelSuspension aTravelGuard( *this ); @@ -481,7 +481,7 @@ namespace svt "RoadmapWizard::OnRoadmapItemSelected: something's wrong here!" ); if ( ( nCurrentIndex == -1 ) || ( nNewIndex == -1 ) ) { - return 0L; + return; } bool bResult = true; @@ -500,8 +500,6 @@ namespace svt if ( !bResult ) m_pImpl->pRoadmap->SelectRoadmapItemByID( getCurrentState() ); - - return 1L; } |