Hold th emouse button over the dock icon, then click on 'remove from dock', then find the actual application in it's folder, and drag that icon back to the dock.
Hold th emouse button over the dock icon, then click on 'remove from dock', then find the actual application in it's folder, and drag that icon back to the dock.