mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-15 06:15:43 +00:00
fixed pdt+ bug 29749; r=pollman; a=jar
This commit is contained in:
parent
6be7a25f82
commit
e2639fea30
@ -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) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user