summaryrefslogtreecommitdiff
path: root/include/rtl
diff options
context:
space:
mode:
Diffstat (limited to 'include/rtl')
-rw-r--r--include/rtl/ustring.h4
-rw-r--r--include/rtl/ustring.hxx4
2 files changed, 6 insertions, 2 deletions
diff --git a/include/rtl/ustring.h b/include/rtl/ustring.h
index 831ecd66d9be..50dbd75a5ecc 100644
--- a/include/rtl/ustring.h
+++ b/include/rtl/ustring.h
@@ -2023,7 +2023,9 @@ SAL_DLLPUBLIC void SAL_CALL rtl_uString_newToAsciiUpperCase(
string.
The new string results from removing all characters with values less than
- or equal to 32 (the space character) form both ends of str.
+ or equal to 32 (the space character), and also Unicode General Punctuation
+ area Space and some Control characters, form both ends of str (see
+ rtl_ImplIsWhitespace).
This function cannot be used for language-specific conversion. The new
string does not necessarily have a reference count of 1 (in cases where
diff --git a/include/rtl/ustring.hxx b/include/rtl/ustring.hxx
index 337e8509a53d..bc87c2936eef 100644
--- a/include/rtl/ustring.hxx
+++ b/include/rtl/ustring.hxx
@@ -2635,7 +2635,9 @@ public:
of the string.
All characters that have codes less than or equal to
- 32 (the space character) are considered to be white space.
+ 32 (the space character), and Unicode General Punctuation area Space
+ and some Control characters are considered to be white space (see
+ rtl_ImplIsWhitespace).
If the string doesn't contain white spaces at both ends,
then the new string is assigned with str.