From 6d1b241ab7b2edf3f3eef26f4cc514c22849caf5 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 11 Oct 2023 13:27:51 +0200 Subject: 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 --- sc/source/ui/unoobj/afmtuno.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sc/source/ui/unoobj/afmtuno.cxx') diff --git a/sc/source/ui/unoobj/afmtuno.cxx b/sc/source/ui/unoobj/afmtuno.cxx index cc4fd1fe53ce..7fbf1ba74639 100644 --- a/sc/source/ui/unoobj/afmtuno.cxx +++ b/sc/source/ui/unoobj/afmtuno.cxx @@ -48,7 +48,7 @@ using namespace ::com::sun::star; // AutoFormat map only for PropertySetInfo without Which-IDs -static o3tl::span lcl_GetAutoFormatMap() +static std::span lcl_GetAutoFormatMap() { static const SfxItemPropertyMapEntry aAutoFormatMap_Impl[] = { @@ -65,7 +65,7 @@ static o3tl::span lcl_GetAutoFormatMap() //! number format (String/Language) ??? (in XNumberFormat only ReadOnly) //! table::TableBorder ??!? -static o3tl::span lcl_GetAutoFieldMap() +static std::span lcl_GetAutoFieldMap() { static const SfxItemPropertyMapEntry aAutoFieldMap_Impl[] = { -- cgit