[Libreoffice-commits] core.git: starmath/source
Julien Nabet
serval2412 at yahoo.fr
Mon Aug 19 12:16:26 PDT 2013
starmath/source/parse.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 4053a7633f58899c999f3dfcfe5a5cf3c5e6cc7f
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Mon Aug 19 21:15:33 2013 +0200
Fix deprecated: use rtl::isAsciiDigit/isAsciiAlpha instead (part3)
Change-Id: I0972f1f46ca46c6c482e016e6e0a280c205cc121
diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx
index 169ce5f..8cdd5d7 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;
More information about the Libreoffice-commits
mailing list