BA 777 then BA 698 at Heathrow
Stockholm → London → Vienna
Timetable, London time
15:10BA 777 from Stockholm at the gate
14:45BA 698 to Vienna leaves the gate
23 h 35 apart on the timetable, overnight
BA 698 leaves 23 h 35 after BA 777 arrives on the timetable: more than half a day, so not a connection we count.