From 9f9dfe7a75d4547e5fbf67d47455c1a2236c76dd Mon Sep 17 00:00:00 2001 From: Thomas Fussell Date: Mon, 26 Jun 2017 13:26:34 +0000 Subject: [PATCH] qualify use of extended_property enum class, fixes #186 --- source/workbook/workbook.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/workbook/workbook.cpp b/source/workbook/workbook.cpp index 60c22538..9dcbc06c 100644 --- a/source/workbook/workbook.cpp +++ b/source/workbook/workbook.cpp @@ -1508,14 +1508,14 @@ void workbook::garbage_collect_formulae() 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("Worksheets"), variant(static_cast(sheet_count()))}); } }