[Libreoffice-commits] core.git: Branch 'aoo/trunk' - editeng/source

Steve Yin steve_y at apache.org
Tue Dec 10 00:08:20 PST 2013


 editeng/source/accessibility/AccessibleEditableTextPara.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 552e71c2482b5911ac485c9331a4f354ba7150b5
Author: Steve Yin <steve_y at apache.org>
Date:   Tue Dec 10 07:58:01 2013 +0000

    Bug 123620 - [ia2] IAccessibleHypertext::hyperlinkIndex returns 0 when editing a cell/object where there is no link

diff --git a/editeng/source/accessibility/AccessibleEditableTextPara.cxx b/editeng/source/accessibility/AccessibleEditableTextPara.cxx
index a9cc3b16..26139e7 100644
--- a/editeng/source/accessibility/AccessibleEditableTextPara.cxx
+++ b/editeng/source/accessibility/AccessibleEditableTextPara.cxx
@@ -3005,7 +3005,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++ )


More information about the Libreoffice-commits mailing list