Kaydet (Commit) e446b4a5 authored tarafından Steve Yin's avatar Steve Yin Kaydeden (comit) Caolán McNamara

Resolves: #i123620# IAccessibleHypertext::hyperlinkIndex returns 0...

when editing a cell/object where there is no link

(cherry picked from commit 552e71c2)

Change-Id: I9be20b045d3472f15c98352928d45a1349cec5c4
üst afd32065
...@@ -2907,7 +2907,7 @@ namespace accessibility ...@@ -2907,7 +2907,7 @@ namespace accessibility
// const sal_uInt16 nEEIndex = aIndex.GetEEIndex(); // const sal_uInt16 nEEIndex = aIndex.GetEEIndex();
const sal_uInt16 nEEIndex = rT.CalcEditEngineIndex( nPara, nCharIndex ); const sal_uInt16 nEEIndex = rT.CalcEditEngineIndex( nPara, nCharIndex );
sal_Int32 nHLIndex = 0; sal_Int32 nHLIndex = -1; //i123620
sal_uInt16 nHyperLink = 0; sal_uInt16 nHyperLink = 0;
sal_uInt16 nFields = rT.GetFieldCount( nPara ); sal_uInt16 nFields = rT.GetFieldCount( nPara );
for ( sal_uInt16 n = 0; n < nFields; n++ ) for ( sal_uInt16 n = 0; n < nFields; n++ )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment