[Libreoffice-commits] core.git: xmloff/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Sun Nov 11 08:21:05 UTC 2018
xmloff/source/draw/sdxmlimp.cxx | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
New commits:
commit de4ce7d5464102886588152171736e00e9900b0b
Author: Zdibák Zoltán <zdibakzoltan at gmail.com>
AuthorDate: Sat Nov 10 19:38:23 2018 +0100
Commit: Julien Nabet <serval2412 at 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 <serval2412 at 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;
}
More information about the Libreoffice-commits
mailing list