[Libreoffice-commits] core.git: chart2/source

Julien Nabet serval2412 at yahoo.fr
Mon Aug 19 10:50:33 PDT 2013


 chart2/source/tools/XMLRangeHelper.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit bd9c1714eda37bbbd43f22bfb71a7c4304d40630
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Mon Aug 19 19:49:59 2013 +0200

    Fix deprecated: use rtl::isAsciiDigit/isAsciiAlpha instead
    
    Change-Id: I74238c164e661f0090e78e5c6107b974834a685b

diff --git a/chart2/source/tools/XMLRangeHelper.cxx b/chart2/source/tools/XMLRangeHelper.cxx
index 1f11eed..227b3e0c 100644
--- a/chart2/source/tools/XMLRangeHelper.cxx
+++ b/chart2/source/tools/XMLRangeHelper.cxx
@@ -117,7 +117,7 @@ void lcl_getSingleCellAddressFromXMLString(
     sal_Int32 i = nLength - 1, nColumn = 0;
 
     // parse number for row
-    while( CharClass::isAsciiDigit( pStrArray[ i ] ) && i >= 0 )
+    while( rtl::isAsciiDigit( pStrArray[ i ] ) && i >= 0 )
         i--;
     rOutCell.nRow = (aCellStr.copy( i + 1 )).toInt32() - 1;
     // a dollar in XML means absolute (whereas in UI it means relative)
@@ -131,7 +131,7 @@ void lcl_getSingleCellAddressFromXMLString(
 
     // parse rest for column
     sal_Int32 nPower = 1;
-    while( CharClass::isAsciiAlpha( pStrArray[ i ] ))
+    while( rtl::isAsciiAlpha( pStrArray[ i ] ))
     {
         nColumn += (pStrArray[ i ] - aLetterA + 1) * nPower;
         i--;


More information about the Libreoffice-commits mailing list