diff options
author | Noel Power <noel.power@suse.com> | 2012-12-17 17:49:00 +0000 |
---|---|---|
committer | Noel Power <noel.power@suse.com> | 2012-12-18 10:22:48 +0000 |
commit | edc212a5393c17ef68f97c7d6e2a215d3718579c (patch) | |
tree | 03a2f1e9a55dba9c5fb3310250622906edea336e /svx | |
parent | 8e7a38669ae3c99ea3a90b2af15c6be2234ac284 (diff) |
fix problematic calc object selection after object create (at non 100% zoom)
sometimes difficult to select custom shapes etc. created at non 100% zoom
levels. workaround was to use selection tool to select an area.
Change-Id: I112a60ebf37a37b16f6af5e70358853088e648a8
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/svdraw/svdobj.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/svx/source/svdraw/svdobj.cxx b/svx/source/svdraw/svdobj.cxx index 31fef51f3fea..fefe00db72fa 100644 --- a/svx/source/svdraw/svdobj.cxx +++ b/svx/source/svdraw/svdobj.cxx @@ -943,6 +943,7 @@ void SdrObject::RecalcBoundRect() aOutRect = Rectangle( (sal_Int32)floor(aRange.getMinX()), (sal_Int32)floor(aRange.getMinY()), (sal_Int32)ceil(aRange.getMaxX()), (sal_Int32)ceil(aRange.getMaxY())); + aOutRect -= GetGridOffset(); // don't include grid offset return; } } |