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 /sc/source/ui/miscdlgs/tabbgcolordlg.cxx | |
parent | 61623d5b90510ae6c791a41031d586a9316e74c4 (diff) |
convert Link<> to typed
Change-Id: Ia2706c308c6297d05b2862e9f86fc0f2ee90e4f0
Diffstat (limited to 'sc/source/ui/miscdlgs/tabbgcolordlg.cxx')
-rw-r--r-- | sc/source/ui/miscdlgs/tabbgcolordlg.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sc/source/ui/miscdlgs/tabbgcolordlg.cxx b/sc/source/ui/miscdlgs/tabbgcolordlg.cxx index 337cf71762f5..fc2373ed8675 100644 --- a/sc/source/ui/miscdlgs/tabbgcolordlg.cxx +++ b/sc/source/ui/miscdlgs/tabbgcolordlg.cxx @@ -117,16 +117,13 @@ void ScTabBgColorDlg::FillColorValueSets_Impl() m_pTabBgColorSet->SelectItem(nSelectedItem); } -IMPL_LINK_NOARG(ScTabBgColorDlg, TabBgColorDblClickHdl_Impl) -/* - Handler, called when color selection is changed -*/ +/// Handler, called when color selection is changed +IMPL_LINK_NOARG_TYPED(ScTabBgColorDlg, TabBgColorDblClickHdl_Impl, ValueSet*, void) { sal_uInt16 nItemId = m_pTabBgColorSet->GetSelectItemId(); Color aColor = nItemId ? ( m_pTabBgColorSet->GetItemColor( nItemId ) ) : Color( COL_AUTO ); m_aTabBgColor = aColor; EndDialog( RET_OK ); - return 0; } // Handler, called when the OK button is pushed |