We have a baby gate with a hole cut in it blocking off the litter room, of course our dogs are bigger.
We also have to seperate our cats for feeding and each one gets their own room with a closed door. When they are done we open the doors and pick up the dishes and put them behind the baby gate, that way if there is any food left the dogs won't get it.