editeng/source/accessibility/AccessibleEditableTextPara.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit e446b4a598acf0e76eebf99d33d6691741c4cbba Author: Steve Yin <stev...@apache.org> Date: Tue Dec 10 07:58:01 2013 +0000 Resolves: #i123620# IAccessibleHypertext::hyperlinkIndex returns 0... when editing a cell/object where there is no link (cherry picked from commit 552e71c2482b5911ac485c9331a4f354ba7150b5) Change-Id: I9be20b045d3472f15c98352928d45a1349cec5c4 diff --git a/editeng/source/accessibility/AccessibleEditableTextPara.cxx b/editeng/source/accessibility/AccessibleEditableTextPara.cxx index 814b8ba..b041172 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++ ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits