The ship at sea is the same miniature model used for for Titanic, which in turn was used for Gentlemen Prefer Blondes and Dangerous Crossing.
The shipboard scenes were filmed on the same sets built for Titanic, which in turn were used for Gentlemen Prefer Blondes and Dangerous Crossing.