EW 7520 then W6 1476 at Barcelona
Hamburg → Barcelona → Warsaw Chopin
Timetable, Barcelona time
18:45EW 7520 from Hamburg at the gate
10:15W6 1476 to Warsaw Chopin leaves the gate
15 h 30 apart on the timetable, overnight
W6 1476 leaves 15 h 30 after EW 7520 arrives on the timetable: more than half a day, so not a connection we count.