summaryrefslogtreecommitdiff
path: root/include/comphelper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2023-05-24 09:35:10 +0200
committerStephan Bergmann <sbergman@redhat.com>2023-05-24 11:05:47 +0200
commit4f3a5acac5c1810d845e850f5199d9292c7fe1b6 (patch)
tree0efe2374b9ed5bf925de41a96e7bbd1324dc8a37 /include/comphelper
parent2c43b3f88d71e9bcf73d2b3ac52bad55aa5b9a7a (diff)
Remove unused comphelper::adjustIndexToStartOfSurrogate
...introduced in 28cc0bff10f5dcec0c7b698ae7ba275845b2cad1 "Break comphelper::adjustIndexToStartOfSurrogate out of o3tl::iterateCodePoints" in preparation for bd5c3582581f37513f45b518e348f443d5d57334 "a11y: Fix returning unpaired surrogates when retrieving characters", but which never picked it up Change-Id: I5a10a3053d2f51333e27b74a808a41df7c1912ba Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152183 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/comphelper')
-rw-r--r--include/comphelper/string.hxx13
1 files changed, 0 insertions, 13 deletions
diff --git a/include/comphelper/string.hxx b/include/comphelper/string.hxx
index 2763ded2e9fd..bab63f06f034 100644
--- a/include/comphelper/string.hxx
+++ b/include/comphelper/string.hxx
@@ -384,19 +384,6 @@ COMPHELPER_DLLPUBLIC bool isdigitAsciiString(std::u16string_view rString);
*/
COMPHELPER_DLLPUBLIC OUString sanitizeStringSurrogates(const OUString& rString);
-/** Adjust an index in case it points into the middle of a surrogate pair.
-
- @param string An OUString
-
- @param index A valid index into the string or to its end (i.e., must be in the range from zero
- to the length of string, inclusive)
-
- @return index - 1 if the original index pointed into the middle of a surrogate pair; otherwise
- the unchanged index
- */
-COMPHELPER_DLLPUBLIC sal_Int32 adjustIndexToStartOfSurrogate(
- OUString const & string, sal_Int32 index);
-
} // namespace comphelper::string
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */