mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
Update xlsx_consumer.cpp
This commit is contained in:
parent
45428c7f2b
commit
32d3e7a61c
|
@ -831,11 +831,8 @@ void xlsx_consumer::read_properties(const path &part, const xml::qname &root)
|
||||||
{
|
{
|
||||||
auto property_name = parser().attribute("name");
|
auto property_name = parser().attribute("name");
|
||||||
auto variant_child_element = expect_start_element(xml::content::simple);
|
auto variant_child_element = expect_start_element(xml::content::simple);
|
||||||
|
// variant vt_
|
||||||
if (variant_child_element == xml::qname(xmlns_vt, "lpwstr"))
|
|
||||||
{
|
|
||||||
properties[property_name] = read_text();
|
properties[property_name] = read_text();
|
||||||
}
|
|
||||||
|
|
||||||
expect_end_element(variant_child_element);
|
expect_end_element(variant_child_element);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user