On pancyclic line graphs