As long as your employer doesn't bring in cupcakes every single day, you'll be fine. Of course, I'd be thrilled if my company brought food for its employees ! Saying they are cheap is putting it mildly.
You ate the food. You logged the food. You're all set. Just be mindful of your portions. A healthy lifestyle can include an occasional cupcake.