I have never come across a company in my over two decades of working life which has tried to ask another company for salary details of an applicant. Possibly, this will also hold true in your case.