FR 7351 then FR 755 at Vienna
Barcelona → Vienna → Stockholm
Timetable, Vienna time
22:40FR 7351 from Barcelona at the gate
16:45FR 755 to Stockholm leaves the gate
18 h 05 apart on the timetable, overnight
FR 755 leaves 18 h 05 after FR 7351 arrives on the timetable: more than half a day, so not a connection we count.