diff options
author | crupest <crupest@outlook.com> | 2022-03-05 21:45:33 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-03-05 21:45:33 +0800 |
commit | 7697f1ca3904301e551e7500089b30034e84eb32 (patch) | |
tree | 2f9e763d96df0679ea3582721f5a109750694d9b /src/ui/mapper/CornerRadiusMapper.cpp | |
parent | 221f9cd7e453f2968c12a14a46588ea50ca2119d (diff) | |
download | cru-7697f1ca3904301e551e7500089b30034e84eb32.tar.gz cru-7697f1ca3904301e551e7500089b30034e84eb32.tar.bz2 cru-7697f1ca3904301e551e7500089b30034e84eb32.zip |
...
Diffstat (limited to 'src/ui/mapper/CornerRadiusMapper.cpp')
-rw-r--r-- | src/ui/mapper/CornerRadiusMapper.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ui/mapper/CornerRadiusMapper.cpp b/src/ui/mapper/CornerRadiusMapper.cpp index 673432e1..60a72855 100644 --- a/src/ui/mapper/CornerRadiusMapper.cpp +++ b/src/ui/mapper/CornerRadiusMapper.cpp @@ -11,27 +11,27 @@ CornerRadius CornerRadiusMapper::DoMapFromXml(xml::XmlElementNode* node) { auto point_mapper = MapperRegistry::GetInstance()->GetMapper<Point>(); CornerRadius result; - auto all = node->GetOptionalAttributeCaseInsensitive(u"all"); + auto all = node->GetOptionalAttributeValueCaseInsensitive(u"all"); if (all) { result.SetAll(point_mapper->MapFromString(*all)); } - auto lefttop = node->GetOptionalAttributeCaseInsensitive(u"lefttop"); + auto lefttop = node->GetOptionalAttributeValueCaseInsensitive(u"lefttop"); if (lefttop) { result.left_top = point_mapper->MapFromString(*lefttop); } - auto righttop = node->GetOptionalAttributeCaseInsensitive(u"righttop"); + auto righttop = node->GetOptionalAttributeValueCaseInsensitive(u"righttop"); if (righttop) { result.right_top = point_mapper->MapFromString(*righttop); } - auto rightbottom = node->GetOptionalAttributeCaseInsensitive(u"rightbottom"); + auto rightbottom = node->GetOptionalAttributeValueCaseInsensitive(u"rightbottom"); if (rightbottom) { result.right_bottom = point_mapper->MapFromString(*rightbottom); } - auto leftbottom = node->GetOptionalAttributeCaseInsensitive(u"leftbottom"); + auto leftbottom = node->GetOptionalAttributeValueCaseInsensitive(u"leftbottom"); if (leftbottom) { result.left_bottom = point_mapper->MapFromString(*leftbottom); } |