Issue 123620

Summary: [ia2] IAccessibleHypertext::hyperlinkIndex returns 0 when editing a cell/object where there is no link
Product: General Reporter: James Teh <jamie>
Component: accessibilityAssignee: AOO issues mailing list <issues>
Status: CLOSED FIXED QA Contact:
Severity: Normal    
Priority: P3 CC: issues, steve.yin.aoo
Version: 4.1.0-dev   
Target Milestone: 4.1.0   
Hardware: PC   
OS: Windows, all   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 121767    

Description James Teh 2013-11-04 07:58:27 UTC
Str:
1. Open Calc.
2. Press f2 to edit the current cell.
3. Get the accessible for the focus.
4. Call IAccessibleHypertext::hyperlinkIndex with offset 0.
Expected: 0 is returned.
Actual: -1 should be returned, since there is no link.
5. Type the letter "t".
6. Call IAccessibleHypertext::hyperlinkIndex with offset 0.
Expected: 0 is returned.
Actual: -1 should be returned, since there is no link.
Comment 1 James Teh 2013-11-04 08:07:14 UTC
*** Issue 123621 has been marked as a duplicate of this issue. ***
Comment 2 James Teh 2013-11-04 23:24:59 UTC
This also occurs in Impress when editing an object; e.g. the slide title, subtitle or outliner.
Comment 3 Steve Yin 2013-12-06 08:23:03 UTC
Reproduced. AOO410m1(Build:9750)  -  Rev. 1544170
Comment 4 Steve Yin 2013-12-10 07:05:41 UTC
Initial value of nHLIndex should be -1.
Comment 5 SVN Robot 2013-12-10 08:00:25 UTC
"steve_y" committed SVN revision 1549778 into trunk:
Bug 123620 - [ia2] IAccessibleHypertext::hyperlinkIndex returns 0 when editin...