summaryrefslogtreecommitdiffstats
path: root/svtools
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-10-13 13:17:30 +0200
committerNoel Grandin <noel@peralex.com>2015-10-15 09:58:34 +0200
commit99b21cc9f3f32284061be255f437b2954a7aada0 (patch)
treef26509e7b905d147bc14fcda9fd30e2861ed00e3 /svtools
parentAlways restrict FAR_AWAY to 32 bit (diff)
downloadcore-99b21cc9f3f32284061be255f437b2954a7aada0.tar.gz
core-99b21cc9f3f32284061be255f437b2954a7aada0.zip
convert Link<> to typed
Change-Id: I6c55c74d47b13149c2fa210bb9de4e8c430c57cc
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/control/inettbc.cxx2
-rw-r--r--svtools/source/dialogs/addresstemplate.cxx5
2 files changed, 3 insertions, 4 deletions
diff --git a/svtools/source/control/inettbc.cxx b/svtools/source/control/inettbc.cxx
index 9597991efdd6..5807711732e9 100644
--- a/svtools/source/control/inettbc.cxx
+++ b/svtools/source/control/inettbc.cxx
@@ -1038,7 +1038,7 @@ bool SvtURLBox::ProcessKey( const vcl::KeyCode& rKey )
else if ( GetSelectHdl().IsSet() )
{
bHandled = true;
- GetSelectHdl().Call(this);
+ GetSelectHdl().Call(*this);
}
bCtrlClick = false;
diff --git a/svtools/source/dialogs/addresstemplate.cxx b/svtools/source/dialogs/addresstemplate.cxx
index bf1b4fe51d58..bc3be749ce8f 100644
--- a/svtools/source/dialogs/addresstemplate.cxx
+++ b/svtools/source/dialogs/addresstemplate.cxx
@@ -1119,13 +1119,12 @@ void AssignmentPersistentData::ImplCommit()
}
- IMPL_LINK(AddressBookSourceDialog, OnComboSelect, ComboBox*, _pBox)
+ IMPL_LINK_TYPED(AddressBookSourceDialog, OnComboSelect, ComboBox&, _rBox, void)
{
- if (_pBox == m_pDatasource)
+ if (&_rBox == m_pDatasource)
resetTables();
else
resetFields();
- return 0;
}