The State Center building at 301 West Preston Street has been cleared of legionella bacteria, the Maryland Department of General Services said Friday.