diff options
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); } |