include/o3tl/string_view.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 140d09520cc92135093d61e8b6b0de9cc26a4edc Author: Andrea Gelmini <[email protected]> AuthorDate: Thu May 4 23:14:39 2023 +0200 Commit: Julien Nabet <[email protected]> CommitDate: Fri May 5 09:12:51 2023 +0200 Fix typo Change-Id: If680acecd66a59f2fcd12aa8121bdf548404ca51 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151405 Tested-by: Jenkins Reviewed-by: Julien Nabet <[email protected]> diff --git a/include/o3tl/string_view.hxx b/include/o3tl/string_view.hxx index 6ed7af121cc9..2609a32efe35 100644 --- a/include/o3tl/string_view.hxx +++ b/include/o3tl/string_view.hxx @@ -508,7 +508,7 @@ inline double toDouble(std::string_view str) return rtl_math_stringToDouble(str.data(), str.data() + str.size(), '.', 0, nullptr, nullptr); } -// Similar to OUString::iterateCodePoins, but for std::string_view. +// Similar to OUString::iterateCodePoints, but for std::string_view. // If preAdjustIndex is true: prior to any other operation, *indexUtf16 is adjusted by -1 if it // originally pointed into the middle of a surrogate pair. inline sal_uInt32 iterateCodePoints(std::u16string_view string, std::size_t* indexUtf16,
