summaryrefslogtreecommitdiff
path: root/include/svtools
diff options
context:
space:
mode:
Diffstat (limited to 'include/svtools')
-rw-r--r--include/svtools/svparser.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svtools/svparser.hxx b/include/svtools/svparser.hxx
index 4d176ec90cfd..d3294eac9c8b 100644
--- a/include/svtools/svparser.hxx
+++ b/include/svtools/svparser.hxx
@@ -138,7 +138,7 @@ public:
inline bool IsParserWorking() const { return SVPAR_WORKING == eState; }
Link GetAsynchCallLink() const
- { return STATIC_LINK( this, SvParser, NewDataRead ); }
+ { return STATIC_LINK( const_cast<SvParser*>(this), SvParser, NewDataRead ); }
long CallAsyncCallLink() { return NewDataRead( this, 0 ); }