diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-08-19 21:15:33 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-08-19 21:16:03 +0200 |
commit | 4053a7633f58899c999f3dfcfe5a5cf3c5e6cc7f (patch) | |
tree | 462526bdee6d937f7fbc1b0b89c73f06ee9f6bc1 /starmath | |
parent | 053b21badc3236aa52de360df2751bcd65d936b6 (diff) |
Fix deprecated: use rtl::isAsciiDigit/isAsciiAlpha instead (part3)
Change-Id: I0972f1f46ca46c6c482e016e6e0a280c205cc121
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/parse.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx index 169ce5f032d5..8cdd5d7ecb23 100644 --- a/starmath/source/parse.cxx +++ b/starmath/source/parse.cxx @@ -900,7 +900,7 @@ void SmParser::NextToken() { cChar = m_aBufferString.GetChar( ++m_nBufferIndex ); } - while ( cChar == '.' || CharClass::isAsciiDigit( cChar ) ); + while ( cChar == '.' || rtl::isAsciiDigit( cChar ) ); m_aCurToken.aText = m_aBufferString.Copy( sal::static_int_cast< xub_StrLen >(nTxtStart), sal::static_int_cast< xub_StrLen >(m_nBufferIndex - nTxtStart) ); @@ -1963,7 +1963,7 @@ static bool lcl_IsNumber(const OUString& rText) else bPoint = true; } - else if ( !CharClass::isAsciiDigit( cChar ) ) + else if ( !rtl::isAsciiDigit( cChar ) ) return false; } return true; |