Dominic LeBlanc, a long-time Liberal cabinet member, was sworn in as finance minister hours after Chrystia Freeland resigned from the role.