diff options
-rw-r--r-- | sax/source/fastparser/fastparser.cxx | 2 |
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&) |