diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2015-10-04 15:05:38 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-10-12 10:48:13 +0000 |
commit | 3c99f8500f657ed84b316390d5175a6f5e56bc69 (patch) | |
tree | 749f16652560a50d409b12a23bf1a5d93b3cd2d5 /cui/source/inc/chardlg.hxx | |
parent | bbadb38539eb233ac45b267034066a7274181c65 (diff) |
convert Link<> to typed
Change-Id: Iec15042138e0715459b2c9e872a7464d75a6b1eb
Reviewed-on: https://gerrit.libreoffice.org/19305
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'cui/source/inc/chardlg.hxx')
-rw-r--r-- | cui/source/inc/chardlg.hxx | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/cui/source/inc/chardlg.hxx b/cui/source/inc/chardlg.hxx index f750d0eda0b9..b2415cfde7d4 100644 --- a/cui/source/inc/chardlg.hxx +++ b/cui/source/inc/chardlg.hxx @@ -134,6 +134,7 @@ private: DECL_LINK_TYPED(UpdateHdl_Impl, Idle *, void); DECL_LINK( FontModifyHdl_Impl, void* ); + DECL_LINK_TYPED(FontModifyListBoxHdl_Impl, ListBox&, void); public: using SfxTabPage::ActivatePage; @@ -215,11 +216,12 @@ private: void ResetColor_Impl( const SfxItemSet& rSet ); bool FillItemSetColor_Impl( SfxItemSet& rSet ); - DECL_LINK( SelectHdl_Impl, ListBox* ); + void SelectHdl_Impl(ListBox*); + DECL_LINK_TYPED(SelectListBoxHdl_Impl, ListBox&, void); DECL_LINK_TYPED(CbClickHdl_Impl, Button*, void); DECL_LINK_TYPED(TristClickHdl_Impl, Button*, void); - DECL_LINK(UpdatePreview_Impl, void *); - DECL_LINK( ColorBoxSelectHdl_Impl, ColorListBox* ); + DECL_LINK_TYPED(UpdatePreview_Impl, ListBox&, void); + DECL_LINK_TYPED(ColorBoxSelectHdl_Impl, ListBox&, void); public: virtual ~SvxCharEffectsPage(); @@ -297,7 +299,7 @@ private: DECL_LINK( FontModifyHdl_Impl, void *); DECL_LINK_TYPED( AutoPositionHdl_Impl, Button*, void ); DECL_LINK_TYPED( FitToLineHdl_Impl, Button*, void ); - DECL_LINK( KerningSelectHdl_Impl, void *); + DECL_LINK_TYPED( KerningSelectHdl_Impl, ListBox&, void); DECL_LINK( KerningModifyHdl_Impl, void *); DECL_LINK_TYPED( LoseFocusHdl_Impl, Control&, void ); DECL_LINK( ScaleWidthModifyHdl_Impl, void *); @@ -348,7 +350,7 @@ private: void SetBracket( sal_Unicode cBracket, bool bStart ); DECL_LINK_TYPED(TwoLinesHdl_Impl, Button*, void); - DECL_LINK( CharacterMapHdl_Impl, ListBox* ); + DECL_LINK_TYPED(CharacterMapHdl_Impl, ListBox&, void ); public: virtual ~SvxCharTwoLinesPage(); |