sw/source/core/crsr/bookmark.cxx | 3 +++ 1 file changed, 3 insertions(+)
New commits: commit c3a53e0c2503d277fbfeb60d4c2499c2e377f9df Author: Pranam Lashkari <lpra...@collabora.com> AuthorDate: Fri Jan 20 16:49:57 2023 +0530 Commit: Miklos Vajna <vmik...@collabora.com> CommitDate: Mon Jan 23 07:07:42 2023 +0000 sw: send field mark delete call back only on deletion previously command call back was also sent when field was selected Signed-off-by: Pranam Lashkari <lpra...@collabora.com> Change-Id: If0768180e81c47a738225e693b07441cf25906b6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145884 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Miklos Vajna <vmik...@collabora.com> diff --git a/sw/source/core/crsr/bookmark.cxx b/sw/source/core/crsr/bookmark.cxx index 23e7ed6f85fe..69c89cdf6f40 100644 --- a/sw/source/core/crsr/bookmark.cxx +++ b/sw/source/core/crsr/bookmark.cxx @@ -568,6 +568,9 @@ namespace sw::mark TextFieldmark::~TextFieldmark() { + if (GetMarkPos().GetDoc().IsClipBoard()) + return; + SfxViewShell* pViewShell = SfxViewShell::Current(); if (!pViewShell) return;