diff options
Diffstat (limited to 'sal/rtl/ustrbuf.cxx')
-rw-r--r-- | sal/rtl/ustrbuf.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/rtl/ustrbuf.cxx b/sal/rtl/ustrbuf.cxx index cef31a5da2ea..508c8d7a9c7c 100644 --- a/sal/rtl/ustrbuf.cxx +++ b/sal/rtl/ustrbuf.cxx @@ -168,7 +168,7 @@ void rtl_uStringbuffer_insertUtf32( { sal_Unicode buf[2]; sal_Int32 len; - OSL_ASSERT(rtl::isUnicodeCodePoint(c) && !(c >= 0xD800 && c <= 0xDFFF)); + OSL_ASSERT(rtl::isUnicodeScalarValue(c)); if (c <= 0xFFFF) { buf[0] = (sal_Unicode) c; len = 1; |