Kaydet (Commit) 9df97a7d authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Use rtl::isAscii* instead of ctype.h is* (and fix passing plain char)

Change-Id: I0b478dfa25a54595ba0dcee1ca3ec0291ee94ef5
üst 7a46166b
......@@ -19,6 +19,7 @@
#include <comphelper/scopeguard.hxx>
#include <comphelper/string.hxx>
#include <filter/msfilter/mscodec.hxx>
#include <rtl/character.hxx>
#include <rtl/strbuf.hxx>
#include <rtl/string.hxx>
#include <sal/log.hxx>
......@@ -131,7 +132,7 @@ bad_data:
do
{
PRUint32 decimal = 0;
while (len > 0 && isdigit(*from))
while (len > 0 && rtl::isAsciiDigit(static_cast<unsigned char>(*from)))
{
PRUint32 addend = (*from++ - '0');
--len;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment