summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorRadek Doulik <rodo@novell.com>2012-11-28 13:32:57 +0100
committerRadek Doulik <rodo@novell.com>2012-11-28 13:37:29 +0100
commitb71f8ba4d2330335f8024164a0ca06cb62b0a64d (patch)
tree172ffc1e8e0e388b099faeecb0344c498a05630c /sd
parent49f2a69fa7d8eaa23d77519ac29748f4dc3e4c5a (diff)
use snap rectangle instead of logic rectangle
- so that pictures inserted into rotated placeholders are placed in the transformed rectangle and don't endup at wrong position e.g. outside of slide Change-Id: I2f3d206b43639c094f7dfb1d25e42b9cbf7dd102
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/view/sdview4.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/sdview4.cxx b/sd/source/ui/view/sdview4.cxx
index 60761280e10a..7778cd7515a8 100644
--- a/sd/source/ui/view/sdview4.cxx
+++ b/sd/source/ui/view/sdview4.cxx
@@ -120,7 +120,7 @@ SdrGrafObj* View::InsertGraphic( const Graphic& rGraphic, sal_Int8& rAction,
}
else
{
- pNewGrafObj = new SdrGrafObj( rGraphic, pPickObj->GetLogicRect() );
+ pNewGrafObj = new SdrGrafObj( rGraphic, pPickObj->GetSnapRect() );
pNewGrafObj->SetEmptyPresObj(sal_True);
}