summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2015-09-02 15:59:16 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-09-03 07:21:26 +0000
commit411e32244c7bff5fb64a049b1c63cf15ac166cd3 (patch)
treecb24cba623bc3dd64bca0352e230e8508631ac0a /fpicker
parent37603521c0a6a0a34174a5020a6999ffb9d041d8 (diff)
convert Link<> to typed
Change-Id: Ic15d0539aa00b46694a1715b6dda9d78bb1c00d8 Reviewed-on: https://gerrit.libreoffice.org/18269 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/office/RemoteFilesDialog.cxx4
-rw-r--r--fpicker/source/office/RemoteFilesDialog.hxx2
-rw-r--r--fpicker/source/office/iodlg.cxx3
-rw-r--r--fpicker/source/office/iodlg.hxx2
4 files changed, 4 insertions, 7 deletions
diff --git a/fpicker/source/office/RemoteFilesDialog.cxx b/fpicker/source/office/RemoteFilesDialog.cxx
index c8ffde084e1d..531ff3492f5c 100644
--- a/fpicker/source/office/RemoteFilesDialog.cxx
+++ b/fpicker/source/office/RemoteFilesDialog.cxx
@@ -997,7 +997,7 @@ IMPL_LINK_NOARG( RemoteFilesDialog, FileNameModifyHdl )
return 1;
}
-IMPL_LINK_NOARG ( RemoteFilesDialog, SplitHdl )
+IMPL_LINK_NOARG_TYPED( RemoteFilesDialog, SplitHdl, Splitter*, void )
{
sal_Int32 nSplitPos = m_pSplitter->GetSplitPosPixel();
@@ -1017,8 +1017,6 @@ IMPL_LINK_NOARG ( RemoteFilesDialog, SplitHdl )
m_pFileView->SetPosSizePixel( fileViewPos, fileViewSize );
m_pSplitter->SetPosPixel( Point( placeSize.Width(), m_pSplitter->GetPosPixel().Y() ) );
-
- return 1;
}
IMPL_LINK_NOARG ( RemoteFilesDialog, SelectFilterHdl )
diff --git a/fpicker/source/office/RemoteFilesDialog.hxx b/fpicker/source/office/RemoteFilesDialog.hxx
index a1ce0def526e..008695b2d3c1 100644
--- a/fpicker/source/office/RemoteFilesDialog.hxx
+++ b/fpicker/source/office/RemoteFilesDialog.hxx
@@ -195,7 +195,7 @@ private:
DECL_LINK( FileNameGetFocusHdl, void * );
DECL_LINK( FileNameModifyHdl, void * );
- DECL_LINK( SplitHdl, void * );
+ DECL_LINK_TYPED( SplitHdl, Splitter*, void );
DECL_LINK( SelectFilterHdl, void * );
diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx
index bee5c608ce51..4c76083d330c 100644
--- a/fpicker/source/office/iodlg.cxx
+++ b/fpicker/source/office/iodlg.cxx
@@ -2797,7 +2797,7 @@ void SvtFileDialog::initDefaultPlaces( )
_pImp->_pPlaces->IsUpdated();
}
-IMPL_LINK_NOARG( SvtFileDialog, Split_Hdl )
+IMPL_LINK_NOARG_TYPED( SvtFileDialog, Split_Hdl, Splitter*, void )
{
sal_Int32 nSplitPos = _pSplitter->GetSplitPosPixel();
@@ -2817,7 +2817,6 @@ IMPL_LINK_NOARG( SvtFileDialog, Split_Hdl )
_pFileView->SetPosSizePixel( fileViewPos, fileViewSize );
_pSplitter->SetPosPixel( Point( placeSize.Width(), _pSplitter->GetPosPixel().Y() ) );
- return 0;
}
QueryFolderNameDialog::QueryFolderNameDialog(vcl::Window* _pParent,
diff --git a/fpicker/source/office/iodlg.hxx b/fpicker/source/office/iodlg.hxx
index 41e8b88a95aa..553fae105ce8 100644
--- a/fpicker/source/office/iodlg.hxx
+++ b/fpicker/source/office/iodlg.hxx
@@ -98,7 +98,7 @@ private:
DECL_LINK_TYPED( AddPlacePressed_Hdl, Button*, void );
DECL_LINK_TYPED( RemovePlacePressed_Hdl, Button*, void );
- DECL_LINK ( Split_Hdl, void* );
+ DECL_LINK_TYPED( Split_Hdl, Splitter*, void );
void OpenHdl_Impl(void* pVoid);
void Init_Impl( WinBits nBits );