[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.0' - svx/source

Szymon Kłos (via logerrit) logerrit at kemper.freedesktop.org
Mon Jun 17 12:58:20 UTC 2019


 svx/source/svdraw/svdmrkv.cxx |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

New commits:
commit 96ca927aca86b077b9914178e6c68ed0d4c0e3d1
Author:     Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Wed May 29 15:29:04 2019 +0200
Commit:     Andras Timar <andras.timar at collabora.com>
CommitDate: Mon Jun 17 14:57:39 2019 +0200

    lok: send message when in place editing
    
    Change-Id: I96d22cabeda1eb851116d556a5302394a0dd7f93
    Reviewed-on: https://gerrit.libreoffice.org/73162
    Reviewed-by: Andras Timar <andras.timar at collabora.com>
    Tested-by: Andras Timar <andras.timar at collabora.com>

diff --git a/svx/source/svdraw/svdmrkv.cxx b/svx/source/svdraw/svdmrkv.cxx
index abb25f5ffbe5..ffebad84a9c3 100644
--- a/svx/source/svdraw/svdmrkv.cxx
+++ b/svx/source/svdraw/svdmrkv.cxx
@@ -792,7 +792,12 @@ void SdrMarkView::SetMarkHandles(SfxViewShell* pOtherShell)
 
         if(pSdrOle2Obj && (pSdrOle2Obj->isInplaceActive() || pSdrOle2Obj->isUiActive()))
         {
-            return;
+            if(SfxViewShell* pViewShell = GetSfxViewShell())
+            {
+                pViewShell->libreOfficeKitViewCallback(LOK_CALLBACK_GRAPHIC_SELECTION, "INPLACE");
+                SfxLokHelper::notifyOtherViews(pViewShell, LOK_CALLBACK_GRAPHIC_VIEW_SELECTION, "selection", "INPLACE");
+                return;
+            }
         }
 
         if (bTiledRendering && mpMarkedObj->GetObjIdentifier() == OBJ_TABLE)


More information about the Libreoffice-commits mailing list