diff options
author | Damjan Jovanovic <damjan@apache.org> | 2017-07-10 17:13:49 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-08-27 15:00:39 +0200 |
commit | 920b5ac7e809bce39ae9f81172f4d3cf664c08fd (patch) | |
tree | f798fe4f2b6080b8c0ae21d2b030948811934d27 /stoc | |
parent | 243c371b77f7b02d9b4cdf775a6d07ef5d67ead3 (diff) |
If called on an empty collection, don't let OEnumerationByIndex.nextElement()
call XIndexAccess.getByIndex() with an invalid index, just like
OEnumerationByName.nextElement() doesn't.
Patch by: me
(cherry picked from commit efa52a41051df84e03fc38aaeae0f6312eb2df4c)
Change-Id: Id49e45c18ed00de499cfd93e0945cecaed788ae4
Reviewed-on: https://gerrit.libreoffice.org/41574
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'stoc')
0 files changed, 0 insertions, 0 deletions