Do not void the cheque. If you print your cheques from QuickBooks, find the paycheque and reprint it with the new cheque number. Lost cheque replaced.
If you write your cheques manually, rewrite the cheque. Find the cheque in QuickBooks, change the number to the new cheque number.
Enter the lost cheque in your "Write cheques" Window. Void it. Make a note in the memo section that the original cheque with this number was for payroll and replaced with cheque number (new cheque number).