An office of profit means a position that brings to the person holding it some financial gain, or advantage, or benefit. It may be an office or place of profit if it carries some remuneration, financial advantage, benefit etc. From Wikipedia
Anjali Damania accuses Maharashtra minister Dhananjay Munde of violating Office of Profit rules and demands a Mumbai trial for the murder case.