From 1e2119fd0211b671cad7ba7005a99a1da1a0caf5 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 16 Sep 2015 16:10:05 +0200 Subject: convert Link<> to typed Change-Id: I3d35a0bb75b6989dd13371543d1bdf3ef5f47641 --- cui/source/inc/SpellDialog.hxx | 2 +- cui/source/inc/cuigaldlg.hxx | 2 +- cui/source/inc/insdlg.hxx | 2 +- cui/source/inc/pastedlg.hxx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'cui/source/inc') diff --git a/cui/source/inc/SpellDialog.hxx b/cui/source/inc/SpellDialog.hxx index c33921c9e26f..83495df9db56 100644 --- a/cui/source/inc/SpellDialog.hxx +++ b/cui/source/inc/SpellDialog.hxx @@ -172,7 +172,7 @@ private: css::linguistic2::XSpellChecker1 > xSpell; DECL_LINK_TYPED(ChangeHdl, Button*, void); - DECL_LINK(DoubleClickChangeHdl, void*); + DECL_LINK_TYPED(DoubleClickChangeHdl, ListBox&, void); DECL_LINK_TYPED(ChangeAllHdl, Button*, void); DECL_LINK_TYPED( IgnoreAllHdl, Button*, void ); DECL_LINK_TYPED(IgnoreHdl, Button*, void); diff --git a/cui/source/inc/cuigaldlg.hxx b/cui/source/inc/cuigaldlg.hxx index 30036c718da5..43f073719acf 100644 --- a/cui/source/inc/cuigaldlg.hxx +++ b/cui/source/inc/cuigaldlg.hxx @@ -284,7 +284,7 @@ class TPGalleryThemeProperties : public SfxTabPage DECL_LINK_TYPED( ClickTakeAllHdl, Button*, void ); DECL_LINK( SelectFoundHdl, void* ); DECL_LINK( SelectFileTypeHdl, void* ); - DECL_LINK( DClickFoundHdl, void* ); + DECL_LINK_TYPED( DClickFoundHdl, ListBox&, void ); DECL_LINK_TYPED( PreviewTimerHdl, Timer*, void ); DECL_LINK(EndSearchProgressHdl, void *); DECL_LINK_TYPED( DialogClosedHdl, css::ui::dialogs::DialogClosedEvent*, void ); diff --git a/cui/source/inc/insdlg.hxx b/cui/source/inc/insdlg.hxx index 29ac1132220a..128339158496 100644 --- a/cui/source/inc/insdlg.hxx +++ b/cui/source/inc/insdlg.hxx @@ -69,7 +69,7 @@ class SvInsertOleDlg : public InsertObjectDialog_Impl css::uno::Sequence< sal_Int8 > m_aIconMetaFile; OUString m_aIconMediaType; - DECL_LINK(DoubleClickHdl, void*); + DECL_LINK_TYPED(DoubleClickHdl, ListBox&, void); DECL_LINK_TYPED(BrowseHdl, Button*, void); DECL_LINK_TYPED(RadioHdl, Button*, void); void SelectDefault(); diff --git a/cui/source/inc/pastedlg.hxx b/cui/source/inc/pastedlg.hxx index c634dc715a6b..26a439f80402 100644 --- a/cui/source/inc/pastedlg.hxx +++ b/cui/source/inc/pastedlg.hxx @@ -51,7 +51,7 @@ class SvPasteObjectDialog : public ModalDialog void SelectObject(); DECL_LINK( SelectHdl, ListBox * ); - DECL_LINK( DoubleClickHdl, ListBox * ); + DECL_LINK_TYPED( DoubleClickHdl, ListBox&, void ); public: SvPasteObjectDialog( vcl::Window* pParent ); -- cgit