Fixed bug 254399

This commit is contained in:
mostafah%oeone.com 2004-08-09 16:10:45 +00:00
parent 26ac90ee08
commit 4725c49887

View File

@ -63,6 +63,8 @@ class oeCollectedEventEnumerator : public nsISimpleEnumerator
NS_IMETHOD HasMoreElements(PRBool *aResult)
{
*aResult = PR_FALSE;
if( mEnumIndex >= mListOfEnums.Count() )
return NS_OK;
mListOfEnums[mEnumIndex]->HasMoreElements(aResult);
while (!*aResult && (++mEnumIndex < mListOfEnums.Count())) {
mListOfEnums[mEnumIndex]->HasMoreElements(aResult);