If there is no "refreshment" clause in your lease, then no, they cannot charge you for painting. Your responsibility is to leave the apartment clean and that's it. Of course, if you caused any damages, then yes, you would be responsible for that. In my area, it is a law that a landlord must paint between tenant's occupancy. Since the landlord is going to paint, maybe fill in any nail holes left on the walls.
You are not responsible for a new paint job for the new tenant.