summaryrefslogtreecommitdiff
path: root/desktop/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-07 09:35:04 +0200
committerNoel Grandin <noel@peralex.com>2015-09-08 08:16:46 +0200
commit61623d5b90510ae6c791a41031d586a9316e74c4 (patch)
tree0b5a8115ae6d603cbe6208b958d8b440ea8fd06f /desktop/source
parentd7efea29cdc2faa57d172d7e4d8def18fd49536c (diff)
convert Link<> to typed
Change-Id: I365a81a0a960f5da736c9a97aa056da16c99452f
Diffstat (limited to 'desktop/source')
-rw-r--r--desktop/source/deployment/gui/dp_gui_updatedialog.cxx3
-rw-r--r--desktop/source/deployment/gui/dp_gui_updatedialog.hxx2
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 40292a922ac8..bb2d84f466cc 100644
--- a/desktop/source/deployment/gui/dp_gui_updatedialog.cxx
+++ b/desktop/source/deployment/gui/dp_gui_updatedialog.cxx
@@ -1148,7 +1148,7 @@ void UpdateDialog::setIgnoredUpdate( UpdateDialog::Index *pIndex, bool bIgnore,
-IMPL_LINK_NOARG(UpdateDialog, selectionHandler)
+IMPL_LINK_NOARG_TYPED(UpdateDialog, selectionHandler, SvTreeListBox*, void)
{
OUStringBuffer b;
UpdateDialog::Index const * p = static_cast< UpdateDialog::Index const * >(
@@ -1244,7 +1244,6 @@ IMPL_LINK_NOARG(UpdateDialog, selectionHandler)
b.append( m_noDescription );
showDescription( b.makeStringAndClear() );
- return 0;
}
IMPL_LINK_NOARG(UpdateDialog, allHandler)
diff --git a/desktop/source/deployment/gui/dp_gui_updatedialog.hxx b/desktop/source/deployment/gui/dp_gui_updatedialog.hxx
index 610497fd1721..81dd5ce4c4f0 100644
--- a/desktop/source/deployment/gui/dp_gui_updatedialog.hxx
+++ b/desktop/source/deployment/gui/dp_gui_updatedialog.hxx
@@ -159,7 +159,7 @@ private:
::com::sun::star::xml::dom::XNode > const & aUpdateInfo);
bool showDescription( const OUString& rDescription);
- DECL_LINK(selectionHandler, void *);
+ DECL_LINK_TYPED(selectionHandler, SvTreeListBox*, void);
DECL_LINK(allHandler, void *);
DECL_LINK_TYPED(okHandler, Button*, void);
DECL_LINK_TYPED(closeHandler, Button*, void);