sw/source/uibase/docvw/PostItMgr.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit cdbb0a77d142ee10a3f7a90f14f1ef28463e3cde Author: Pranam Lashkari <[email protected]> AuthorDate: Tue Feb 6 13:27:41 2024 +0530 Commit: Pranam Lashkari <[email protected]> CommitDate: Tue Feb 13 12:20:20 2024 +0100 writer:LOK: make sure deleted comment is not notified incorrectly problem: on saving the existing docummunet with tracked deleted comment, LOK gets comment added msg for those comments Change-Id: I5c63a5bbbb7215bf7416412604530af4a6c69358 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163040 Tested-by: Jenkins CollaboraOffice <[email protected]> Reviewed-by: Caolán McNamara <[email protected]> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163156 Tested-by: Jenkins (cherry picked from commit 7327752ef5d1fa2239cdd8355fb78da41c282717) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163275 Reviewed-by: Gökay ŞATIR <[email protected]> Tested-by: Pranam Lashkari <[email protected]> diff --git a/sw/source/uibase/docvw/PostItMgr.cxx b/sw/source/uibase/docvw/PostItMgr.cxx index dee622d4b502..d9eaa7fa324a 100644 --- a/sw/source/uibase/docvw/PostItMgr.cxx +++ b/sw/source/uibase/docvw/PostItMgr.cxx @@ -900,7 +900,7 @@ void SwPostItMgr::LayoutPostIts() { if (bLoKitActive && !bTiledAnnotations) { - if (visiblePostIt->GetSidebarItem().mbPendingLayout) + if (visiblePostIt->GetSidebarItem().mbPendingLayout && visiblePostIt->GetSidebarItem().mLayoutStatus != SwPostItHelper::DELETED) lcl_CommentNotification(mpView, CommentNotificationType::Add, &visiblePostIt->GetSidebarItem(), 0); else if (visiblePostIt->IsAnchorRectChanged()) {
