summaryrefslogtreecommitdiff
path: root/extensions/source/bibliography/datman.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/bibliography/datman.cxx')
-rw-r--r--extensions/source/bibliography/datman.cxx5
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