summaryrefslogtreecommitdiff
path: root/include/svtools
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-10-24 08:57:19 +0200
committerNoel Grandin <noel@peralex.com>2014-10-24 08:58:05 +0200
commit0a82645c360158f9cc0fdabe2a52f1ff8f981bed (patch)
treefdb1035983220bf588f1f77de7a0d5f2b1f0a861 /include/svtools
parent6ba8b7f5eacac969e4781d63718083a05491b1bc (diff)
loplugin: cstylecast
Change-Id: Ia0f5f0d0efbe4693aba347bff32cd694117251fe
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 ); }