sd/source/ui/view/sdview4.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit b71f8ba4d2330335f8024164a0ca06cb62b0a64d Author: Radek Doulik <r...@novell.com> Date: Wed Nov 28 13:32:57 2012 +0100 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 diff --git a/sd/source/ui/view/sdview4.cxx b/sd/source/ui/view/sdview4.cxx index 6076128..7778cd7 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); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits