aboutsummaryrefslogtreecommitdiff
path: root/src/ui/mapper/style/StyleRuleSetMapper.cpp
diff options
context:
space:
mode:
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(