summaryrefslogtreecommitdiff
path: root/include/o3tl
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2023-05-04 23:14:39 +0200
committerJulien Nabet <serval2412@yahoo.fr>2023-05-05 09:12:51 +0200
commit140d09520cc92135093d61e8b6b0de9cc26a4edc (patch)
tree9bd33866ed121d81038cc97f3fb48999086058f3 /include/o3tl
parent2a7952962ace0ff0ab1dc5379b27fdabc82a64b5 (diff)
Fix typo
Change-Id: If680acecd66a59f2fcd12aa8121bdf548404ca51 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151405 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'include/o3tl')
-rw-r--r--include/o3tl/string_view.hxx2
1 files changed, 1 insertions, 1 deletions
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,