summaryrefslogtreecommitdiff
path: root/include/svtools/svparser.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2015-09-22 15:27:33 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-09-22 18:56:31 +0000
commitf378e1748f0645481a8b2deebd7bb2b34797aff7 (patch)
treea7ae26a16303e4686f2ca2793d0936b0e2115b7f /include/svtools/svparser.hxx
parent32cbfd1addeb37f302ed309e7a383e2cadc84520 (diff)
convert Link<> to typed
Change-Id: Iccdfc807447c18c2929cc93bcb11d32b3659d666 Reviewed-on: https://gerrit.libreoffice.org/18774 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/svtools/svparser.hxx')
-rw-r--r--include/svtools/svparser.hxx4
1 files changed, 2 insertions, 2 deletions
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<LinkParamNone*,void> GetAsynchCallLink() const
{ return LINK( const_cast<SvParser*>(this), SvParser, NewDataRead ); }
// for asynchronous reading from the SvStream