diff options
-rw-r--r-- | filter/source/t602/t602filter.cxx | 4 |
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; |