dtardon01: #i107873#: avoid crash on initialization of OOXMLFastContextHandler if pContext is 0

This commit is contained in:
David Tardon 2009-12-31 15:42:49 +01:00
parent 298522b883
commit fd99f6b2ff

View file

@ -153,7 +153,7 @@ OOXMLFastContextHandler::OOXMLFastContextHandler
mnTableDepth(0),
mnInstanceNumber(mnInstanceCount),
mnRefCount(0),
m_xContext(pContext->m_xContext),
m_xContext(),
mbFallback(false)
{
if (pContext != NULL)