summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-10 14:39:17 +0200
committerNoel Grandin <noel@peralex.com>2015-09-11 08:48:54 +0200
commitcf0c04a428754dfd5aa477cebc5441bc74e27005 (patch)
tree6d4657ec370a3378887745b34d217a91bdab2eef /fpicker
parente8ee8473361f09034fdcd4f30a2325a53a512a7a (diff)
convert Link<> to typed
Change-Id: I85658fa35b9b85106a3b9c8ef303584cad6f39b0
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/office/PlacesListBox.cxx4
-rw-r--r--fpicker/source/office/PlacesListBox.hxx2
-rw-r--r--fpicker/source/office/RemoteFilesDialog.cxx4
-rw-r--r--fpicker/source/office/RemoteFilesDialog.hxx2
-rw-r--r--fpicker/source/office/iodlg.cxx4
-rw-r--r--fpicker/source/office/iodlg.hxx6
6 files changed, 11 insertions, 11 deletions
diff --git a/fpicker/source/office/PlacesListBox.cxx b/fpicker/source/office/PlacesListBox.cxx
index a08bc05d572c..71cc14e544d0 100644
--- a/fpicker/source/office/PlacesListBox.cxx
+++ b/fpicker/source/office/PlacesListBox.cxx
@@ -187,7 +187,7 @@ IMPL_LINK_NOARG_TYPED( PlacesListBox, Selection, SvTreeListBox*, void )
mpDlg->RemovablePlaceSelected(false);
}
-IMPL_LINK_NOARG( PlacesListBox, DoubleClick )
+IMPL_LINK_NOARG_TYPED( PlacesListBox, DoubleClick, SvTreeListBox*, bool )
{
sal_uInt16 nSelected = mpImpl->GetCurrRow();
PlacePtr pPlace = maPlaces[nSelected];
@@ -212,7 +212,7 @@ IMPL_LINK_NOARG( PlacesListBox, DoubleClick )
break;
};
}
- return 0;
+ return false;
}
void PlacesListBox::updateView( )
diff --git a/fpicker/source/office/PlacesListBox.hxx b/fpicker/source/office/PlacesListBox.hxx
index 998054601da0..b5b6a6ed45bf 100644
--- a/fpicker/source/office/PlacesListBox.hxx
+++ b/fpicker/source/office/PlacesListBox.hxx
@@ -75,7 +75,7 @@ class PlacesListBox : public Control
Image getEntryIcon( PlacePtr pPlace );
DECL_LINK_TYPED( Selection, SvTreeListBox*, void );
- DECL_LINK( DoubleClick, void* );
+ DECL_LINK_TYPED( DoubleClick, SvTreeListBox*, bool );
};
#endif
diff --git a/fpicker/source/office/RemoteFilesDialog.cxx b/fpicker/source/office/RemoteFilesDialog.cxx
index 90d522bc516d..f0cf7bfe067d 100644
--- a/fpicker/source/office/RemoteFilesDialog.cxx
+++ b/fpicker/source/office/RemoteFilesDialog.cxx
@@ -916,7 +916,7 @@ IMPL_LINK_TYPED ( RemoteFilesDialog, EditServiceMenuHdl, MenuButton *, pButton,
EnableControls();
}
-IMPL_LINK_NOARG ( RemoteFilesDialog, DoubleClickHdl )
+IMPL_LINK_NOARG_TYPED( RemoteFilesDialog, DoubleClickHdl, SvTreeListBox*, bool )
{
if( m_pFileView->GetSelectionCount() )
{
@@ -940,7 +940,7 @@ IMPL_LINK_NOARG ( RemoteFilesDialog, DoubleClickHdl )
}
}
- return 1;
+ return true;
}
IMPL_LINK_NOARG ( RemoteFilesDialog, SelectHdl )
diff --git a/fpicker/source/office/RemoteFilesDialog.hxx b/fpicker/source/office/RemoteFilesDialog.hxx
index 9f4791a158fc..89cda7f442df 100644
--- a/fpicker/source/office/RemoteFilesDialog.hxx
+++ b/fpicker/source/office/RemoteFilesDialog.hxx
@@ -189,7 +189,7 @@ private:
DECL_LINK ( SelectServiceHdl, void * );
DECL_LINK_TYPED ( EditServiceMenuHdl, MenuButton *, void );
- DECL_LINK( DoubleClickHdl, void * );
+ DECL_LINK_TYPED( DoubleClickHdl, SvTreeListBox*, bool );
DECL_LINK( SelectHdl, void * );
DECL_LINK( FileNameGetFocusHdl, void * );
diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx
index 68b738181538..714c68d4dd7a 100644
--- a/fpicker/source/office/iodlg.cxx
+++ b/fpicker/source/office/iodlg.cxx
@@ -1596,13 +1596,13 @@ IMPL_LINK( SvtFileDialog, SelectHdl_Impl, SvTabListBox*, pBox )
-IMPL_LINK_NOARG(SvtFileDialog, DblClickHdl_Impl)
+IMPL_LINK_NOARG_TYPED(SvtFileDialog, DblClickHdl_Impl, SvTreeListBox*, bool)
{
_pImp->_bDoubleClick = true;
OpenHdl_Impl( NULL );
_pImp->_bDoubleClick = false;
- return 0;
+ return false;
}
diff --git a/fpicker/source/office/iodlg.hxx b/fpicker/source/office/iodlg.hxx
index 553fae105ce8..54103fca5376 100644
--- a/fpicker/source/office/iodlg.hxx
+++ b/fpicker/source/office/iodlg.hxx
@@ -121,12 +121,12 @@ private:
void AddControls_Impl( );
DECL_LINK( SelectHdl_Impl, SvTabListBox* );
- DECL_LINK(DblClickHdl_Impl, void *);
+ DECL_LINK_TYPED( DblClickHdl_Impl, SvTreeListBox*, bool);
DECL_LINK(EntrySelectHdl_Impl, void *);
DECL_LINK( OpenDoneHdl_Impl, SvtFileView* );
- DECL_LINK_TYPED(AutoExtensionHdl_Impl, Button*, void);
+ DECL_LINK_TYPED( AutoExtensionHdl_Impl, Button*, void);
DECL_LINK_TYPED( ClickHdl_Impl, Button*, void );
- DECL_LINK_TYPED(PlayButtonHdl_Impl, Button*, void);
+ DECL_LINK_TYPED( PlayButtonHdl_Impl, Button*, void);
// removes a filter with wildcards from the path and returns it