recommit "rename some things and fix some formatting"

This commit is contained in:
sukoi26 2017-02-14 22:45:44 +01:00 committed by GitHub
parent 6b9995be44
commit b758b5f7e5

View File

@ -2759,7 +2759,7 @@ rich_text xlsx_consumer::read_rich_text(const xml::qname &parent)
} }
else if (current_run_property_element == xml::qname(xmlns, "i")) else if (current_run_property_element == xml::qname(xmlns, "i"))
{ {
run.second.get().bold(parser().attribute_present("val") run.second.get().italic(parser().attribute_present("val")
? is_true(parser().attribute("val")) : true); ? is_true(parser().attribute("val")) : true);
} }
else if (current_run_property_element == xml::qname(xmlns, "u")) else if (current_run_property_element == xml::qname(xmlns, "u"))