do you work in the office breakroom? if not, why are there things under your nose? if someone plopped them there, pass them on. if no one wants the cookie plate by their desk people will eventually stop bringing in cookies, particularly if no one is willing to sit near the cookie plate. if you work in foodservice it's disgusting if you are eating over customers' food. if you work in reception you need to remember that the treats are for guests, not you.
if you're having cravings, figure out ways to indulge your craving for fewer calories. if you love pizza, make your own [half an english muffin -100 cals, a slice of cheese-70 cals, a Tablespoon of sauce -10 cals, a few slices of vegetables]. it's not going to hit quite the same spot as a slice from pizza hut, but it's going to get you close for under 200 cals. that's not to say you can't have your favorite slice ever again, but if you opt for the lower cal option more often, than means you can have something you like and lose weight/maintain. also, look into frozen family sized pizzas. some of the the thin crusts have decent info. i get a whole pie, get it home from the store, cut it into quarters and then eighths, and then wrap two pieces in foil and store them in the freezer. a third of the pizza runs about 330 cals, so 1/4 of it is about 250 cals. a lot of other people love using cauliflower to make the crust of the pizza. still others use a portabella cap instead of an english muffin, pita, or other crust. all of these little changes let you enjoy the food you love for fewer calories.
if you love pasta dishes, start finding vegetables that you enjoy with the pasta dishes. a cup of pasta will run you about 200 cals. a cup of zucchini or broccoli or squash is going to be about 50 cals. if you have half a cup of pasta and half a cup of vegetables, that's 125 cals instead of the 200 cals for the plain pasta. and if what you really love is the sauce, not the pasta, have sauces like alfredo over steamed broccoli.
if you love brownies, start looking to make the recipes that use prunes or black beans. try going more oatmeal based on cookies, making half batches instead of full batches, making more cookies for the same amount of batter or dough [if your recipe makes 50 cookies that have 100 cals each, if you make 100 cookies instead each cookie will only have 50 cals], freezing part of the dough you make, and not eating just cookies in a sitting [perhaps an oatmeal cookie with an apple and peanut butter].
and don't beat yourself up. most people do snack on stuff if it's left by them.
-google first. ask questions later.