[Libreoffice-commits] core.git: i18nutil/source
Stephan Bergmann
sbergman at redhat.com
Wed Mar 22 20:39:59 UTC 2017
i18nutil/source/utility/unicode.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 73a644f438ffe436776bad708231a7dd73dd49e0
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Mar 22 21:39:28 2017 +0100
Use rtl::isAscii* instead of ctype.h is* with sal_Unicode arg
Change-Id: I6eba985f41b78160d2377b2cd4c27ec85ade33df
diff --git a/i18nutil/source/utility/unicode.cxx b/i18nutil/source/utility/unicode.cxx
index 5d8a70aa4d77..53fb973ca400 100644
--- a/i18nutil/source/utility/unicode.cxx
+++ b/i18nutil/source/utility/unicode.cxx
@@ -1153,7 +1153,7 @@ bool ToggleUnicodeCodepoint::AllowMoreInput(sal_Unicode uChar)
else if( maInput.indexOf("U+") == 8 )
mbAllowMoreChars = false;
// a hex character. Add to string.
- else if( isxdigit(uChar) )
+ else if( rtl::isAsciiHexDigit(uChar) )
{
mbIsHexString = true;
maInput.insertUtf32(0, uChar);
More information about the Libreoffice-commits
mailing list