sw/source/core/inc/UndoInsert.hxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 7830ecc2e4e5dd264517c6554078fa807ff1fceb
Author:     Miklos Vajna <vmik...@collabora.com>
AuthorDate: Mon Nov 28 20:12:24 2022 +0100
Commit:     Miklos Vajna <vmik...@collabora.com>
CommitDate: Tue Nov 29 08:07:28 2022 +0100

    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 <vmik...@collabora.com>

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;

Reply via email to