sw/source/uibase/docvw/AnnotationWin2.cxx | 1 + 1 file changed, 1 insertion(+)
New commits: commit 45e0c28a6911ef19c8c11e0195c6f01362d53611 Author: Pranam Lashkari <lpra...@collabora.com> AuthorDate: Wed May 15 23:08:23 2024 +0300 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Fri May 17 12:05:40 2024 +0200 Added parent / child relationship to comments. Adding parent name of a comment into odf file when there is a parent. problem: adding reply to any comment, saving and reopening doc will not show reply in same thread. regression from: c0187d9f5e6ab5129b6fc4682555f2f8775d6f67 this part affects core only, similar thing online was done in 62cc2217217650d23c72e4646ccd793f76722d94 Change-Id: I563e3a2785543da69d717f8770f91a514699e604 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167711 Reviewed-by: Gökay ŞATIR <gokaysa...@collabora.com> Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> (cherry picked from commit 2a040bfe3e9f58db5c9f6503796778f07e2beba9) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167680 Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> Tested-by: Jenkins diff --git a/sw/source/uibase/docvw/AnnotationWin2.cxx b/sw/source/uibase/docvw/AnnotationWin2.cxx index e831ed55f182..75edfe80edb2 100644 --- a/sw/source/uibase/docvw/AnnotationWin2.cxx +++ b/sw/source/uibase/docvw/AnnotationWin2.cxx @@ -1071,6 +1071,7 @@ void SwAnnotationWin::ExecuteCommand(sal_uInt16 nSlot) auto pPostItField = mrMgr.GetLatestPostItField(); pPostItField->SetParentId(GetTopReplyNote()->GetParaId()); pPostItField->SetParentPostItId(GetTopReplyNote()->GetPostItField()->GetPostItId()); + this->GeneratePostItName(); pPostItField->SetParentName(GetTopReplyNote()->GetPostItField()->GetName()); } break;