summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-03-19 14:26:36 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-03-23 09:19:05 +0100
commit658534d36f87f9ab03d862e57b04ea268b73ccab (patch)
tree7a9d3ec30287e6ed5ddbfa883ba7bb4e40da6dde /svx
parentc5c2d5242de1cfcc0bdb946d329191b0885e0ef8 (diff)
SdrMarkView tiled rendering: suppress handles during text edit
Without this, graphic selection was still around during text editing, so long push on an editeng word (in a Writer shape) triggered the shape movement action, not a word selection in editeng. Change-Id: I2ec2f1f9a417bacd08d8b357b4203d48ebaf15c7
Diffstat (limited to 'svx')
-rw-r--r--svx/source/svdraw/svdmrkv.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/svx/source/svdraw/svdmrkv.cxx b/svx/source/svdraw/svdmrkv.cxx
index 79e32a466450..060472daa055 100644
--- a/svx/source/svdraw/svdmrkv.cxx
+++ b/svx/source/svdraw/svdmrkv.cxx
@@ -686,6 +686,9 @@ void SdrMarkView::SetMarkHandles()
if(pSdrTextObj && pSdrTextObj->IsInEditMode())
{
+ if (GetModel()->isTiledRendering())
+ // Suppress handles -> empty graphic selection.
+ GetModel()->libreOfficeKitCallback(LOK_CALLBACK_GRAPHIC_SELECTION, "EMPTY");
return;
}
}