summaryrefslogtreecommitdiff
path: root/configmgr/source/xcdparser.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'configmgr/source/xcdparser.cxx')
-rw-r--r--configmgr/source/xcdparser.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/configmgr/source/xcdparser.cxx b/configmgr/source/xcdparser.cxx
index 11502e347f2d..c98067b9d304 100644
--- a/configmgr/source/xcdparser.cxx
+++ b/configmgr/source/xcdparser.cxx
@@ -106,7 +106,7 @@ bool XcdParser::startElement(
}
if ((processedDependencies_.find(dependencyFile_) ==
processedDependencies_.end()) &&
- (!dependencyOptional_ || existingDependencies == 0 ||
+ (!dependencyOptional_ || existingDependencies == nullptr ||
(existingDependencies->find(dependencyFile_) !=
existingDependencies->end())))
{
@@ -130,7 +130,7 @@ bool XcdParser::startElement(
if (nsId == ParseManager::NAMESPACE_OOR &&
name.equals("component-data"))
{
- nestedParser_ = new XcuParser(layer_ + 1, data_, 0, 0, 0);
+ nestedParser_ = new XcuParser(layer_ + 1, data_, nullptr, nullptr, nullptr);
nesting_ = 1;
return nestedParser_->startElement(
reader, nsId, name, existingDependencies);