diff options
Diffstat (limited to 'src/ui/mapper/style/PreferredSizeStylerMapper.cpp')
-rw-r--r-- | src/ui/mapper/style/PreferredSizeStylerMapper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/mapper/style/PreferredSizeStylerMapper.cpp b/src/ui/mapper/style/PreferredSizeStylerMapper.cpp index 9e03dfeb..e7cfc35b 100644 --- a/src/ui/mapper/style/PreferredSizeStylerMapper.cpp +++ b/src/ui/mapper/style/PreferredSizeStylerMapper.cpp @@ -16,12 +16,12 @@ PreferredSizeStylerMapper::DoMapFromXml(xml::XmlElementNode* node) { auto measure_length_mapper = MapperRegistry::GetInstance()->GetMapper<render::MeasureLength>(); - auto width_attribute = node->GetOptionalAttributeCaseInsensitive(u"width"); + auto width_attribute = node->GetOptionalAttributeValueCaseInsensitive(u"width"); if (width_attribute) { size.width = measure_length_mapper->MapFromString(*width_attribute); } - auto height_attribute = node->GetOptionalAttributeCaseInsensitive(u"height"); + auto height_attribute = node->GetOptionalAttributeValueCaseInsensitive(u"height"); if (height_attribute) { size.height = measure_length_mapper->MapFromString(*height_attribute); } |