if (mCurrentRowIsList) { rv = mDB->CreateABListCard(mCurrentRow, getter_AddRefs(mResultCard)); *aItem = mResultCard; } else { rv = mDB->CreateABCard(mCurrentRow, getter_AddRefs(mResultCard)); *aItem = mResultCard; } NS_IF_ADDREF(*aItem);
if (mCurrentRowIsList) { rv = mDB->CreateABListCard(mCurrentRow, getter_AddRefs(mResultCard)); *aItem = mResultCard; } else { rv = mDB->CreateABCard(mCurrentRow, 0, getter_AddRefs(mResultCard)); *aItem = mResultCard; } NS_IF_ADDREF(*aItem);
NS_IMETHODIMP nsAddrDBEnumerator::CurrentItem(nsISupports **aItem){    if (mCurrentRow) 	{        nsresult rv;		if (mCurrentRowIsList)		{			rv = mDB->CreateABListCard(mCurrentRow, getter_AddRefs(mResultCard));			*aItem = mResultCard;		}		else		{			rv = mDB->CreateABCard(mCurrentRow, getter_AddRefs(mResultCard));			*aItem = mResultCard;		}		NS_IF_ADDREF(*aItem);        return NS_OK;    }    return NS_ERROR_FAILURE;}