https://issues.apache.org/ooo/show_bug.cgi?id=122015

--- Comment #1 from Ariel Constenla-Haile <[email protected]> ---
The regression is introduced by the fix for bug 119421 with revision 1455480

if( (rError.nErrorStart <= rErrorPosInText) &&
    (rErrorPosInText + nLen < rError.nErrorStart + rError.nErrorLength))

when you right-click on a word with grammar errors, rErrorPosInText is equal to
rError.nErrorStart, and nLen is equal to rError.nErrorLength, this makes the
second part of the condition evaluate to false:

 (rErrorPosInText + nLen < rError.nErrorStart + rError.nErrorLength)

because rErrorPosInText + nLen is equal to rError.nErrorStart +
rError.nErrorLength

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

Reply via email to