diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-10 15:24:30 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-11 08:48:55 +0200 |
commit | c80fb09256f02379b78f7bb219e94dfbf5277872 (patch) | |
tree | ad5f615dcd45b02d48e7e0b4933d344a06461c1f /extensions/source/propctrlr/usercontrol.cxx | |
parent | cf0c04a428754dfd5aa477cebc5441bc74e27005 (diff) |
convert Link<> to typed
Change-Id: I8f64b8f8e1e8ac7ce1475fc5132acb7171237a32
Diffstat (limited to 'extensions/source/propctrlr/usercontrol.cxx')
-rw-r--r-- | extensions/source/propctrlr/usercontrol.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/extensions/source/propctrlr/usercontrol.cxx b/extensions/source/propctrlr/usercontrol.cxx index 43f09b42e978..3a2b02de909f 100644 --- a/extensions/source/propctrlr/usercontrol.cxx +++ b/extensions/source/propctrlr/usercontrol.cxx @@ -329,7 +329,7 @@ namespace pcr } - IMPL_LINK( OTimeDurationControl, OnCustomConvert, MetricField*, /*pField*/ ) + IMPL_LINK_NOARG_TYPED( OTimeDurationControl, OnCustomConvert, MetricFormatter&, void ) { long nMultiplier = 1; if ( getTypedControlWindow()->GetCurUnitText().equalsIgnoreAsciiCase( "ms" ) ) @@ -342,8 +342,6 @@ namespace pcr nMultiplier = 1000 * 60 * 60; getTypedControlWindow()->SetValue( getTypedControlWindow()->GetLastValue() * nMultiplier ); - - return 0L; } |