sd/source/core/sdpage.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 37e02cf8f965f33bf8768fd6785692fab7460a5c Author: Vishv Brahmbhatt <vishvbrahmbhat...@gmail.com> Date: Sat Aug 24 12:30:50 2013 +0530 Small fix to the previous commit. Making a small logical change,as per my code.Please let me know if some other logic can be used here.'Slide Layouts' did not work properly after previous commit, so pushing this change. Change-Id: Iefbb33503bf1c37bdb899181c58109fb904af6de diff --git a/sd/source/core/sdpage.cxx b/sd/source/core/sdpage.cxx index 244c375..8aa2a54 100644 --- a/sd/source/core/sdpage.cxx +++ b/sd/source/core/sdpage.cxx @@ -1319,8 +1319,8 @@ static void CalcAutoLayoutRectangles( SdPage& rPage,Rectangle* rRectangle ,const { Size aSize( basegfx::fround(aLayoutSize.Width() * propvalue[1]), basegfx::fround(aLayoutSize.Height() * propvalue[0]) ); - Point aPos( basegfx::fround(aLayoutPos.X() +(aLayoutSize.Width() * propvalue[2])), - basegfx::fround(aLayoutPos.Y() + (aLayoutSize.Height() * propvalue[3])) ); + Point aPos( basegfx::fround(aLayoutPos.X() +(aSize.Width() * propvalue[2])), + basegfx::fround(aLayoutPos.Y() + (aSize.Height() * propvalue[3])) ); rRectangle[count] = Rectangle (aPos, aSize); count = count+1; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits