summaryrefslogtreecommitdiff
path: root/include/i18nutil
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2024-08-28 18:07:56 +0500
committerMike Kaganski <mike.kaganski@collabora.com>2024-08-28 20:52:04 +0200
commitac0117713e6ce248c7725b57d709390f27dc4e62 (patch)
tree1b70453cf56683e9030a78febe78e85d05c3f99e /include/i18nutil
parent5f1579c6fe56960f529e96f629d9a37352752345 (diff)
tdf#162657: re-check the result of combining surrogates
They may constitute a combining mark, and require more characters to the left to be processed. Change-Id: Ie626badf66edaf44c56e0ba2d294304f139d2bca Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172533 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'include/i18nutil')
-rw-r--r--include/i18nutil/unicode.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/i18nutil/unicode.hxx b/include/i18nutil/unicode.hxx
index be08595e0b10..b7722fd77196 100644
--- a/include/i18nutil/unicode.hxx
+++ b/include/i18nutil/unicode.hxx
@@ -102,11 +102,11 @@ private:
public:
/**
- Build an input string of valid UTF16 units to toggle.
+ Build an input string of valid UTF16/UCS4 units to toggle.
-do not call the other functions until the input process is complete
-build string from Right to Left. (Start from the character to the left of the cursor: move left.)
*/
- bool AllowMoreInput(sal_Unicode uChar);
+ bool AllowMoreInput(sal_uInt32 uChar);
/**
Validates (and potentially modifies) the input string.