diff options
author | Rüdiger Timm <rt@openoffice.org> | 2004-05-12 07:13:45 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2004-05-12 07:13:45 +0000 |
commit | 979bd46b5657bab320dc60a5385310e7eb3ab3cf (patch) | |
tree | b1c6a5bac865b087c02106fb8e921fac1c40be42 /basegfx | |
parent | 75a2cd47210435fb061d6ca943509b64c96b7975 (diff) |
#i10000#
Diffstat (limited to 'basegfx')
-rw-r--r-- | basegfx/source/vector/b2ivector.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/basegfx/source/vector/b2ivector.cxx b/basegfx/source/vector/b2ivector.cxx index e71c392b4366..44c1d06aac90 100644 --- a/basegfx/source/vector/b2ivector.cxx +++ b/basegfx/source/vector/b2ivector.cxx @@ -2,9 +2,9 @@ * * $RCSfile: b2ivector.cxx,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: thb $ $Date: 2004-01-16 10:38:49 $ + * last change: $Author: rt $ $Date: 2004-05-12 08:13:45 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -98,8 +98,8 @@ namespace basegfx double B2IVector::angle( const B2IVector& rVec ) const { - return atan2(mnX * rVec.getY() - mnY * rVec.getX(), - mnX * rVec.getX() + mnY * rVec.getY()); + return atan2(double( mnX * rVec.getY() - mnY * rVec.getX()), + double( mnX * rVec.getX() + mnY * rVec.getY())); } const B2IVector& B2IVector::getEmptyVector() |