[Libreoffice-commits] core.git: sw/source
Vasily Melenchuk (via logerrit)
logerrit at kemper.freedesktop.org
Mon Jul 26 13:19:53 UTC 2021
sw/source/core/edit/ednumber.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 1da91cd552d29923ab7ea8027119ff5f62103d57
Author: Vasily Melenchuk <vasily.melenchuk at cib.de>
AuthorDate: Fri Jul 23 11:46:57 2021 +0300
Commit: Thorsten Behrens <thorsten.behrens at allotropia.de>
CommitDate: Mon Jul 26 15:19:15 2021 +0200
sw: undo/redo: change undo id for numbering
Instead of "Reset attributes" new undo id is "Apply attributes". Seems
less confusing when modified numbering rule is appled.
Change-Id: I0bad38475363d6e0af01597271720d71aca7722c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119401
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <thorsten.behrens at allotropia.de>
diff --git a/sw/source/core/edit/ednumber.cxx b/sw/source/core/edit/ednumber.cxx
index cd4458c276dd..994efbf37ec4 100644
--- a/sw/source/core/edit/ednumber.cxx
+++ b/sw/source/core/edit/ednumber.cxx
@@ -775,7 +775,7 @@ void SwEditShell::SetCurNumRule( const SwNumRule& rRule,
{
StartAllAction();
- GetDoc()->GetIDocumentUndoRedo().StartUndo( SwUndoId::START, nullptr );
+ GetDoc()->GetIDocumentUndoRedo().StartUndo( SwUndoId::INSATTR, nullptr );
SwPaM* pCursor = GetCursor();
if( IsMultiSelection() )
@@ -808,7 +808,7 @@ void SwEditShell::SetCurNumRule( const SwNumRule& rRule,
true, bResetIndentAttrs );
GetDoc()->SetCounted( *pCursor, true, GetLayout() );
}
- GetDoc()->GetIDocumentUndoRedo().EndUndo( SwUndoId::END, nullptr );
+ GetDoc()->GetIDocumentUndoRedo().EndUndo( SwUndoId::INSATTR, nullptr );
EndAllAction();
}
More information about the Libreoffice-commits
mailing list