diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-02-15 12:36:11 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-02-15 12:36:11 +0100 |
commit | 3210bc85ae1276350f18f4795efefe491c2206c2 (patch) | |
tree | 75c8d5831620cdc1d0c9145ca4579197e5cf0d94 /sal/textenc/tcvtutf8.cxx | |
parent | a0acad42105bc3f0304121a86f755958e38aeaac (diff) |
Rename rtl::isValidCodePoint -> rtl::isUnicodeCodePoint
...and fix its documentation, and use it throughout the code base.
Change-Id: I349bc2009b1b0aa7115ea90bc6ecd0a812f63698
Diffstat (limited to 'sal/textenc/tcvtutf8.cxx')
-rw-r--r-- | sal/textenc/tcvtutf8.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/textenc/tcvtutf8.cxx b/sal/textenc/tcvtutf8.cxx index 1f0b2bfc96ef..f9c9879c54a3 100644 --- a/sal/textenc/tcvtutf8.cxx +++ b/sal/textenc/tcvtutf8.cxx @@ -163,7 +163,7 @@ sal_Size ImplConvertUtf8ToUnicode( *pDestBufPtr++ = (sal_Unicode) nUtf32; else goto no_output; - else if (nUtf32 <= 0x10FFFF) + else if (rtl::isUnicodeCodePoint(nUtf32)) if (pDestBufEnd - pDestBufPtr >= 2) { *pDestBufPtr++ = (sal_Unicode) ImplGetHighSurrogate(nUtf32); |