diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2022-11-28 20:12:24 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2022-11-29 08:07:28 +0100 |
commit | 7830ecc2e4e5dd264517c6554078fa807ff1fceb (patch) | |
tree | 4f5d55fc53eab8c86c564ef413b9a2751701060e /sw | |
parent | 9d5060d8953ae426197ca002e4b46f508f74d2a8 (diff) |
sw: document SwUndoReRead
I.e. the primary use-case is not to re-read the same image, but to read
a different Graphic and set it on an existing SwGrfNode.
Change-Id: I0947e714fc1b3de870b77aaa2b6682707ccec4e5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143414
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/inc/UndoInsert.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/core/inc/UndoInsert.hxx b/sw/source/core/inc/UndoInsert.hxx index 7602820ce313..348cc57af087 100644 --- a/sw/source/core/inc/UndoInsert.hxx +++ b/sw/source/core/inc/UndoInsert.hxx @@ -136,6 +136,7 @@ private: std::unique_ptr<Impl> m_pImpl; }; +/// Handles the undo/redo of the 'Replace...' context menu item for an image. class SwUndoReRead final : public SwUndo { std::optional<Graphic> moGraphic; |