https://bugs.freedesktop.org/show_bug.cgi?id=62961
Priority: medium
Bug ID: 62961
Assignee: [email protected]
Summary: : SwAccessibleParagraph::getText(At|Behind)Index
should throw IndexOutOfBounds
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: Other
Whiteboard: BSA
Status: UNCONFIRMED
Version: Master old -3.6
Component: Writer
Product: LibreOffice
Problem description:
SwAccessibleParagraph::getTextAtIndex and
SwAccessibleParagraph::getTextBehindIndex should throw IndexOutOfBounds if
nIndex is longer than the text string.
Note the current, somewhat frustrated, comment by the original author of the
code:
// implement the silly specification that first position after
// text must return an empty string, rather than throwing an
// IndexOutOfBoundsException
Operating System: All
Version: Master old -3.6
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs