INTEGRATION: CWS hr51 (1.19.6); FILE MERGED

2008/06/06 14:13:38 hr 1.19.6.1: #i88947#: includes; namespaces
This commit is contained in:
Rüdiger Timm
2008-06-16 12:58:09 +00:00
parent 1f697c1c91
commit 15c26089b2

View File

@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: poly2.cxx,v $
* $Revision: 1.19 $
* $Revision: 1.20 $
*
* This file is part of OpenOffice.org.
*
@@ -63,6 +63,8 @@ extern "C"
#include <basegfx/polygon/b2dpolypolygontools.hxx>
#endif
#include <cmath>
// ---------------
// - PolyPolygon -
// ---------------
@@ -684,7 +686,7 @@ void PolyPolygon::Rotate( const Point& rCenter, USHORT nAngle10 )
if( nAngle10 )
{
const double fAngle = F_PI1800 * nAngle10;
Rotate( rCenter, sin( fAngle ), cos( fAngle ) );
Rotate( rCenter, std::sin( fAngle ), std::cos( fAngle ) );
}
}