Bank of America profit hurt by losses on credit cards, office loans

by