W4 3175 then FR 878 at Barcelona
Bucharest → Barcelona → Venezia
Timetable, Barcelona time
08:35W4 3175 from Bucharest at the gate
08:30FR 878 to Venezia leaves the gate
23 h 55 apart on the timetable, overnight
FR 878 leaves 23 h 55 after W4 3175 arrives on the timetable: more than half a day, so not a connection we count.