Between the possibility of the installed cable being a different length on the new frame, and the tendency for previously cut cable ends to sometimes fray out and be impossible to push through a housing, I would just buy new cables and be done with it.