diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2023-02-08 19:52:35 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2023-02-09 07:34:01 +0000 |
commit | 85a64197f86b77e295b9ddfc81abf1aca4aad47d (patch) | |
tree | d090f2c05879bb2397948ab1f1e12122cd6fa53e /sw/inc | |
parent | b1f0c23720cbb7a30128c066d54f7dcf1fdc6178 (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')
-rw-r--r-- | sw/inc/strings.hrc | 1 | ||||
-rw-r--r-- | sw/inc/swundo.hxx | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/sw/inc/strings.hrc b/sw/inc/strings.hrc index e6927179b875..af916bf78422 100644 --- a/sw/inc/strings.hrc +++ b/sw/inc/strings.hrc @@ -588,6 +588,7 @@ #define STR_UNDO_TBLSTYLE_UPDATE NC_("STR_UNDO_TBLSTYLE_UPDATE", "Update table style: $1") #define STR_UNDO_TABLE_DELETE NC_("STR_UNDO_TABLE_DELETE", "Delete table") #define STR_UNDO_INSERT_FORM_FIELD NC_("STR_UNDO_INSERT_FORM_FIELD", "Insert form field") +#define STR_UNDO_UPDATE_FORM_FIELD NC_("STR_UNDO_UPDATE_FORM_FIELD", "Update form field") #define STR_UNDO_INSERT_PAGE_NUMBER NC_("STR_UNDO_INSERT_PAGE_NUMBER", "Insert page number") #define STR_DROP_DOWN_FIELD_ITEM_LIMIT NC_("STR_DROP_DOWN_FIELD_ITEM_LIMIT", "You can specify maximum of 25 items for a drop-down form field.") 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); |