LL 5123 then FR 12 at Barcelona
Munich → Barcelona → Vienna
Timetable, Barcelona time
17:50LL 5123 from Munich at the gate
15:00FR 12 to Vienna leaves the gate
21 h 10 apart on the timetable, overnight
FR 12 leaves 21 h 10 after LL 5123 arrives on the timetable: more than half a day, so not a connection we count.