Follow up I66fb2d11: use wfGetLangObj() instead