tdf#132097: fix Find Previous with direction columns crashes in specific case
commit2670e980c7dbadbdc20ff23d57ad892951edc254
authorJulien Nabet <serval2412@yahoo.fr>
Tue, 14 Apr 2020 12:28:55 +0000 (14 14:28 +0200)
committerNoel Grandin <noel.grandin@collabora.co.uk>
Thu, 16 Apr 2020 06:21:40 +0000 (16 08:21 +0200)
tree5d14c75f5b4a0d4d76f249430fafc6c0db406a22
parentf98b3b5b9f1b05259405833e6e528e734ded4512
tdf#132097: fix Find Previous with direction columns crashes in specific case

See bt here:
https://bugs.documentfoundation.org/attachment.cgi?id=159553

nBlockPos vector is created with nLastCol + 1 elements,
so if we click on a cell in a column which is after last value,
the search will crash

Change-Id: I9de688a8a80a45c3e5ddea6d2f461926e9777052
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92165
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
sc/source/core/data/table6.cxx