diff options
author | Steve Yin <steve_y@apache.org> | 2013-12-10 07:58:01 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-12-10 09:16:25 +0000 |
commit | e446b4a598acf0e76eebf99d33d6691741c4cbba (patch) | |
tree | 0ec59786b7b7e4db43b453cf159fce86cb2e8a67 /editeng | |
parent | afd32065b619a6016658eaac650a29d0d03d4c61 (diff) |
Resolves: #i123620# IAccessibleHypertext::hyperlinkIndex returns 0...
when editing a cell/object where there is no link
(cherry picked from commit 552e71c2482b5911ac485c9331a4f354ba7150b5)
Change-Id: I9be20b045d3472f15c98352928d45a1349cec5c4
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/accessibility/AccessibleEditableTextPara.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/accessibility/AccessibleEditableTextPara.cxx b/editeng/source/accessibility/AccessibleEditableTextPara.cxx index 814b8ba92adf..b041172510c2 100644 --- a/editeng/source/accessibility/AccessibleEditableTextPara.cxx +++ b/editeng/source/accessibility/AccessibleEditableTextPara.cxx @@ -2907,7 +2907,7 @@ namespace accessibility // const sal_uInt16 nEEIndex = aIndex.GetEEIndex(); const sal_uInt16 nEEIndex = rT.CalcEditEngineIndex( nPara, nCharIndex ); - sal_Int32 nHLIndex = 0; + sal_Int32 nHLIndex = -1; //i123620 sal_uInt16 nHyperLink = 0; sal_uInt16 nFields = rT.GetFieldCount( nPara ); for ( sal_uInt16 n = 0; n < nFields; n++ ) |