BA 493 then OS 338 at Heathrow
Gibraltar → London → Vienna
Timetable, London time
20:45BA 493 from Gibraltar at the gate
19:25OS 338 to Vienna leaves the gate
22 h 40 apart on the timetable, overnight
OS 338 leaves 22 h 40 after BA 493 arrives on the timetable: more than half a day, so not a connection we count.