The burglary of Jane's office had been staged both to drive Jane into investigating the case and to hide a bug in the office to keep tabs on Jane and Holmes' progress and beat them to his former partners.
The burglary of Jane's office aimed to make Jane investigate the case and hide a bug in the office to surveil her and Holmes' activities, preventing them from catching up with their former partners.