diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-19 09:11:34 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-26 11:15:35 +0200 |
commit | 167bc621ef825ed5b961502fe9324a675ee34e42 (patch) | |
tree | 523838d8adc14a62f846529ee6eab3343b2fe87b /extensions/source/bibliography | |
parent | 46a27805fb707544a844a961a3743b8b992282f0 (diff) |
Convert vcl Button Link<> click handler to typed Link<Button*,void>
Change-Id: Ie80dfb003118d40741549c41ebcc7eda4819f05b
Diffstat (limited to 'extensions/source/bibliography')
-rw-r--r-- | extensions/source/bibliography/datman.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/extensions/source/bibliography/datman.cxx b/extensions/source/bibliography/datman.cxx index 44c8c9a84745..6a6e44d6d273 100644 --- a/extensions/source/bibliography/datman.cxx +++ b/extensions/source/bibliography/datman.cxx @@ -236,7 +236,7 @@ class MappingDialog_Impl : public ModalDialog - DECL_LINK(OkHdl, void *); + DECL_LINK_TYPED(OkHdl, Button*, void); DECL_LINK(ListBoxSelectHdl, ListBox*); public: @@ -437,7 +437,7 @@ IMPL_LINK(MappingDialog_Impl, ListBoxSelectHdl, ListBox*, pListBox) return 0; } -IMPL_LINK_NOARG(MappingDialog_Impl, OkHdl) +IMPL_LINK_NOARG_TYPED(MappingDialog_Impl, OkHdl, Button*, void) { if(bModified) { @@ -465,7 +465,6 @@ IMPL_LINK_NOARG(MappingDialog_Impl, OkHdl) pConfig->SetMapping(aDesc, &aNew); } EndDialog(bModified ? RET_OK : RET_CANCEL); - return 0; } class DBChangeDialog_Impl : public ModalDialog |