Fix another NS_STATIC_CAST, missed by the first patch because it's a case the script doesn't handle, still bug 348748.
git-svn-id: svn://10.0.0.236/trunk@231985 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
fb15536c44
commit
761f3a64de
@ -3967,8 +3967,8 @@ WLLT_OnSubmit(nsIDOMHTMLFormElement* currentFormNode, nsIDOMWindowInternal* wind
|
||||
PRInt32 count = LIST_COUNT(wallet_DistinguishedSchema_list);
|
||||
/* test for at least two distinguished schemas and no passwords */
|
||||
for (PRInt32 i=0; i<count; i++) {
|
||||
mapElementPtr = NS_STATIC_CAST
|
||||
(wallet_MapElement*, wallet_DistinguishedSchema_list->ElementAt(i));
|
||||
mapElementPtr = static_cast<wallet_MapElement*>
|
||||
(wallet_DistinguishedSchema_list->ElementAt(i));
|
||||
if (schema.Equals(mapElementPtr->item1, nsCaseInsensitiveCStringComparator()) && !value.IsEmpty()) {
|
||||
hits++;
|
||||
if (hits > 1 && newValueFound) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user