summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2019-05-29 15:29:04 +0200
committerAndras Timar <andras.timar@collabora.com>2019-06-17 15:08:25 +0200
commit49943f9930e1794063f1e7353d37bc98b79c39e7 (patch)
treeabdf46b0b918d71438dfb3d8ceb4beb1b3c1831c
parent4fab6dab74ded696f2f3069cb53a8066fbdf4440 (diff)
lok: send message when in place editing
Change-Id: I96d22cabeda1eb851116d556a5302394a0dd7f93 Reviewed-on: https://gerrit.libreoffice.org/73162 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
-rw-r--r--svx/source/svdraw/svdmrkv.cxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdmrkv.cxx b/svx/source/svdraw/svdmrkv.cxx
index 442466d37295..efd495bb428c 100644
--- a/svx/source/svdraw/svdmrkv.cxx
+++ b/svx/source/svdraw/svdmrkv.cxx
@@ -740,7 +740,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)