diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-09-20 11:14:29 +0100 |
---|---|---|
committer | Michael Stahl <Michael.Stahl@cib.de> | 2018-09-20 14:12:25 +0200 |
commit | e204c41262f4c587964c128296d45ec93009f2ac (patch) | |
tree | bc0ef4a6698b2d86e17c755b41595acdee2c6398 | |
parent | tdf#108402: avoid crash if filter doesn't match (diff) | |
download | core-e204c41262f4c587964c128296d45ec93009f2ac.tar.gz core-e204c41262f4c587964c128296d45ec93009f2ac.zip |
StartUndo with END arg should have been EndUndo
Change-Id: Iffcb770ef0ebf28e6bdbea044cd0ec8dcffa53e8
Reviewed-on: https://gerrit.libreoffice.org/60806
Tested-by: Jenkins
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
-rw-r--r-- | sw/source/uibase/shells/txtattr.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/shells/txtattr.cxx b/sw/source/uibase/shells/txtattr.cxx index 8178633720fb..51af7b8362b2 100644 --- a/sw/source/uibase/shells/txtattr.cxx +++ b/sw/source/uibase/shells/txtattr.cxx @@ -492,7 +492,7 @@ void SwTextShell::ExecParaAttrArgs(SfxRequest &rReq) rSh.ReplaceDropText(static_cast<const SfxStringItem*>(pItem)->GetValue()); } rSh.SetAttrSet(*pDlg->GetOutputItemSet()); - rSh.StartUndo( SwUndoId::END ); + rSh.EndUndo( SwUndoId::END ); rSh.EndAction(); rReq.Done(*pDlg->GetOutputItemSet()); } |