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.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/configmgr/source/xcdparser.cxx b/configmgr/source/xcdparser.cxx
index a849e210b3b6..a069c6b99c6f 100644
--- a/configmgr/source/xcdparser.cxx
+++ b/configmgr/source/xcdparser.cxx
@@ -61,14 +61,14 @@ bool XcdParser::startElement(
}
switch (state_) {
case STATE_START:
- if (nsId == ParseManager::NAMESPACE_OOR && name.equals("data")) {
+ if (nsId == ParseManager::NAMESPACE_OOR && name == "data") {
state_ = STATE_DEPENDENCIES;
return true;
}
break;
case STATE_DEPENDENCIES:
if (nsId == xmlreader::XmlReader::NAMESPACE_NONE &&
- name.equals("dependency"))
+ name == "dependency")
{
if (dependencyFile_.isEmpty()) {
dependencyOptional_ = false;
@@ -81,12 +81,12 @@ bool XcdParser::startElement(
}
if (attrNsId == xmlreader::XmlReader::NAMESPACE_NONE &&
//TODO: _OOR
- attrLn.equals("file"))
+ attrLn == "file")
{
attrFile = reader.getAttributeValue(false);
} else if ((attrNsId ==
xmlreader::XmlReader::NAMESPACE_NONE) &&
- attrLn.equals("optional"))
+ attrLn == "optional")
{
dependencyOptional_ = xmldata::parseBoolean(
reader.getAttributeValue(true));
@@ -118,7 +118,7 @@ bool XcdParser::startElement(
[[fallthrough]];
case STATE_COMPONENTS:
if (nsId == ParseManager::NAMESPACE_OOR &&
- name.equals("component-schema"))
+ name == "component-schema")
{
nestedParser_ = new XcsParser(layer_, data_);
nesting_ = 1;
@@ -126,7 +126,7 @@ bool XcdParser::startElement(
reader, nsId, name, existingDependencies);
}
if (nsId == ParseManager::NAMESPACE_OOR &&
- (name.equals("component-data") || name.equals("items")))
+ (name == "component-data" || name == "items"))
{
nestedParser_ = new XcuParser(layer_ + 1, data_, nullptr, nullptr, nullptr);
nesting_ = 1;