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

(-)sw/source/core/txtnode/ndtxt.cxx.~1.56.~ (-2 / +5 lines)
Lines 1688-1698 Link Here
1688
                while ( nI < rStr.Len() )
1688
                while ( nI < rStr.Len() )
1689
                {
1689
                {
1690
                    cChar = rStr.GetChar( nI++ );
1690
                    cChar = rStr.GetChar( nI++ );
1691
                    nTmpPos = static_cast<xub_StrLen>(pCheckIt->xCheck->correctInputSequence( aTmpText, nTmpPos - 1, cChar, nCheckMode ));
1691
                    xub_StrLen nPrevPos = static_cast<xub_StrLen>(pCheckIt->xCheck->correctInputSequence( aTmpText, nTmpPos - 1, cChar, nCheckMode ));
1692
1692
1693
                    // valid sequence or sequence could be corrected:
1693
                    // valid sequence or sequence could be corrected:
1694
                    if ( nTmpPos != aTmpText.getLength() )
1694
                    if ( nPrevPos != aTmpText.getLength() )
1695
                    {
1695
                        bInputCorrected = true;
1696
                        bInputCorrected = true;
1697
                        nTmpPos = nPrevPos + 1;
1698
                    }
1696
                }
1699
                }
1697
1700
1698
                aText = aTmpText;
1701
                aText = aTmpText;

Return to issue 59659