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

convert Link<> to typed

Change-Id: Ie59da1b457aa2ed5bdc6a26eefab4d4a3acf10b5
üst e126468e
......@@ -104,7 +104,7 @@ private:
Image maEntryImage;
OUString maEntryString;
utl::TextSearch* pCommentSearcher;
Link<> aColCompareLink;
Link<const SvSortData*,sal_Int32> aColCompareLink;
protected:
......@@ -162,7 +162,7 @@ public:
virtual SvTreeListEntry* CreateEntry() const SAL_OVERRIDE;
void SetColCompareHdl(const Link<>& rLink ) { aColCompareLink = rLink; }
void SetColCompareHdl(const Link<const SvSortData*,sal_Int32>& rLink ) { aColCompareLink = rLink; }
};
/// Tabpage with the filter text entries etc.
......
......@@ -111,7 +111,7 @@ private:
DECL_LINK( ChgTrackModHdl, ScChangeTrack*);
DECL_LINK_TYPED( CommandHdl, SvSimpleTable*, void);
DECL_LINK_TYPED( ReOpenTimerHdl, Idle*, void );
DECL_LINK( ColCompareHdl, SvSortData*);
DECL_LINK_TYPED( ColCompareHdl, const SvSortData*, sal_Int32);
protected:
......
......@@ -1864,7 +1864,7 @@ void ScAcceptChgDlg::InitFilter()
#define CALC_DATE 3
#define CALC_POS 1
IMPL_LINK( ScAcceptChgDlg, ColCompareHdl, SvSortData*, pSortData )
IMPL_LINK_TYPED( ScAcceptChgDlg, ColCompareHdl, const SvSortData*, pSortData, sal_Int32 )
{
sal_Int32 nCompare = 0;
SCCOL nSortCol= static_cast<SCCOL>(pTheView->GetSortedCol());
......
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