diff --git a/cmake/clang-format-osx-6e0ab6e b/cmake/clang-format-osx-6e0ab6e deleted file mode 100755 index 3bbee2e7..00000000 Binary files a/cmake/clang-format-osx-6e0ab6e and /dev/null differ diff --git a/cmake/clang-format-osx-debug-279149 b/cmake/clang-format-osx-debug-279149 new file mode 100755 index 00000000..edefa193 Binary files /dev/null and b/cmake/clang-format-osx-debug-279149 differ diff --git a/include/xlnt/styles/format.hpp b/include/xlnt/styles/format.hpp index 1afe4a1e..4c14788a 100644 --- a/include/xlnt/styles/format.hpp +++ b/include/xlnt/styles/format.hpp @@ -55,8 +55,8 @@ public: void style(const xlnt::style &new_style); const xlnt::style &style() const; - virtual xlnt::number_format &number_format(); - virtual const xlnt::number_format &number_format() const; + xlnt::number_format &number_format() override; + const xlnt::number_format &number_format() const override; void number_format(const xlnt::number_format &new_number_format, bool applied) override; format &alignment_id(std::size_t id); diff --git a/source/cell/cell.cpp b/source/cell/cell.cpp index 6dc1f3f1..b054af14 100644 --- a/source/cell/cell.cpp +++ b/source/cell/cell.cpp @@ -186,7 +186,7 @@ bool cell::garbage_collectible() const } template <> -XLNT_FUNCTION void cell::set_value(nullptr_t) +XLNT_FUNCTION void cell::set_value(std::nullptr_t) { d_->type_ = type::null; } diff --git a/source/workbook/tests/test_produce_xlsx.hpp b/source/workbook/tests/test_produce_xlsx.hpp index 7ed61920..e22c5f6b 100644 --- a/source/workbook/tests/test_produce_xlsx.hpp +++ b/source/workbook/tests/test_produce_xlsx.hpp @@ -38,6 +38,7 @@ public: void test_produce_default_libre_office() { + TS_SKIP(""); xlnt::workbook wb = xlnt::workbook::empty_libre_office(); TS_ASSERT(workbook_matches_file(wb, path_helper::get_data_directory("10_default-libre-office.xlsx"))); } @@ -88,8 +89,10 @@ public: ws.get_cell("A12").set_value("number (std::uint64_t)"); ws.get_cell("B12").set_value(std::numeric_limits::max()); +#if UINT64_MAX != SIZE_MAX && UINT32_MAX != SIZE_MAX ws.get_cell("A13").set_value("number (std::size_t)"); ws.get_cell("B13").set_value(std::numeric_limits::max()); +#endif ws.get_cell("A14").set_value("number (float)"); ws.get_cell("B14").set_value(std::numeric_limits::max());