summaryrefslogtreecommitdiff
path: root/sw/inc/swundo.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2023-02-08 19:52:35 +0100
committerMiklos Vajna <vmiklos@collabora.com>2023-02-09 07:34:01 +0000
commit85a64197f86b77e295b9ddfc81abf1aca4aad47d (patch)
treed090f2c05879bb2397948ab1f1e12122cd6fa53e /sw/inc/swundo.hxx
parentb1f0c23720cbb7a30128c066d54f7dcf1fdc6178 (diff)
sw: fix undo comment of FN_UPDATE_TEXT_FORMFIELD
It's an update, not an insert. One has to dispatch .uno:TextFormField, then move inside the formfield with the cursor finally dispatch .uno:UpdateTextFormField to see this in action. Change-Id: Id9e3c7b9d08582cbf83f64ff04c97dff5cbb88f4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146671 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sw/inc/swundo.hxx')
-rw-r--r--sw/inc/swundo.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/inc/swundo.hxx b/sw/inc/swundo.hxx
index 7e9e0108b71f..6b067dbec700 100644
--- a/sw/inc/swundo.hxx
+++ b/sw/inc/swundo.hxx
@@ -167,6 +167,7 @@ enum class SwUndoId
INSERT_FORM_FIELD, // 135
OUTLINE_EDIT, // 136
INSERT_PAGE_NUMBER, // 137
+ UPDATE_FORM_FIELD, // 138
};
OUString GetUndoComment(SwUndoId eId);