mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
qualify use of extended_property enum class, fixes #186
This commit is contained in:
parent
b79221860c
commit
9f9dfe7a75
|
@ -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()))});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user