Kaydet (Commit) 45814f70 authored tarafından Peter Foley's avatar Peter Foley Kaydeden (comit) David Tardon

fix sd build with VC2012

Change-Id: I1356570e27a065e419281fcd9d667c60658773e6
üst f8e5a25f
......@@ -1214,7 +1214,7 @@ static void CalcAutoLayoutRectangles( SdPage& rPage, int nLayout, Rectangle* rRe
rRectangle[2] = Rectangle (aLayoutPos, aLayoutSize);
if( bRightToLeft && (nLayout != 9) )
::std::swap< Rectangle >( rRectangle[1], rRectangle[2] );
::std::swap( rRectangle[1], rRectangle[2] );
break;
case 2: // title, shape, 2 shapes
aTempPnt = aLayoutPos;
......@@ -1234,7 +1234,7 @@ static void CalcAutoLayoutRectangles( SdPage& rPage, int nLayout, Rectangle* rRe
if( bRightToLeft )
{
::std::swap< long >( rRectangle[1].Left(), rRectangle[2].Left() );
::std::swap( rRectangle[1].Left(), rRectangle[2].Left() );
rRectangle[3].Left() = rRectangle[2].Left();
}
break;
......@@ -1256,7 +1256,7 @@ static void CalcAutoLayoutRectangles( SdPage& rPage, int nLayout, Rectangle* rRe
if( bRightToLeft )
{
::std::swap< long >( rRectangle[1].Left(), rRectangle[2].Left() );
::std::swap( rRectangle[1].Left(), rRectangle[2].Left() );
rRectangle[3].Left() = rRectangle[2].Left();
}
break;
......
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