View | Details | Raw Unified | Return to issue 119421
Collapse All | Expand All

(-)edlingu.cxx (-1 / +1 lines)
Lines 1181-1187 Link Here
1181
                    // return suggestions for first error that includes the given error position
1181
                    // return suggestions for first error that includes the given error position
1182
                    const linguistic2::SingleProofreadingError &rError = rResult.aErrors[i];
1182
                    const linguistic2::SingleProofreadingError &rError = rResult.aErrors[i];
1183
                    if (rError.nErrorStart <= rErrorPosInText && 
1183
                    if (rError.nErrorStart <= rErrorPosInText && 
1184
                        rErrorPosInText < rError.nErrorStart + rError.nErrorLength)
1184
                        rErrorPosInText + nLen < rError.nErrorStart + rError.nErrorLength)
1185
                    {
1185
                    {
1186
                        rSuggestions = rError.aSuggestions;
1186
                        rSuggestions = rError.aSuggestions;
1187
                        rErrorIndexInResult = i;
1187
                        rErrorIndexInResult = i;

Return to issue 119421