From f828e91d1b2f0491e3d1c724ddd12f1b9177f466 Mon Sep 17 00:00:00 2001 From: Noel Power Date: Mon, 17 Dec 2012 17:49:00 +0000 Subject: 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 --- svx/source/svdraw/svdobj.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'svx') 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; } } -- cgit