TableRef: use ScTokenArray::HasReferences() instead of GetNextReferenceRPN()
TableRef: use ScTokenArray::HasReferences() instead of GetNextReferenceRPN()

To catch also a simple =Table[[#This Row],[Column]] that is outside of
table bounds located and therefor generates an error token instead of a
reference in RPN.

Change-Id: I28f5ca12b5f5998c623d0f38fcf39f037aabd317

JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core