Kaydet (Commit) 025592c0 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:redundantcast: redundant static_casts in sax

Change-Id: I8f9398a0d6e362c8f786e17e63ec48e4c4f77866
üst f9279bc3
......@@ -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&)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment