writerfilter/source/ooxml/OOXMLFastHelper.hxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 5662ed17c5c5610ab7dec0db0072124dd4e313d6
Author: Julien Nabet <serval2...@yahoo.fr>
Date:   Wed Aug 14 23:43:50 2013 +0200

    Reduce scope
    
    Change-Id: I5cbb44df09291b8a1b74e8aa176d6471960b3391

diff --git a/writerfilter/source/ooxml/OOXMLFastHelper.hxx 
b/writerfilter/source/ooxml/OOXMLFastHelper.hxx
index 8863bde..7198494 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);
     }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to