loplugin:cstylecast: deal with remaining pointer casts

Change-Id: I6088ea3fd106aa9563eb71afaf00977cc7c06e20
This commit is contained in:
Stephan Bergmann
2015-06-08 16:26:05 +02:00
parent 62ee548b8c
commit e76e6607b1

View File

@@ -825,10 +825,10 @@ SimpleXMLParser::SimpleXMLParser()
{
m_aParser = XML_ParserCreate( NULL );
XML_SetUserData( m_aParser, this );
XML_SetElementHandler( m_aParser, (XML_StartElementHandler) StartElementHandler, (XML_EndElementHandler) EndElementHandler );
XML_SetCharacterDataHandler( m_aParser, (XML_CharacterDataHandler) CharacterDataHandler );
XML_SetCommentHandler( m_aParser, (XML_CommentHandler) CommentHandler );
XML_SetDefaultHandler( m_aParser, (XML_DefaultHandler) DefaultHandler );
XML_SetElementHandler( m_aParser, reinterpret_cast<XML_StartElementHandler>(StartElementHandler), reinterpret_cast<XML_EndElementHandler>(EndElementHandler) );
XML_SetCharacterDataHandler( m_aParser, reinterpret_cast<XML_CharacterDataHandler>(CharacterDataHandler) );
XML_SetCommentHandler( m_aParser, reinterpret_cast<XML_CommentHandler>(CommentHandler) );
XML_SetDefaultHandler( m_aParser, reinterpret_cast<XML_DefaultHandler>(DefaultHandler) );
}
SimpleXMLParser::~SimpleXMLParser()