From f378e1748f0645481a8b2deebd7bb2b34797aff7 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 22 Sep 2015 15:27:33 +0200 Subject: convert Link<> to typed Change-Id: Iccdfc807447c18c2929cc93bcb11d32b3659d666 Reviewed-on: https://gerrit.libreoffice.org/18774 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- include/svtools/svparser.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/svtools/svparser.hxx b/include/svtools/svparser.hxx index f4c04f54c2b3..7c595fbd1a11 100644 --- a/include/svtools/svparser.hxx +++ b/include/svtools/svparser.hxx @@ -44,7 +44,7 @@ enum SvParserState class SVT_DLLPUBLIC SvParser : public SvRefBase { - DECL_LINK( NewDataRead, void* ); + DECL_LINK_TYPED( NewDataRead, LinkParamNone*, void ); protected: SvStream& rInput; @@ -134,7 +134,7 @@ public: inline bool IsParserWorking() const { return SVPAR_WORKING == eState; } - Link<> GetAsynchCallLink() const + Link GetAsynchCallLink() const { return LINK( const_cast(this), SvParser, NewDataRead ); } // for asynchronous reading from the SvStream -- cgit