Kaydet (Commit) e0f617aa authored tarafından Noel Grandin's avatar Noel Grandin

convert Link<> to typed

Change-Id: I8cd997f55f4c7206358cba9edd3d41dbedd4363f
üst 55cdab3b
......@@ -1614,7 +1614,7 @@ IMPL_LINK_NOARG(SvtFileDialog, EntrySelectHdl_Impl)
IMPL_LINK( SvtFileDialog, OpenDoneHdl_Impl, SvtFileView*, pView )
IMPL_LINK_TYPED( SvtFileDialog, OpenDoneHdl_Impl, SvtFileView*, pView, void )
{
OUString sCurrentFolder( pView->GetViewURL() );
// check if we can create new folders
......@@ -1632,8 +1632,6 @@ IMPL_LINK( SvtFileDialog, OpenDoneHdl_Impl, SvtFileView*, pView )
aCurrentFolder.removeSegment();
}
EnableControl( _pImp->_pBtnUp, bCanTravelUp );
return 0;
}
......
......@@ -123,7 +123,7 @@ private:
DECL_LINK_TYPED( SelectHdl_Impl, SvTreeListBox*, void );
DECL_LINK_TYPED( DblClickHdl_Impl, SvTreeListBox*, bool);
DECL_LINK(EntrySelectHdl_Impl, void *);
DECL_LINK( OpenDoneHdl_Impl, SvtFileView* );
DECL_LINK_TYPED( OpenDoneHdl_Impl, SvtFileView*, void );
DECL_LINK_TYPED( AutoExtensionHdl_Impl, Button*, void);
DECL_LINK_TYPED( ClickHdl_Impl, Button*, void );
DECL_LINK_TYPED( PlayButtonHdl_Impl, Button*, void);
......
......@@ -160,7 +160,7 @@ public:
void SetSelectHdl( const Link<SvTreeListBox*,void>& rHdl );
void SetDoubleClickHdl( const Link<SvTreeListBox*,bool>& rHdl );
void SetOpenDoneHdl( const Link<>& rHdl );
void SetOpenDoneHdl( const Link<SvtFileView*,void>& rHdl );
sal_uLong GetSelectionCount() const;
SvTreeListEntry* FirstSelected() const;
......
......@@ -370,7 +370,7 @@ public:
OUString maAllFilter;
OUString maCurrentFilter;
Image maFolderImage;
Link<> maOpenDoneLink;
Link<SvtFileView*,void> maOpenDoneLink;
Reference< XCommandEnvironment > mxCmdEnv;
SvtFileView_Impl( SvtFileView* pAntiImpl, Reference < XCommandEnvironment > xEnv,
......@@ -1286,7 +1286,7 @@ const OUString& SvtFileView::GetViewURL() const
return mpImp->maViewURL;
}
void SvtFileView::SetOpenDoneHdl( const Link<>& rHdl )
void SvtFileView::SetOpenDoneHdl( const Link<SvtFileView*,void>& rHdl )
{
mpImp->maOpenDoneLink = rHdl;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment