[Libreoffice-commits] .: Branch 'distro/suse/suse-3.6' - sd/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Nov 28 04:47:12 PST 2012
sd/source/ui/view/sdview4.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 5be61feab2229343b5cebf84e7c8ac9f2db0f132
Author: Radek Doulik <rodo at 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 43e0d50..ed1a87c 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);
}
More information about the Libreoffice-commits
mailing list