diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-07 13:48:23 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-08 08:16:46 +0200 |
commit | 8d927d3f82a33a464662e4b54a8a07d30d4d1a19 (patch) | |
tree | d65da75b786634550eb1e7fa4b1859d63e968dfe /chart2/source | |
parent | 61623d5b90510ae6c791a41031d586a9316e74c4 (diff) |
convert Link<> to typed
Change-Id: Ia2706c308c6297d05b2862e9f86fc0f2ee90e4f0
Diffstat (limited to 'chart2/source')
-rw-r--r-- | chart2/source/controller/dialogs/tp_ChartType.cxx | 3 | ||||
-rw-r--r-- | chart2/source/controller/dialogs/tp_ChartType.hxx | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/chart2/source/controller/dialogs/tp_ChartType.cxx b/chart2/source/controller/dialogs/tp_ChartType.cxx index 0a819d64d3e7..211703e4a83f 100644 --- a/chart2/source/controller/dialogs/tp_ChartType.cxx +++ b/chart2/source/controller/dialogs/tp_ChartType.cxx @@ -882,7 +882,7 @@ ChartTypeDialogController* ChartTypeTabPage::getSelectedMainType() pTypeController = m_aChartTypeDialogControllerList[nM]; return pTypeController; } -IMPL_LINK_NOARG(ChartTypeTabPage, SelectSubTypeHdl) +IMPL_LINK_NOARG_TYPED(ChartTypeTabPage, SelectSubTypeHdl, ValueSet*, void) { if( m_pCurrentMainType ) { @@ -892,7 +892,6 @@ IMPL_LINK_NOARG(ChartTypeTabPage, SelectSubTypeHdl) if( m_bDoLiveUpdate ) commitToModel( aParameter ); } - return 0; } IMPL_LINK_NOARG(ChartTypeTabPage, SelectMainTypeHdl) diff --git a/chart2/source/controller/dialogs/tp_ChartType.hxx b/chart2/source/controller/dialogs/tp_ChartType.hxx index 4ed830b10535..fb9311403c33 100644 --- a/chart2/source/controller/dialogs/tp_ChartType.hxx +++ b/chart2/source/controller/dialogs/tp_ChartType.hxx @@ -75,7 +75,7 @@ protected: void selectMainType(); DECL_LINK( SelectMainTypeHdl, void* ); - DECL_LINK( SelectSubTypeHdl, void* ); + DECL_LINK_TYPED( SelectSubTypeHdl, ValueSet*, void ); protected: VclPtr<FixedText> m_pFT_ChooseType; |