[Libreoffice-commits] core.git: Branch 'libreoffice-6-1' - sw/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Sep 20 12:12:54 UTC 2018


 sw/source/uibase/shells/txtattr.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e204c41262f4c587964c128296d45ec93009f2ac
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Sep 20 11:14:29 2018 +0100
Commit:     Michael Stahl <Michael.Stahl at cib.de>
CommitDate: Thu Sep 20 14:12:25 2018 +0200

    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 at cib.de>

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());
                 }


More information about the Libreoffice-commits mailing list