[Libreoffice-commits] core.git: sw/source

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


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

New commits:
commit 6f14bf55a88cc1577d261ff5c48221632ae46a85
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Sep 20 11:14:29 2018 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Sep 20 14:11:29 2018 +0200

    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 at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

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


More information about the Libreoffice-commits mailing list