diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-11 13:27:40 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-14 10:00:44 +0200 |
commit | 2a4ccc0c1e836fb7cde991c1233ca5a63599ec8b (patch) | |
tree | 74fee8c81b010cfef46fab0b96e5eb984726d25a /desktop | |
parent | 6532cb0e5ec3a59c248b332e868c4c03c31659f1 (diff) |
convert Link<> to typed
Change-Id: I1c501671d72edd5b998e80c7fa1e91dbeb507af8
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/deployment/gui/dp_gui_updatedialog.cxx | 3 | ||||
-rw-r--r-- | desktop/source/deployment/gui/dp_gui_updatedialog.hxx | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/desktop/source/deployment/gui/dp_gui_updatedialog.cxx b/desktop/source/deployment/gui/dp_gui_updatedialog.cxx index 4cc82d602f44..5fb517d72a20 100644 --- a/desktop/source/deployment/gui/dp_gui_updatedialog.cxx +++ b/desktop/source/deployment/gui/dp_gui_updatedialog.cxx @@ -1246,7 +1246,7 @@ IMPL_LINK_NOARG_TYPED(UpdateDialog, selectionHandler, SvTreeListBox*, void) showDescription( b.makeStringAndClear() ); } -IMPL_LINK_NOARG(UpdateDialog, allHandler) +IMPL_LINK_NOARG_TYPED(UpdateDialog, allHandler, CheckBox&, void) { if (m_pAll->IsChecked()) { @@ -1286,7 +1286,6 @@ IMPL_LINK_NOARG(UpdateDialog, allHandler) showDescription(m_noInstallable); } } - return 0; } IMPL_LINK_NOARG_TYPED(UpdateDialog, okHandler, Button*, void) diff --git a/desktop/source/deployment/gui/dp_gui_updatedialog.hxx b/desktop/source/deployment/gui/dp_gui_updatedialog.hxx index f4807c831e41..b3298daaedbc 100644 --- a/desktop/source/deployment/gui/dp_gui_updatedialog.hxx +++ b/desktop/source/deployment/gui/dp_gui_updatedialog.hxx @@ -160,7 +160,7 @@ private: bool showDescription( const OUString& rDescription); DECL_LINK_TYPED(selectionHandler, SvTreeListBox*, void); - DECL_LINK(allHandler, void *); + DECL_LINK_TYPED(allHandler, CheckBox&, void); DECL_LINK_TYPED(okHandler, Button*, void); DECL_LINK_TYPED(closeHandler, Button*, void); DECL_LINK(hyperlink_clicked, FixedHyperlink *); |