From a6b5b8b879a9a587ec0ad605722d5d6428d5e68c Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Fri, 17 Oct 2025 09:26:58 +0800 Subject: XML and mapper remove String. --- src/ui/mapper/style/StyleRuleSetMapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui/mapper/style/StyleRuleSetMapper.cpp') 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 StyleRuleSetMapper::DoMapFromXml( -- cgit v1.2.3