Fixed the uninitialised bool on a rich_text_run

This commit is contained in:
Kostas Dizas 2018-10-13 09:11:26 +01:00
parent 61639c7275
commit b6f0d0a7e1

View File

@ -2901,6 +2901,7 @@ rich_text xlsx_consumer::read_rich_text(const xml::qname &parent)
else if (text_element == xml::qname(xmlns, "r")) else if (text_element == xml::qname(xmlns, "r"))
{ {
rich_text_run run; rich_text_run run;
run.preserve_space = preserve_space;
while (in_element(xml::qname(xmlns, "r"))) while (in_element(xml::qname(xmlns, "r")))
{ {