diff options
author | Rüdiger Timm <rt@openoffice.org> | 2001-06-19 06:05:03 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2001-06-19 06:05:03 +0000 |
commit | a638777c039d28a42ded274907a9008ec8d71376 (patch) | |
tree | aa51149865331332f8fa6efdb1bd547465bb59c0 /vcl/source/gdi/gdimtf.cxx | |
parent | 85f02e28c8bc265409f3439299f4966abe6adc74 (diff) |
#87576# temporary variable to avoid gcc parse error
Diffstat (limited to 'vcl/source/gdi/gdimtf.cxx')
-rw-r--r-- | vcl/source/gdi/gdimtf.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/vcl/source/gdi/gdimtf.cxx b/vcl/source/gdi/gdimtf.cxx index 733f92bfbbd2..fe7c22865127 100644 --- a/vcl/source/gdi/gdimtf.cxx +++ b/vcl/source/gdi/gdimtf.cxx @@ -2,9 +2,9 @@ * * $RCSfile: gdimtf.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: ka $ $Date: 2001-06-18 12:54:25 $ + * last change: $Author: rt $ $Date: 2001-06-19 07:05:03 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -902,7 +902,8 @@ void GDIMetaFile::Rotate( long nAngle10 ) const double fAngle = F_PI1800 * nAngle10; const double fSin = sin( fAngle ); const double fCos = cos( fAngle ); - Polygon aPoly( Rectangle( Point(), GetPrefSize() ) ); + Rectangle aRect=Rectangle( Point(), GetPrefSize() ); + Polygon aPoly( aRect ); aPoly.Rotate( Point(), fSin, fCos ); |