Fix for 82791. Change return value type to nsresult so the loop won't sotp until all groups are processed. r=ducarroz, sr=sspitzer, a=asa.

This commit is contained in:
cavin%netscape.com 2002-03-31 05:31:42 +00:00
Родитель 3e8b664f6f
Коммит 7b2a89e61e
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -214,7 +214,7 @@ HRESULT CWAB::IterateWABContents(CWabIterator *pIter, int *pDone)
LPSRowSet lpRowAB = NULL;
LPABCONT lpContainer = NULL;
int cNumRows = 0;
PRBool keepGoing = PR_TRUE;
nsresult keepGoing;
HRESULT hr = E_FAIL;
@ -330,7 +330,7 @@ HRESULT CWAB::IterateWABContents(CWabIterator *pIter, int *pDone)
}
} while ( SUCCEEDED(hr) && cNumRows && lpRowAB && keepGoing) ;
} while ( SUCCEEDED(hr) && cNumRows && lpRowAB && NS_SUCCEEDED(keepGoing) ) ;
hr = lpAB->SeekRow( BOOKMARK_BEGINNING, 0, NULL );
@ -381,7 +381,7 @@ HRESULT CWAB::IterateWABContents(CWabIterator *pIter, int *pDone)
FreeProws(lpRowAB );
}
} while ( SUCCEEDED(hr) && cNumRows && lpRowAB && keepGoing) ;
} while ( SUCCEEDED(hr) && cNumRows && lpRowAB && NS_SUCCEEDED(keepGoing) ) ;
exit: