BA 1485 then BA 992 at Heathrow
Glasgow → London → Berlin
Timetable, London time
19:25BA 1485 from Glasgow at the gate
19:05BA 992 to Berlin leaves the gate
23 h 40 apart on the timetable, overnight
BA 992 leaves 23 h 40 after BA 1485 arrives on the timetable: more than half a day, so not a connection we count.