fixed pdt+ bug 29749; r=pollman; a=jar
git-svn-id: svn://10.0.0.236/trunk@62387 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -710,6 +710,8 @@ PRInt32 nsCString::ToInteger(PRInt32* anErrorCode,PRUint32 aRadix) const {
|
||||
} //switch
|
||||
}
|
||||
|
||||
theRadix = (kAutoDetect==aRadix) ? theRadix : aRadix;
|
||||
|
||||
//if you don't have any valid chars, return 0, but set the error;
|
||||
if(cp<=endcp) {
|
||||
|
||||
|
||||
@@ -863,6 +863,8 @@ PRInt32 nsString::ToInteger(PRInt32* anErrorCode,PRUint32 aRadix) const {
|
||||
} //switch
|
||||
}
|
||||
|
||||
theRadix = (kAutoDetect==aRadix) ? theRadix : aRadix;
|
||||
|
||||
//if you don't have any valid chars, return 0, but set the error;
|
||||
if(cp<=endcp) {
|
||||
|
||||
|
||||
@@ -710,6 +710,8 @@ PRInt32 nsCString::ToInteger(PRInt32* anErrorCode,PRUint32 aRadix) const {
|
||||
} //switch
|
||||
}
|
||||
|
||||
theRadix = (kAutoDetect==aRadix) ? theRadix : aRadix;
|
||||
|
||||
//if you don't have any valid chars, return 0, but set the error;
|
||||
if(cp<=endcp) {
|
||||
|
||||
|
||||
@@ -863,6 +863,8 @@ PRInt32 nsString::ToInteger(PRInt32* anErrorCode,PRUint32 aRadix) const {
|
||||
} //switch
|
||||
}
|
||||
|
||||
theRadix = (kAutoDetect==aRadix) ? theRadix : aRadix;
|
||||
|
||||
//if you don't have any valid chars, return 0, but set the error;
|
||||
if(cp<=endcp) {
|
||||
|
||||
|
||||
@@ -710,6 +710,8 @@ PRInt32 nsCString::ToInteger(PRInt32* anErrorCode,PRUint32 aRadix) const {
|
||||
} //switch
|
||||
}
|
||||
|
||||
theRadix = (kAutoDetect==aRadix) ? theRadix : aRadix;
|
||||
|
||||
//if you don't have any valid chars, return 0, but set the error;
|
||||
if(cp<=endcp) {
|
||||
|
||||
|
||||
@@ -863,6 +863,8 @@ PRInt32 nsString::ToInteger(PRInt32* anErrorCode,PRUint32 aRadix) const {
|
||||
} //switch
|
||||
}
|
||||
|
||||
theRadix = (kAutoDetect==aRadix) ? theRadix : aRadix;
|
||||
|
||||
//if you don't have any valid chars, return 0, but set the error;
|
||||
if(cp<=endcp) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user