aboutsummaryrefslogtreecommitdiff
path: root/src/ui/mapper/style/StyleRuleSetMapper.cpp
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-10-17 09:26:58 +0800
committerYuqian Yang <crupest@crupest.life>2025-10-17 09:26:58 +0800
commita6b5b8b879a9a587ec0ad605722d5d6428d5e68c (patch)
tree137fbe9d970e0aa8f501f0632054bf8fee1575ec /src/ui/mapper/style/StyleRuleSetMapper.cpp
parentaa05a34dd5e4a56563cbfeab273785ce0e363089 (diff)
downloadcru-a6b5b8b879a9a587ec0ad605722d5d6428d5e68c.tar.gz
cru-a6b5b8b879a9a587ec0ad605722d5d6428d5e68c.tar.bz2
cru-a6b5b8b879a9a587ec0ad605722d5d6428d5e68c.zip
XML and mapper remove String.
Diffstat (limited to 'src/ui/mapper/style/StyleRuleSetMapper.cpp')
-rw-r--r--src/ui/mapper/style/StyleRuleSetMapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/mapper/style/StyleRuleSetMapper.cpp b/src/ui/mapper/style/StyleRuleSetMapper.cpp
index 1067f8f8..d4bc7c37 100644
--- a/src/ui/mapper/style/StyleRuleSetMapper.cpp
+++ b/src/ui/mapper/style/StyleRuleSetMapper.cpp
@@ -8,7 +8,7 @@ namespace cru::ui::mapper::style {
using namespace cru::ui::style;
bool StyleRuleSetMapper::XmlElementIsOfThisType(xml::XmlElementNode* node) {
- return node->GetTag().CaseInsensitiveEqual(u"StyleRuleSet");
+ return cru::string::CaseInsensitiveCompare(node->GetTag(), "StyleRuleSet") == 0;
}
std::shared_ptr<ui::style::StyleRuleSet> StyleRuleSetMapper::DoMapFromXml(