diff options
-rw-r--r-- | sw/source/core/edit/edundo.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/core/edit/edundo.cxx b/sw/source/core/edit/edundo.cxx index 7b2ae832c795..118b3f931329 100644 --- a/sw/source/core/edit/edundo.cxx +++ b/sw/source/core/edit/edundo.cxx @@ -142,6 +142,10 @@ bool SwEditShell::Undo(sal_uInt16 const nCount) .getStr()); } + if (bRestoreCrsr) + { // fdo#39003 Pop does not touch the rest of the cursor ring + KillPams(); // so call this first to get rid of unwanted cursors + } Pop( !bRestoreCrsr ); GetDoc()->SetRedlineMode( eOld ); |