diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-07 09:35:04 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-08 08:16:46 +0200 |
commit | 61623d5b90510ae6c791a41031d586a9316e74c4 (patch) | |
tree | 0b5a8115ae6d603cbe6208b958d8b440ea8fd06f /chart2 | |
parent | d7efea29cdc2faa57d172d7e4d8def18fd49536c (diff) |
convert Link<> to typed
Change-Id: I365a81a0a960f5da736c9a97aa056da16c99452f
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/dialogs/tp_DataSource.cxx | 8 | ||||
-rw-r--r-- | chart2/source/controller/dialogs/tp_DataSource.hxx | 4 |
2 files changed, 4 insertions, 8 deletions
diff --git a/chart2/source/controller/dialogs/tp_DataSource.cxx b/chart2/source/controller/dialogs/tp_DataSource.cxx index 9c7bc8bdff74..7925d7cfeafb 100644 --- a/chart2/source/controller/dialogs/tp_DataSource.cxx +++ b/chart2/source/controller/dialogs/tp_DataSource.cxx @@ -533,7 +533,7 @@ void DataSourceTabPage::updateControlState() isValid(); } -IMPL_LINK_NOARG(DataSourceTabPage, SeriesSelectionChangedHdl) +IMPL_LINK_NOARG_TYPED(DataSourceTabPage, SeriesSelectionChangedHdl, SvTreeListBox*, void) { m_rDialogModel.startControllerLockTimer(); if( m_pLB_SERIES->FirstSelected()) @@ -542,11 +542,9 @@ IMPL_LINK_NOARG(DataSourceTabPage, SeriesSelectionChangedHdl) RoleSelectionChangedHdl( 0 ); } updateControlState(); - - return 0; } -IMPL_LINK_NOARG(DataSourceTabPage, RoleSelectionChangedHdl) +IMPL_LINK_NOARG_TYPED(DataSourceTabPage, RoleSelectionChangedHdl, SvTreeListBox*, void) { m_rDialogModel.startControllerLockTimer(); SvTreeListEntry * pEntry = m_pLB_ROLE->FirstSelected(); @@ -568,8 +566,6 @@ IMPL_LINK_NOARG(DataSourceTabPage, RoleSelectionChangedHdl) m_pEDT_RANGE->SetText( aSelectedRange ); isValid(); } - - return 0; } IMPL_LINK_NOARG_TYPED(DataSourceTabPage, MainRangeButtonClickedHdl, Button*, void) diff --git a/chart2/source/controller/dialogs/tp_DataSource.hxx b/chart2/source/controller/dialogs/tp_DataSource.hxx index 92f8db40541b..bb465321f220 100644 --- a/chart2/source/controller/dialogs/tp_DataSource.hxx +++ b/chart2/source/controller/dialogs/tp_DataSource.hxx @@ -73,8 +73,8 @@ protected: virtual void initializePage() SAL_OVERRIDE; - DECL_LINK( SeriesSelectionChangedHdl, void* ); - DECL_LINK( RoleSelectionChangedHdl, void* ); + DECL_LINK_TYPED( SeriesSelectionChangedHdl, SvTreeListBox*, void ); + DECL_LINK_TYPED( RoleSelectionChangedHdl, SvTreeListBox*, void ); DECL_LINK_TYPED( MainRangeButtonClickedHdl, Button*, void ); DECL_LINK_TYPED( CategoriesRangeButtonClickedHdl, Button*, void ); DECL_LINK_TYPED( AddButtonClickedHdl, Button*, void ); |