summaryrefslogtreecommitdiff
path: root/xmlscript/source/xmlmod_imexp/xmlmod_import.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmlscript/source/xmlmod_imexp/xmlmod_import.cxx')
-rw-r--r--xmlscript/source/xmlmod_imexp/xmlmod_import.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlscript/source/xmlmod_imexp/xmlmod_import.cxx b/xmlscript/source/xmlmod_imexp/xmlmod_import.cxx
index a14e7a237d9e..23bd93b4704a 100644
--- a/xmlscript/source/xmlmod_imexp/xmlmod_import.cxx
+++ b/xmlscript/source/xmlmod_imexp/xmlmod_import.cxx
@@ -161,7 +161,7 @@ Reference< xml::input::XElement > ModuleImport::startRootElement(
mrModuleDesc.aLanguage = xAttributes->getValueByUidName( XMLNS_SCRIPT_UID, "language" );
mrModuleDesc.aModuleType = xAttributes->getValueByUidName( XMLNS_SCRIPT_UID, "moduleType" );
- return new ModuleElement( rLocalName, xAttributes, 0, this );
+ return new ModuleElement( rLocalName, xAttributes, nullptr, this );
}
else
{