Line shapes in photoexcitation of triply excited hollow states