summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-10-06 17:39:14 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-10-06 17:39:14 +0000
commit75c6c6598574523b6d6c2b0d6354f2981a46a334 (patch)
tree46712ae363e65fca2da908c2537d326a7a8e3806 /svx
parent33f239d6ef455329568b4f287e537221dd41d237 (diff)
INTEGRATION: CWS net2003 (1.1.344); FILE MERGED
2003/08/13 08:21:36 obo 1.1.344.1: #11136# .net 2003
Diffstat (limited to 'svx')
-rw-r--r--svx/source/svdraw/impgrfll.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/svdraw/impgrfll.cxx b/svx/source/svdraw/impgrfll.cxx
index 19b430835981..239a8e74ef4a 100644
--- a/svx/source/svdraw/impgrfll.cxx
+++ b/svx/source/svdraw/impgrfll.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: impgrfll.cxx,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: thb $ $Date: 2002-11-08 16:20:42 $
+ * last change: $Author: vg $ $Date: 2003-10-06 18:39:14 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -206,10 +206,10 @@ ImpGraphicFill::ImpGraphicFill( const SdrObject& rObj,
aTransform.matrix[4] *= aHatch.GetDistance();
// rotate
- aTransform.matrix[0] *= cos( aHatch.GetAngle() );
- aTransform.matrix[1] *= -sin( aHatch.GetAngle() );
- aTransform.matrix[3] *= sin( aHatch.GetAngle() );
- aTransform.matrix[4] *= cos( aHatch.GetAngle() );
+ aTransform.matrix[0] *= cos( (double) aHatch.GetAngle() );
+ aTransform.matrix[1] *= -sin( (double) aHatch.GetAngle() );
+ aTransform.matrix[3] *= sin( (double) aHatch.GetAngle() );
+ aTransform.matrix[4] *= cos( (double) aHatch.GetAngle() );
}
SvtGraphicFill::GradientType eGrad;