Kaydet (Commit) 84bbcab3 authored tarafından Vishv Brahmbhatt's avatar Vishv Brahmbhatt Kaydeden (comit) Thorsten Behrens

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
üst 1eecb8df
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment