summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-03-22 21:43:43 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-03-22 21:43:43 +0100
commitdccbd373c9517a917c9d2be5d5abd6640948059a (patch)
tree5420801b06c7689cc6c3141527a5bff7f960418d /filter
parent93360085da04841fc7f48980acb37a26d6c5a174 (diff)
Use rtl::isAscii* instead of ctype.h is*
Change-Id: I3fc3db1cc2de49ebe5492fc7dae26b71aece3c6b
Diffstat (limited to 'filter')
-rw-r--r--filter/source/t602/t602filter.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/source/t602/t602filter.cxx b/filter/source/t602/t602filter.cxx
index 03f8beddaf4f..20398237294d 100644
--- a/filter/source/t602/t602filter.cxx
+++ b/filter/source/t602/t602filter.cxx
@@ -678,7 +678,7 @@ tnode T602ImportFilter::PointCmd602(unsigned char *ch)
*ch = Readchar602();
if (!*ch) return tnode::EEND;
if (*ch=='\n') return tnode::EOL;
- if (!isalpha(*ch)) return (*ch<32) ? tnode::SETCH : tnode::WRITE;
+ if (!rtl::isAsciiAlpha(*ch)) return (*ch<32) ? tnode::SETCH : tnode::WRITE;
// warning: uChar -> char
pcmd[1] = (char) rtl::toAsciiUpperCase(*ch); inschr(*ch);
@@ -749,7 +749,7 @@ void T602ImportFilter::Read602()
case tnode::POCMD: inschr('.');
ch = Readchar602();
if(ch == 0) node = tnode::EEND;
- else if(isalpha(ch)) node = PointCmd602(&ch);
+ else if(rtl::isAsciiAlpha(ch)) node = PointCmd602(&ch);
else if(ch <32) node=tnode::SETCH;
else node = tnode::WRITE;
break;