BA 349 then BA 988 at Heathrow
Nice → London → Berlin
Timetable, London time
21:05BA 349 from Nice at the gate
15:55BA 988 to Berlin leaves the gate
18 h 50 apart on the timetable, overnight
BA 988 leaves 18 h 50 after BA 349 arrives on the timetable: more than half a day, so not a connection we count.