 calc ScTable::ReplaceAll : avoid calling GetLastDataPos uselessly
 calc ScTable::ReplaceAll : avoid calling GetLastDataPos uselessly

Change-Id: Ibb6fb9ea3e524a889de96f560e308a4aa54fa2af
Reviewed-on: https://gerrit.libreoffice.org/12248
Reviewed-by: Eike Rathke <ca97d066ec547ed7b5f176c01ed86da55dede03e@redhat.com>
Tested-by: Eike Rathke <ca97d066ec547ed7b5f176c01ed86da55dede03e@redhat.com>

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