skip hyperlink attributes for #88

This commit is contained in:
Thomas Fussell 2016-12-10 19:04:35 +00:00
parent c8e7df6289
commit a8eadc1df5

View File

@ -1725,6 +1725,8 @@ void xlsx_consumer::read_worksheet(const std::string &rel_id)
auto hyperlink_rel = std::find_if(hyperlinks.begin(), hyperlinks.end(), auto hyperlink_rel = std::find_if(hyperlinks.begin(), hyperlinks.end(),
[&](const relationship &r) { return r.id() == hyperlink_rel_id; }); [&](const relationship &r) { return r.id() == hyperlink_rel_id; });
skip_attributes({"location", "tooltip", "display"});
if (hyperlink_rel != hyperlinks.end()) if (hyperlink_rel != hyperlinks.end())
{ {
cell.hyperlink(hyperlink_rel->target().path().string()); cell.hyperlink(hyperlink_rel->target().path().string());