diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2023-10-11 13:27:51 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2023-10-11 21:53:13 +0200 |
commit | 6d1b241ab7b2edf3f3eef26f4cc514c22849caf5 (patch) | |
tree | 3c8c3b278b5fe084434b0bee682575d4a41c0adb /sc/inc | |
parent | 432e34fd1e0309038d0765f2497b7925c16a8ed2 (diff) |
Drop o3tl::span, can use C++20 std::span directly now
Change-Id: Ic21ff7bf48f07f7277979d52e99d2c5c268de83f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157825
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/optuno.hxx | 2 | ||||
-rw-r--r-- | sc/inc/pch/precompiled_sc.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/inc/optuno.hxx b/sc/inc/optuno.hxx index 433dc7ec1898..72050044e363 100644 --- a/sc/inc/optuno.hxx +++ b/sc/inc/optuno.hxx @@ -39,7 +39,7 @@ class ScDocOptionsHelper { public: - static o3tl::span<const SfxItemPropertyMapEntry> GetPropertyMap(); + static std::span<const SfxItemPropertyMapEntry> GetPropertyMap(); static bool setPropertyValue( ScDocOptions& rOptions, const SfxItemPropertyMap& rPropMap, diff --git a/sc/inc/pch/precompiled_sc.hxx b/sc/inc/pch/precompiled_sc.hxx index f2f14653ab09..df9c3c3322aa 100644 --- a/sc/inc/pch/precompiled_sc.hxx +++ b/sc/inc/pch/precompiled_sc.hxx @@ -47,6 +47,7 @@ #include <optional> #include <ostream> #include <set> +#include <span> #include <sstream> #include <stddef.h> #include <stdexcept> @@ -344,7 +345,6 @@ #include <o3tl/enumarray.hxx> #include <o3tl/safeint.hxx> #include <o3tl/sorted_vector.hxx> -#include <o3tl/span.hxx> #include <o3tl/string_view.hxx> #include <o3tl/strong_int.hxx> #include <o3tl/typed_flags_set.hxx> |