inherit existing HasHeader when expanding/shrinking anonymous database range
inherit existing HasHeader when expanding/shrinking anonymous database range

tdf#88402 related

Adding columns, invoking Data->Sort, Cancel now still does not lose a
HasHeader set in a previous Sort dialog.

Change-Id: I1388b8f6a1964fb584f1826751072ba648f53ab7

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