What makes you think the A340 is uneconimical? It even operates the off peak LHR until the summer
It is being replaced in May with a 777. 340 is uneconomical with a tag in europe, don't worry it won't be happening soon, 2-3 years down the line when we have 2 class 777's available.