cppcheck: useInitializationList
Change-Id: If87c349a5036c54a83839cd66eb60ef6a09a4a46
This commit is contained in:
@@ -88,14 +88,13 @@ OOXMLFastContextHandler::OOXMLFastContextHandler(OOXMLFastContextHandler * pCont
|
|||||||
mnDefine(0),
|
mnDefine(0),
|
||||||
mnToken(oox::XML_TOKEN_COUNT),
|
mnToken(oox::XML_TOKEN_COUNT),
|
||||||
mpStream(pContext->mpStream),
|
mpStream(pContext->mpStream),
|
||||||
|
mpParserState(pContext->mpParserState),
|
||||||
mnTableDepth(pContext->mnTableDepth),
|
mnTableDepth(pContext->mnTableDepth),
|
||||||
inPositionV(pContext->inPositionV),
|
inPositionV(pContext->inPositionV),
|
||||||
m_xContext(pContext->m_xContext),
|
m_xContext(pContext->m_xContext),
|
||||||
m_bDiscardChildren(pContext->m_bDiscardChildren),
|
m_bDiscardChildren(pContext->m_bDiscardChildren),
|
||||||
m_bTookChoice(pContext->m_bTookChoice)
|
m_bTookChoice(pContext->m_bTookChoice)
|
||||||
{
|
{
|
||||||
mpParserState = pContext->mpParserState;
|
|
||||||
|
|
||||||
if (mpParserState.get() == nullptr)
|
if (mpParserState.get() == nullptr)
|
||||||
mpParserState.reset(new OOXMLParserState());
|
mpParserState.reset(new OOXMLParserState());
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user