summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@verizon.net>2012-08-26 22:11:05 -0400
committerDavid Tardon <dtardon@redhat.com>2012-10-07 10:42:13 +0200
commit45814f70b88c26b2a34c49e705f07f7c7dcc5a93 (patch)
tree78f458d72ad5d5353b16084e5bd214fdb59ace42 /sd
parentf8e5a25f88ab8d646328a0ddd99262edefe262a0 (diff)
fix sd build with VC2012
Change-Id: I1356570e27a065e419281fcd9d667c60658773e6
Diffstat (limited to 'sd')
-rw-r--r--sd/source/core/sdpage.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/core/sdpage.cxx b/sd/source/core/sdpage.cxx
index 0d44e14e3029..7c52a626de85 100644
--- a/sd/source/core/sdpage.cxx
+++ b/sd/source/core/sdpage.cxx
@@ -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;