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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Mon Sep 28 15:00:16 UTC 2020


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

New commits:
commit 2c771c0552bfab8d97ec5c35b363a3e4eda0b6dc
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Sep 25 16:48:44 2020 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon Sep 28 16:59:26 2020 +0200

    Related: tdf#136985 apparent phantom redo entries with cursor in comment
    
    with a redo element in redo stack but the cursor in a comment the
    redo dropdown list appears empty even though the toolbar button
    is active. The problem doesn't appear in the undo case.
    
    This typo appears tobe there since original checkin of
    
    commit 9b67ca9c73b72a889811123269854ab2ca89d6a9
    Date:   Tue Feb 19 12:57:51 2008 +0000
    
        INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
    
    Change-Id: I8715989c3e9958e3d2a0041129fbed81501057ed
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103545
    Tested-by: Caolán McNamara <caolanm at redhat.com>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sw/source/uibase/shells/annotsh.cxx b/sw/source/uibase/shells/annotsh.cxx
index 71c87569859e..f45a9a8233ea 100644
--- a/sw/source/uibase/shells/annotsh.cxx
+++ b/sw/source/uibase/shells/annotsh.cxx
@@ -1662,7 +1662,7 @@ void SwAnnotationShell::StateUndo(SfxItemSet &rSet)
                     else if ((nWhich == SID_GETREDOSTRINGS) &&
                              (rSh.GetFirstRedoInfo(nullptr, nullptr)))
                     {
-                        rSh.GetDoStrings( SwWrtShell::UNDO, aItem );
+                        rSh.GetDoStrings( SwWrtShell::REDO, aItem );
                     }
 
                     sList.append(aItem.GetString());


More information about the Libreoffice-commits mailing list