diff options
author | Noel Grandin <noel@peralex.com> | 2015-10-13 13:17:30 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-10-15 09:58:34 +0200 |
commit | 99b21cc9f3f32284061be255f437b2954a7aada0 (patch) | |
tree | f26509e7b905d147bc14fcda9fd30e2861ed00e3 /cui/source/tabpages | |
parent | c837bfda8c646fe2f7ff789032dd9a6ee6fd396f (diff) |
convert Link<> to typed
Change-Id: I6c55c74d47b13149c2fa210bb9de4e8c430c57cc
Diffstat (limited to 'cui/source/tabpages')
-rw-r--r-- | cui/source/tabpages/chardlg.cxx | 6 | ||||
-rw-r--r-- | cui/source/tabpages/tabstpge.cxx | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/cui/source/tabpages/chardlg.cxx b/cui/source/tabpages/chardlg.cxx index 451930219ec7..7efc88e6a102 100644 --- a/cui/source/tabpages/chardlg.cxx +++ b/cui/source/tabpages/chardlg.cxx @@ -427,7 +427,7 @@ void SvxCharNamePage::Initialize() m_pWestFontNameLB->SetModifyHdl( aLink ); m_pWestFontStyleLB->SetModifyHdl( aLink ); m_pWestFontSizeLB->SetModifyHdl( aLink ); - m_pWestFontLanguageLB->SetSelectHdl( aLink ); + m_pWestFontLanguageLB->SetSelectHdl( LINK( this, SvxCharNamePage, FontModifyComboBoxHdl_Impl ) ); m_pEastFontNameLB->SetModifyHdl( aLink ); m_pEastFontStyleLB->SetModifyHdl( aLink ); m_pEastFontSizeLB->SetModifyHdl( aLink ); @@ -1183,6 +1183,10 @@ IMPL_LINK_NOARG_TYPED(SvxCharNamePage, UpdateHdl_Impl, Idle *, void) +IMPL_LINK_TYPED( SvxCharNamePage, FontModifyComboBoxHdl_Impl, ComboBox&, rBox, void ) +{ + FontModifyHdl_Impl(&rBox); +} IMPL_LINK_TYPED( SvxCharNamePage, FontModifyListBoxHdl_Impl, ListBox&, rBox, void ) { FontModifyHdl_Impl(&rBox); diff --git a/cui/source/tabpages/tabstpge.cxx b/cui/source/tabpages/tabstpge.cxx index 6ed9f87c9ab3..066843953d96 100644 --- a/cui/source/tabpages/tabstpge.cxx +++ b/cui/source/tabpages/tabstpge.cxx @@ -657,7 +657,7 @@ IMPL_LINK_TYPED( SvxTabulatorTabPage, GetDezCharHdl_Impl, Control&, rControl, vo } } -IMPL_LINK_NOARG(SvxTabulatorTabPage, SelectHdl_Impl) +IMPL_LINK_NOARG_TYPED(SvxTabulatorTabPage, SelectHdl_Impl, ComboBox&, void) { sal_Int32 nPos = m_pTabBox->GetValuePos( m_pTabBox->GetValue( eDefUnit ), eDefUnit ); if ( nPos != COMBOBOX_ENTRY_NOTFOUND ) @@ -666,7 +666,6 @@ IMPL_LINK_NOARG(SvxTabulatorTabPage, SelectHdl_Impl) m_pNewBtn->Disable(); SetFillAndTabType_Impl(); } - return 0; } IMPL_LINK_NOARG(SvxTabulatorTabPage, ModifyHdl_Impl) |