summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-09-20 11:14:29 +0100
committerMichael Stahl <Michael.Stahl@cib.de>2018-09-20 14:12:25 +0200
commite204c41262f4c587964c128296d45ec93009f2ac (patch)
treebc0ef4a6698b2d86e17c755b41595acdee2c6398 /sw/source
parent7d703f00ed94b0d6ea44132896f1926fb68c1c04 (diff)
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>
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/uibase/shells/txtattr.cxx2
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());
}