sw/source/uibase/docvw/AnnotationWin2.cxx | 1 + 1 file changed, 1 insertion(+)
New commits: commit fbdd2299a470f852a7c066d878c6a3b586f952a9 Author: Pranam Lashkari <lpra...@collabora.com> AuthorDate: Wed May 15 23:08:23 2024 +0300 Commit: Pranam Lashkari <lpra...@collabora.com> CommitDate: Thu May 23 17:06:27 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/+/167934 Reviewed-by: Pranam Lashkari <lpra...@collabora.com> diff --git a/sw/source/uibase/docvw/AnnotationWin2.cxx b/sw/source/uibase/docvw/AnnotationWin2.cxx index c5ca676895c0..4de72ca4d270 100644 --- a/sw/source/uibase/docvw/AnnotationWin2.cxx +++ b/sw/source/uibase/docvw/AnnotationWin2.cxx @@ -1119,6 +1119,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;