sw/source/core/crsr/bookmark.cxx | 3 +++ 1 file changed, 3 insertions(+)
New commits: commit e88f53eb87238489349ae81b7834f97dd554d805 Author: Pranam Lashkari <lpra...@collabora.com> AuthorDate: Fri Jan 20 16:49:57 2023 +0530 Commit: Miklos Vajna <vmik...@collabora.com> CommitDate: Tue Jan 24 10:34:08 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> (cherry picked from commit c3a53e0c2503d277fbfeb60d4c2499c2e377f9df) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146021 Tested-by: Jenkins diff --git a/sw/source/core/crsr/bookmark.cxx b/sw/source/core/crsr/bookmark.cxx index b7e5b4a7850b..8165b30a98b1 100644 --- a/sw/source/core/crsr/bookmark.cxx +++ b/sw/source/core/crsr/bookmark.cxx @@ -565,6 +565,9 @@ namespace sw::mark TextFieldmark::~TextFieldmark() { + if (GetMarkPos().GetDoc().IsClipBoard()) + return; + SfxViewShell* pViewShell = SfxViewShell::Current(); if (!pViewShell) return;