diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-10 14:39:17 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-11 08:48:54 +0200 |
commit | cf0c04a428754dfd5aa477cebc5441bc74e27005 (patch) | |
tree | 6d4657ec370a3378887745b34d217a91bdab2eef /reportdesign | |
parent | e8ee8473361f09034fdcd4f30a2325a53a512a7a (diff) |
convert Link<> to typed
Change-Id: I85658fa35b9b85106a3b9c8ef303584cad6f39b0
Diffstat (limited to 'reportdesign')
-rw-r--r-- | reportdesign/source/ui/dlg/AddField.cxx | 4 | ||||
-rw-r--r-- | reportdesign/source/ui/inc/AddField.hxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/reportdesign/source/ui/dlg/AddField.cxx b/reportdesign/source/ui/dlg/AddField.cxx index cac6622c76bf..521d574055f9 100644 --- a/reportdesign/source/ui/dlg/AddField.cxx +++ b/reportdesign/source/ui/dlg/AddField.cxx @@ -504,12 +504,12 @@ IMPL_LINK_NOARG_TYPED( OAddFieldWindow, OnClickHdl, Button*, void ) OnDoubleClickHdl(NULL); } -IMPL_LINK_NOARG( OAddFieldWindow, OnDoubleClickHdl ) +IMPL_LINK_NOARG_TYPED( OAddFieldWindow, OnDoubleClickHdl, SvTreeListBox*, bool ) { if ( m_aCreateLink.IsSet() ) m_aCreateLink.Call(this); - return 0L; + return false; } void OAddFieldWindow::setImageList(sal_Int16 _eBitmapSet) diff --git a/reportdesign/source/ui/inc/AddField.hxx b/reportdesign/source/ui/inc/AddField.hxx index fcb03b0fc80f..b9f3f03ca29f 100644 --- a/reportdesign/source/ui/inc/AddField.hxx +++ b/reportdesign/source/ui/inc/AddField.hxx @@ -70,7 +70,7 @@ class OAddFieldWindow :public FloatingWindow ::rtl::Reference< comphelper::OContainerListenerAdapter> m_pContainerListener; DECL_LINK_TYPED( OnClickHdl, Button*, void ); - DECL_LINK( OnDoubleClickHdl, void* ); + DECL_LINK_TYPED( OnDoubleClickHdl, SvTreeListBox*, bool ); DECL_LINK_TYPED( OnSelectHdl, SvTreeListBox*, void ); DECL_LINK_TYPED( OnSortAction, ToolBox*, void ); |