NS_IMETHOD Get( nsString *aString) { nsresult rc = NS_ERROR_FAILURE; if( mCurrent) { aString->SetString( mCurrent->GetName()); rc = NS_OK; } return rc; }
NS_IMETHODIMP nsFontSizeIterator::Get( double* aFontSize  ) { if (nsnull != mFontInfo->mSizes && mFontInfo->mSizes->Count() > 0 && mSizeIterInx < mFontInfo->mSizes->Count()) { PRUint32 size = (PRUint32)mFontInfo->mSizes->ElementAt(mSizeIterInx); *aFontSize = (double)size; return NS_OK; } return NS_ERROR_FAILURE; }
   NS_IMETHOD Get( nsString *aString)   {      nsresult rc = NS_ERROR_FAILURE;      if( mCurrent)      {         aString->SetString( mCurrent->GetName());         rc = NS_OK;      }      return rc;   }