svx/source/svdraw/svdmrkv.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 8f1eb4eb903abba8a380cd7a7d27e81d6a58a550
Author:     Szymon Kłos <[email protected]>
AuthorDate: Fri Sep 16 20:08:44 2022 +0200
Commit:     Pranam Lashkari <[email protected]>
CommitDate: Fri Sep 30 14:32:26 2022 +0200

    lok: impress: clear selection when exited the textbox
    
    it was sill visible in other views
    
    Change-Id: I75ce566a17fa1080d6e3008b964e367825225a09
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140086
    Tested-by: Jenkins CollaboraOffice <[email protected]>
    Reviewed-by: Pranam Lashkari <[email protected]>

diff --git a/svx/source/svdraw/svdmrkv.cxx b/svx/source/svdraw/svdmrkv.cxx
index 82b2f2a847d2..eeed5b3ddcf4 100644
--- a/svx/source/svdraw/svdmrkv.cxx
+++ b/svx/source/svdraw/svdmrkv.cxx
@@ -1110,6 +1110,8 @@ void SdrMarkView::SetMarkHandlesForLOKit(tools::Rectangle 
const & rRect, const S
         {
             sSelectionText = "EMPTY";
             sSelectionTextView = "EMPTY";
+            if (!pOtherShell)
+                pViewShell->NotifyOtherViews(LOK_CALLBACK_TEXT_VIEW_SELECTION, 
"selection", OString());
         }
 
         if (bTableSelection)

Reply via email to