summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-09-20 11:14:29 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-09-20 14:11:29 +0200
commit6f14bf55a88cc1577d261ff5c48221632ae46a85 (patch)
treea16c6f34013b708b74404f9f47d7596505265417 /sw/source
parent0185dfc5ece111e2755afed729f2f2c00fe49114 (diff)
StartUndo with END arg should have been EndUndo
Change-Id: Iffcb770ef0ebf28e6bdbea044cd0ec8dcffa53e8 Reviewed-on: https://gerrit.libreoffice.org/60804 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
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 f1fe48c922c2..3832812c30c0 100644
--- a/sw/source/uibase/shells/txtattr.cxx
+++ b/sw/source/uibase/shells/txtattr.cxx
@@ -490,7 +490,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());
}