summaryrefslogtreecommitdiffstats
path: root/svx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-03-11 16:33:25 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-03-16 09:38:07 +0100
commit73ed546f98f97024b48f9040825a3a32e71ac8dd (patch)
tree1446633b3afbb7917d2a0f78b3e7dc375ce0c25c /svx
parentSmall cleanup - no need to have 2 OpenURL's. (diff)
downloadcore-73ed546f98f97024b48f9040825a3a32e71ac8dd.tar.gz
core-73ed546f98f97024b48f9040825a3a32e71ac8dd.zip
SdrMarkView::SetMarkHandles: when tiled rendering, show non-frame handles, too
This gives graphic selection / moving / resizing for non-frame shapes (the ones with the blue handles on the desktop). Change-Id: I59018d4beb2ad1d2133d439afda56686b3c00b0c
Diffstat (limited to 'svx')
-rw-r--r--svx/source/svdraw/svdmrkv.cxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/svx/source/svdraw/svdmrkv.cxx b/svx/source/svdraw/svdmrkv.cxx
index 3209f4e3a704..cc8badb8e1ac 100644
--- a/svx/source/svdraw/svdmrkv.cxx
+++ b/svx/source/svdraw/svdmrkv.cxx
@@ -699,20 +699,20 @@ void SdrMarkView::SetMarkHandles()
}
}
- if (bFrmHdl)
- {
- Rectangle aRect(GetMarkedObjRect());
+ Rectangle aRect(GetMarkedObjRect());
- if (GetModel()->isTiledRendering())
- {
- OString sRectangle;
- if (aRect.IsEmpty())
- sRectangle = "EMPTY";
- else
- sRectangle = aRect.toString();
- GetModel()->libreOfficeKitCallback(LOK_CALLBACK_GRAPHIC_SELECTION, sRectangle.getStr());
- }
+ if (GetModel()->isTiledRendering())
+ {
+ OString sRectangle;
+ if (aRect.IsEmpty())
+ sRectangle = "EMPTY";
+ else
+ sRectangle = aRect.toString();
+ GetModel()->libreOfficeKitCallback(LOK_CALLBACK_GRAPHIC_SELECTION, sRectangle.getStr());
+ }
+ if (bFrmHdl)
+ {
if(!aRect.IsEmpty())
{ // otherwise nothing is found
if( bSingleTextObjMark )