calIcalComponent::GetNextSubcomponent(PRInt32 componentType,
calIcalComponent::GetNextSubcomponent(const nsACString& kind,
calIcalComponent::GetNextSubcomponent(PRInt32 componentType,                                      calIIcalComponent **subcomp){    icalcomponent *ical =        icalcomponent_get_next_component(mComponent,                                         (icalcomponent_kind)componentType);    if (!ical) {        *subcomp = nsnull;        return NS_OK;    }    *subcomp = new calIcalComponent(ical, this);    if (!*subcomp)        return NS_ERROR_OUT_OF_MEMORY;    NS_ADDREF(*subcomp);    return NS_OK;}