xmloff/source/draw/sdxmlimp.cxx |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit de4ce7d5464102886588152171736e00e9900b0b
Author:     Zdibák Zoltán <zdibakzol...@gmail.com>
AuthorDate: Sat Nov 10 19:38:23 2018 +0100
Commit:     Julien Nabet <serval2...@yahoo.fr>
CommitDate: Sun Nov 11 09:20:44 2018 +0100

    cppCheck redundantAssignment
    
    Change-Id: I829c660c6c73868ac6a0f74e554d99c54d9f0ea8
    Reviewed-on: https://gerrit.libreoffice.org/63245
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2...@yahoo.fr>

diff --git a/xmloff/source/draw/sdxmlimp.cxx b/xmloff/source/draw/sdxmlimp.cxx
index 548caba54f48..2df993feccac 100644
--- a/xmloff/source/draw/sdxmlimp.cxx
+++ b/xmloff/source/draw/sdxmlimp.cxx
@@ -716,9 +716,7 @@ SvXMLImportContext 
*SdXMLImport::CreateFontDeclsContext(const OUString& rLocalNa
 SvXMLImportContext *SdXMLImport::CreateScriptContext(
                                        const OUString& rLocalName )
 {
-    SvXMLImportContext *pContext = nullptr;
-
-    pContext = new XMLScriptContext( *this, rLocalName, GetModel() );
+    SvXMLImportContext *pContext = new XMLScriptContext( *this, rLocalName, 
GetModel() );
     return pContext;
 }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to