summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/uibase/shells/annotsh.cxx2
1 files changed, 1 insertions, 1 deletions
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());