diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-14 16:12:48 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-17 09:59:59 +0200 |
commit | 979b460faf310be202d627ebd31dd87e3308e4b9 (patch) | |
tree | eba1794c9a9d11db32999e3d6257e51260cf23d3 /fpicker | |
parent | b49aed047cde78573ba4a3414301b7bc10fa43ad (diff) |
make Link<> typed
Change-Id: Iffa4bbb58931075679a60132d90c3b8be6a76cc2
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/office/RemoteFilesDialog.cxx | 9 | ||||
-rw-r--r-- | fpicker/source/office/RemoteFilesDialog.hxx | 2 |
2 files changed, 3 insertions, 8 deletions
diff --git a/fpicker/source/office/RemoteFilesDialog.cxx b/fpicker/source/office/RemoteFilesDialog.cxx index cce10e66d1c0..7f2600d8a64e 100644 --- a/fpicker/source/office/RemoteFilesDialog.cxx +++ b/fpicker/source/office/RemoteFilesDialog.cxx @@ -977,14 +977,9 @@ IMPL_LINK ( RemoteFilesDialog, TreeSelectHdl, FolderTree *, pBox ) return 1; } -IMPL_LINK ( RemoteFilesDialog, SelectBreadcrumbHdl, Breadcrumb*, pPtr ) +IMPL_LINK_TYPED ( RemoteFilesDialog, SelectBreadcrumbHdl, Breadcrumb*, pPtr, void ) { - if( pPtr ) - { - OpenURL( pPtr->GetHdlURL() ); - } - - return 1; + OpenURL( pPtr->GetHdlURL() ); } IMPL_LINK_NOARG ( RemoteFilesDialog, NewFolderHdl ) diff --git a/fpicker/source/office/RemoteFilesDialog.hxx b/fpicker/source/office/RemoteFilesDialog.hxx index 4fe118868ea6..223ba5bcf55e 100644 --- a/fpicker/source/office/RemoteFilesDialog.hxx +++ b/fpicker/source/office/RemoteFilesDialog.hxx @@ -196,7 +196,7 @@ private: DECL_LINK( TreeSelectHdl, FolderTree * ); - DECL_LINK( SelectBreadcrumbHdl, Breadcrumb * ); + DECL_LINK_TYPED( SelectBreadcrumbHdl, Breadcrumb *, void ); DECL_LINK( NewFolderHdl, void * ); |