summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2008-06-16 12:58:09 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2008-06-16 12:58:09 +0000
commit15c26089b22e66b3fdf4c360b9a76ed9f51e87cc (patch)
tree00858d5931618a63dc47ffa0bd298210426f632a
parent1f697c1c91ba66dafd67292cd09b1201649553df (diff)
INTEGRATION: CWS hr51 (1.19.6); FILE MERGED
2008/06/06 14:13:38 hr 1.19.6.1: #i88947#: includes; namespaces
-rw-r--r--tools/source/generic/poly2.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/source/generic/poly2.cxx b/tools/source/generic/poly2.cxx
index 91bb7d0b4767..4dcfb510339e 100644
--- a/tools/source/generic/poly2.cxx
+++ b/tools/source/generic/poly2.cxx
@@ -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 ) );
}
}