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:46:48 +0100
commit5be61feab2229343b5cebf84e7c8ac9f2db0f132 (patch)
tree0249e010b822e73f455f20131b55a2810ce9b06e /sd
parent6c3c48f1c8d672fa9e8800ae9d03aa51f4f258d7 (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 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);
}