qualify use of extended_property enum class, fixes #186

This commit is contained in:
Thomas Fussell 2017-06-26 13:26:34 +00:00
parent b79221860c
commit 9f9dfe7a75

View File

@ -1508,14 +1508,14 @@ void workbook::garbage_collect_formulae()
void workbook::update_sheet_properties() void workbook::update_sheet_properties()
{ {
if (has_extended_property(extended_property::titles_of_parts)) if (has_extended_property(xlnt::extended_property::titles_of_parts))
{ {
extended_property(extended_property::titles_of_parts, sheet_titles()); extended_property(xlnt::extended_property::titles_of_parts, sheet_titles());
} }
if (has_extended_property(extended_property::heading_pairs)) if (has_extended_property(xlnt::extended_property::heading_pairs))
{ {
extended_property(extended_property::heading_pairs, extended_property(xlnt::extended_property::heading_pairs,
std::vector<variant>{variant("Worksheets"), variant(static_cast<int>(sheet_count()))}); std::vector<variant>{variant("Worksheets"), variant(static_cast<int>(sheet_count()))});
} }
} }