From 32d3e7a61c98d545a2d0bdac9069cb45c740e613 Mon Sep 17 00:00:00 2001 From: sukoi26 Date: Wed, 4 Jan 2017 18:53:45 +0100 Subject: [PATCH] Update xlsx_consumer.cpp --- source/detail/xlsx_consumer.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/source/detail/xlsx_consumer.cpp b/source/detail/xlsx_consumer.cpp index 1d3cbb26..a237f7c1 100644 --- a/source/detail/xlsx_consumer.cpp +++ b/source/detail/xlsx_consumer.cpp @@ -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); }