Update xlsx_consumer.cpp

This commit is contained in:
sukoi26 2017-01-04 18:53:45 +01:00 committed by GitHub
parent 45428c7f2b
commit 32d3e7a61c

View File

@ -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"))
{
// variant vt_
properties[property_name] = read_text();
}
expect_end_element(variant_child_element);
}