The city of Quincy will not be able to recoup legal fees accrued while trying to get a historic building back up to code.