diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2023-03-01 20:02:19 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2023-03-02 07:01:08 +0000 |
commit | 0449583616bf1a73936229ec2aa333b5ecf5e882 (patch) | |
tree | 36777a6a2970a08556eb4feb68d18af012938960 /sw/inc | |
parent | b4029ccb6ab58d955c773e8452ce064b869b1740 (diff) |
sw: fix undo comment of FN_UPDATE_BOOKMARK
It's an update and the name was not set. One has to dispatch
.uno:UpdateBookmark to see this in action, which does something if the
cursor is inside an exiting bookmark.
Change-Id: Ib9c54a28c5410cc001468952cfd8577a9412d664
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148073
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 40cbb9acb8c4..8b8b1df2731c 100644 --- a/sw/inc/strings.hrc +++ b/sw/inc/strings.hrc @@ -438,6 +438,7 @@ #define STR_INSERT_GLOSSARY NC_("STR_INSERT_GLOSSARY", "Insert AutoText") #define STR_DELBOOKMARK NC_("STR_DELBOOKMARK", "Delete bookmark: $1") #define STR_INSBOOKMARK NC_("STR_INSBOOKMARK", "Insert bookmark: $1") +#define STR_UPDATE_BOOKMARK NC_("STR_UPDATE_BOOKMARK", "Update bookmark: $1") #define STR_SORT_TBL NC_("STR_SORT_TBL", "Sort table") #define STR_SORT_TXT NC_("STR_SORT_TXT", "Sort text") #define STR_INSTABLE_UNDO NC_("STR_INSTABLE_UNDO", "Insert table: $1$2$3") diff --git a/sw/inc/swundo.hxx b/sw/inc/swundo.hxx index 61261fb9769b..d4da619560cc 100644 --- a/sw/inc/swundo.hxx +++ b/sw/inc/swundo.hxx @@ -170,6 +170,7 @@ enum class SwUndoId UPDATE_FORM_FIELD, // 138 UPDATE_FORM_FIELDS, // 139 DELETE_FORM_FIELDS, // 140 + UPDATE_BOOKMARK, // 141 }; OUString GetUndoComment(SwUndoId eId); |