It's the last column with data in any row, not the last cell with
data in the current row.
Change-Id: Ib5e719ed6b50c2c5f2b48a8d4cad8bd9f52a3cac
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/145355
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins