summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/draw/sdxmlimp.cxx4
1 files changed, 1 insertions, 3 deletions
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;
}