summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/cellsh1.cxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2017-06-21 17:42:42 +0200
committerAron Budea <aron.budea@collabora.com>2018-06-21 20:14:08 +0200
commitabe9a9b023d1b08384f2f529e442e9a59de10f8c (patch)
tree29ddf5b13927555c8335c43e7fa1eca6e9199c31 /sc/source/ui/view/cellsh1.cxx
parentd99f351377a335ffbc5deddfca2860815e3bcfad (diff)
Resolves: tdf#108654 check nTabNo against maTabData size
ScViewData::DeleteTab() and DeleteTabs() never did that and worked by accident for which commit 73dec49802ef8fc42c5719efaa42a33cde68e569 removed the grounding.. squash this into it too: assert(nTab < static_cast<SCTAB>(maTabData.size())); cause of tdf#108796 Have a dev friendly abort instead of a deep throw in case of the unexpected. Change-Id: I95460cd017d558c073df7891551d0251009dc1d4 Reviewed-on: https://gerrit.libreoffice.org/56261 Reviewed-by: Aron Budea <aron.budea@collabora.com> Tested-by: Aron Budea <aron.budea@collabora.com>
Diffstat (limited to 'sc/source/ui/view/cellsh1.cxx')
0 files changed, 0 insertions, 0 deletions