summaryrefslogtreecommitdiff
path: root/i18nutil
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-03-22 21:39:28 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-03-22 21:39:28 +0100
commit73a644f438ffe436776bad708231a7dd73dd49e0 (patch)
treee8e1a20c3de62bf14b100952b0dd1c1a1ccfb4aa /i18nutil
parenteedb6435f863b9377197a65ffd75ebec98007ebe (diff)
Use rtl::isAscii* instead of ctype.h is* with sal_Unicode arg
Change-Id: I6eba985f41b78160d2377b2cd4c27ec85ade33df
Diffstat (limited to 'i18nutil')
-rw-r--r--i18nutil/source/utility/unicode.cxx2
1 files changed, 1 insertions, 1 deletions
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);