summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/uibase/shells/textsh1.cxx11
1 files changed, 7 insertions, 4 deletions
diff --git a/sw/source/uibase/shells/textsh1.cxx b/sw/source/uibase/shells/textsh1.cxx
index 4142142f1fc4..18d80a3961f6 100644
--- a/sw/source/uibase/shells/textsh1.cxx
+++ b/sw/source/uibase/shells/textsh1.cxx
@@ -1104,14 +1104,17 @@ void SwTextShell::Execute(SfxRequest &rReq)
if (!pPaM)
pPaM = rWrtSh.GetCursor();
- rWrtSh.StartUndo(SwUndoId::PARA_SIGN_ADD);
- rWrtSh.StartAction();
+ // rWrtSh.StartUndo(SwUndoId::PARA_SIGN_ADD);
+ // rWrtSh.StartAction();
+ // const bool isUndoEnabled = GetDoc()->GetIDocumentUndoRedo().DoesUndo();
+ // GetDoc()->GetIDocumentUndoRedo().DoUndo(false);
rWrtSh.SignParagraph(pPaM);
- rWrtSh.EndAction();
+ // GetDoc()->GetIDocumentUndoRedo().DoUndo(isUndoEnabled);
- rWrtSh.EndUndo(SwUndoId::PARA_SIGN_ADD);
+ // rWrtSh.EndAction();
+ // rWrtSh.EndUndo(SwUndoId::PARA_SIGN_ADD);
}
break;
case FN_NUM_CONTINUE: