FR 6974 then LA 5795 at Barcelona
Rome → Barcelona → Vienna
Timetable, Barcelona time
22:25FR 6974 from Rome at the gate
10:50LA 5795 to Vienna leaves the gate
12 h 25 apart on the timetable, overnight
LA 5795 leaves 12 h 25 after FR 6974 arrives on the timetable: more than half a day, so not a connection we count.