diff options
-rw-r--r-- | sw/source/core/undo/unovwr.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/core/undo/unovwr.cxx b/sw/source/core/undo/unovwr.cxx index 67df96c92e26..da8ff670d186 100644 --- a/sw/source/core/undo/unovwr.cxx +++ b/sw/source/core/undo/unovwr.cxx @@ -120,6 +120,7 @@ bool SwUndoOverwrite::CanGrouping( SwDoc* pDoc, SwPosition& rPos, rCC.isLetterNumeric( aInsStr, aInsStr.getLength()-1 ) ) return false; + if (!bInsChar && rPos.nContent.GetIndex() < pDelTextNd->GetText().getLength()) { SwRedlineSaveDatas aTmpSav; SwPaM aPam( rPos.nNode, rPos.nContent.GetIndex(), |