diff options
Diffstat (limited to 'writerfilter')
-rw-r--r-- | writerfilter/source/ooxml/OOXMLFastHelper.hxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/writerfilter/source/ooxml/OOXMLFastHelper.hxx b/writerfilter/source/ooxml/OOXMLFastHelper.hxx index 8863bde8a326..719849476f8c 100644 --- a/writerfilter/source/ooxml/OOXMLFastHelper.hxx +++ b/writerfilter/source/ooxml/OOXMLFastHelper.hxx @@ -146,10 +146,9 @@ OOXMLFastHelper<T>::createAndSetParentRef uno::Reference<XFastContextHandler> xChild = pTmp->createFastChildContext(nToken, Attribs); - OOXMLFastContextHandler * pResult = NULL; if (xChild.is()) { - pResult = dynamic_cast<OOXMLFastContextHandler *>(xChild.get()); + OOXMLFastContextHandler* pResult = dynamic_cast<OOXMLFastContextHandler *>(xChild.get()); pResult->setToken(nToken); pResult->setParent(pHandler); } |