summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRadek Doulik <rodo@novell.com>2012-11-28 13:32:57 +0100
committerAndras Timar <atimar@suse.com>2013-01-13 21:59:11 +0100
commit2e613c5a71c858389dcb79331d69a1f72409710c (patch)
tree07061fd725dc3ad8b68995b37e34f9d4ab96930e
parent11b5a0d16d1e32fb71c8f165a2547cce64b6519d (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
-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 43e0d5018aa7..ed1a87c0de27 100644
--- a/sd/source/ui/view/sdview4.cxx
+++ b/sd/source/ui/view/sdview4.cxx
@@ -130,7 +130,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);
}