summaryrefslogtreecommitdiff
path: root/sw/source/ui/dbui/mmaddressblockpage.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-19 09:11:34 +0200
committerNoel Grandin <noel@peralex.com>2015-08-26 11:15:35 +0200
commit167bc621ef825ed5b961502fe9324a675ee34e42 (patch)
tree523838d8adc14a62f846529ee6eab3343b2fe87b /sw/source/ui/dbui/mmaddressblockpage.hxx
parent46a27805fb707544a844a961a3743b8b992282f0 (diff)
Convert vcl Button Link<> click handler to typed Link<Button*,void>
Change-Id: Ie80dfb003118d40741549c41ebcc7eda4819f05b
Diffstat (limited to 'sw/source/ui/dbui/mmaddressblockpage.hxx')
-rw-r--r--sw/source/ui/dbui/mmaddressblockpage.hxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/sw/source/ui/dbui/mmaddressblockpage.hxx b/sw/source/ui/dbui/mmaddressblockpage.hxx
index 2071361d0d76..2a18a5f7a46b 100644
--- a/sw/source/ui/dbui/mmaddressblockpage.hxx
+++ b/sw/source/ui/dbui/mmaddressblockpage.hxx
@@ -63,13 +63,13 @@ class SwMailMergeAddressBlockPage : public svt::OWizardPage
VclPtr<SwMailMergeWizard> m_pWizard;
- DECL_LINK(AddressListHdl_Impl, void *);
- DECL_LINK(SettingsHdl_Impl, PushButton*);
- DECL_LINK(AssignHdl_Impl, PushButton*);
- DECL_LINK(AddressBlockHdl_Impl, CheckBox*);
- DECL_LINK(InsertDataHdl_Impl, ImageButton*);
+ DECL_LINK_TYPED(AddressListHdl_Impl, Button *, void);
+ DECL_LINK_TYPED(SettingsHdl_Impl, Button*, void);
+ DECL_LINK_TYPED(AssignHdl_Impl, Button*, void);
+ DECL_LINK_TYPED(AddressBlockHdl_Impl, Button*, void);
+ DECL_LINK_TYPED(InsertDataHdl_Impl, Button*, void);
DECL_LINK(AddressBlockSelectHdl_Impl, void *);
- DECL_LINK(HideParagraphsHdl_Impl, CheckBox*);
+ DECL_LINK_TYPED(HideParagraphsHdl_Impl, Button*, void);
void EnableAddressBlock(bool bAll, bool bSelective);
@@ -99,9 +99,9 @@ class SwSelectAddressBlockDialog : public SfxModalDialog
com::sun::star::uno::Sequence< OUString> m_aAddressBlocks;
SwMailMergeConfigItem& m_rConfig;
- DECL_LINK(NewCustomizeHdl_Impl, PushButton*);
- DECL_LINK(DeleteHdl_Impl, PushButton*);
- DECL_LINK(IncludeHdl_Impl, RadioButton*);
+ DECL_LINK_TYPED(NewCustomizeHdl_Impl, Button*, void);
+ DECL_LINK_TYPED(DeleteHdl_Impl, Button*, void);
+ DECL_LINK_TYPED(IncludeHdl_Impl, Button*, void);
using Window::SetSettings;
@@ -220,10 +220,10 @@ private:
SwMailMergeConfigItem& m_rConfigItem;
DialogType m_eType;
- DECL_LINK(OKHdl_Impl, void *);
+ DECL_LINK_TYPED(OKHdl_Impl, Button*, void);
DECL_LINK(ListBoxSelectHdl_Impl, DDListBox*);
DECL_LINK(EditModifyHdl_Impl, void *);
- DECL_LINK(ImageButtonHdl_Impl, ImageButton*);
+ DECL_LINK_TYPED(ImageButtonHdl_Impl, Button*, void);
DECL_LINK(SelectionChangedHdl_Impl, AddressMultiLineEdit*);
DECL_LINK(FieldChangeHdl_Impl, void *);
@@ -257,7 +257,7 @@ class SwAssignFieldsDialog : public SfxModalDialog
SwMailMergeConfigItem& m_rConfigItem;
::com::sun::star::uno::Sequence< OUString > CreateAssignments();
- DECL_LINK(OkHdl_Impl, void *);
+ DECL_LINK_TYPED(OkHdl_Impl, Button*, void);
DECL_LINK(AssignmentModifyHdl_Impl, void*);
public: