summaryrefslogtreecommitdiff
path: root/sax
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-07-08 16:40:08 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-07-08 16:47:31 +0200
commit025592c074ec4a21bab0db572aac1233462919ae (patch)
treed0e2d38236d7a38a4f5b17c2958a35964c6c92c3 /sax
parentf9279bc3dff109331b54f2b0096bd4fcc81da7ae (diff)
loplugin:redundantcast: redundant static_casts in sax
Change-Id: I8f9398a0d6e362c8f786e17e63ec48e4c4f77866
Diffstat (limited to 'sax')
-rw-r--r--sax/source/fastparser/fastparser.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sax/source/fastparser/fastparser.cxx b/sax/source/fastparser/fastparser.cxx
index b9d9bfa3c3f2..ecc26269beb6 100644
--- a/sax/source/fastparser/fastparser.cxx
+++ b/sax/source/fastparser/fastparser.cxx
@@ -449,7 +449,7 @@ void Entity::startElement( Event *pEvent )
xContext->startFastElement( nElementToken, xAttr );
}
// swap the reference we own in to avoid referencing thrash.
- maContextStack.top().mxContext.set( static_cast<XFastContextHandler *>( xContext.get() ) );
+ maContextStack.top().mxContext.set( xContext.get() );
xContext.set( nullptr, SAL_NO_ACQUIRE );
}
catch (const Exception&)