sw/source/uibase/shells/textsh1.cxx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-)
New commits: commit c8777a18792a292bcbcb536e72b25b390b49000e Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Fri Aug 25 20:49:04 2017 -0400 sw: don't undo paragraph signatures Change-Id: I188ab9dfebd5abd24f4e404bda13d40be022b7c4 Reviewed-on: https://gerrit.libreoffice.org/41596 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnak...@gmail.com> 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: _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits