cppcheck: useInitializationList

Change-Id: If87c349a5036c54a83839cd66eb60ef6a09a4a46
This commit is contained in:
Caolán McNamara
2016-01-17 20:36:29 +00:00
parent a9fb9929a1
commit 2210f239ff

View File

@@ -88,14 +88,13 @@ OOXMLFastContextHandler::OOXMLFastContextHandler(OOXMLFastContextHandler * pCont
mnDefine(0),
mnToken(oox::XML_TOKEN_COUNT),
mpStream(pContext->mpStream),
mpParserState(pContext->mpParserState),
mnTableDepth(pContext->mnTableDepth),
inPositionV(pContext->inPositionV),
m_xContext(pContext->m_xContext),
m_bDiscardChildren(pContext->m_bDiscardChildren),
m_bTookChoice(pContext->m_bTookChoice)
{
mpParserState = pContext->mpParserState;
if (mpParserState.get() == nullptr)
mpParserState.reset(new OOXMLParserState());