LA 5745 then LH 1819 at Barcelona
Rome → Barcelona → Munich
Timetable, Barcelona time
01:25LA 5745 from Rome at the gate
20:15LH 1819 to Munich leaves the gate
18 h 50 apart on the timetable
LH 1819 leaves 18 h 50 after LA 5745 arrives on the timetable: more than half a day, so not a connection we count.