multi_type_vector: the position() method should return a valid end position when the logical position is the last valid position + 1.
When calling the
position() method with a logical position of the last valid element position + 1, it should return a valid end position. Currently the method throws an exception of "block position not found".
This applies to both variants of the
position() method; one that only takes a logical position, and one that takes a position hint object and a logical position.
This issue was originally discovered during the code review here: https://gerrit.libreoffice.org/#/c/57358/