summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorSteve Yin <steve_y@apache.org>2013-12-10 07:58:01 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-12-10 09:16:25 +0000
commite446b4a598acf0e76eebf99d33d6691741c4cbba (patch)
tree0ec59786b7b7e4db43b453cf159fce86cb2e8a67 /editeng
parentafd32065b619a6016658eaac650a29d0d03d4c61 (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.cxx2
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++ )