Mineral oils come from petroleum based compounds, while hydrogenated vegetable oil is made by treating natural vegetable fats with hydrogen. The similarities between these two ingredients end past their shared ability to keep moisture on the skin with their saturated fatty acid compositions. Having an allergy to one does not reflect an allergy to the other. Note that mineral oils do not have unsaturated fatty acids.