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 14:57:39 +0200
commit96ca927aca86b077b9914178e6c68ed0d4c0e3d1 (patch)
treeda831098d21736359c2fe9e82c53712543ae9161
parentffe4a1d2aa9516a4c0e36b93c48b77e771637ac8 (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 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)