NS_IMETHODIMP nsImportFieldMap::DefaultFieldMap(int32_t size) { nsresult rv = SetFieldMapSize(size); if (NS_FAILED(rv)) return rv; for (int32_t i = 0; i < size; i++) { m_pFields[i] = i; m_pActive[i] = true; } return NS_OK; }
NS_IMETHODIMP nsImportFieldMap::DefaultFieldMap(PRInt32 size) { nsresult rv = SetFieldMapSize( size); if (NS_FAILED( rv)) return( rv); for (PRInt32 i = 0; i < size; i++) { m_pFields[i] = i; m_pActive[i] = true; } return( NS_OK); }