[Libreoffice-commits] core.git: sw/source
Ashod Nakashian
ashod.nakashian at collabora.co.uk
Mon Aug 28 04:06:17 UTC 2017
sw/source/uibase/shells/textsh1.cxx | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
New commits:
commit c8777a18792a292bcbcb536e72b25b390b49000e
Author: Ashod Nakashian <ashod.nakashian at 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 <ci at libreoffice.org>
Reviewed-by: Ashod Nakashian <ashnakash at 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:
More information about the Libreoffice-commits
mailing list