summaryrefslogtreecommitdiff
path: root/include/o3tl/string_view.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/o3tl/string_view.hxx')
-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,