NS_ENSURE_ARG_POINTER(profileName); *profileName = nsnull;
nsresult rv = NS_OK; #if defined(DEBUG_profile) printf("ProfileManager : GetCurrentProfile\n"); #endif   if ( m_reg != nsnull ) {  rv = m_reg->OpenDefault();
nsProfile::GetCurrentProfile(PRUnichar **profileName){    NS_ENSURE_ARG_POINTER(profileName);    *profileName = nsnull;    gProfileDataAccess->GetCurrentProfile(profileName);    return (*profileName == nsnull) ? NS_ERROR_FAILURE : NS_OK;}