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 variant_child_element = expect_start_element(xml::content::simple);
|
||||
|
||||
if (variant_child_element == xml::qname(xmlns_vt, "lpwstr"))
|
||||
{
|
||||
properties[property_name] = read_text();
|
||||
}
|
||||
// variant vt_
|
||||
properties[property_name] = read_text();
|
||||
|
||||
expect_end_element(variant_child_element);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user