diff options
Diffstat (limited to 'svx/source/sdr/contact/viewcontactofgroup.cxx')
-rw-r--r-- | svx/source/sdr/contact/viewcontactofgroup.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/svx/source/sdr/contact/viewcontactofgroup.cxx b/svx/source/sdr/contact/viewcontactofgroup.cxx index 1c8cead901bd..ce1e92373064 100644 --- a/svx/source/sdr/contact/viewcontactofgroup.cxx +++ b/svx/source/sdr/contact/viewcontactofgroup.cxx @@ -72,7 +72,11 @@ namespace sdr else { // append an invisible outline for the cases where no visible content exists - const Rectangle aCurrentBoundRect(GetSdrObjGroup().GetLastBoundRect()); + Rectangle aCurrentBoundRect(GetSdrObjGroup().GetLastBoundRect()); + // Hack for calc, transform position of object according + // to current zoom so as objects relative position to grid + // appears stable + aCurrentBoundRect += GetSdrObjGroup().GetGridOffset(); const basegfx::B2DRange aCurrentRange( aCurrentBoundRect.Left(), aCurrentBoundRect.Top(), aCurrentBoundRect.Right(), aCurrentBoundRect.Bottom()); |