summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2005-12-14 13:57:53 +0000
committerRüdiger Timm <rt@openoffice.org>2005-12-14 13:57:53 +0000
commit632bf174e8175b6175a170e3be1ef3de5a73c238 (patch)
treeabc73c426f9578e3ab78b04191030f041313d9e7 /canvas
parent0c1271bbd53092fe1f7b97c227fa4857a6f0d29c (diff)
INTEGRATION: CWS canvas04 (1.5.12); FILE MERGED
2005/11/21 17:17:34 thb 1.5.12.1: #i10000# gcc3.3 prob again: separated out temporary object into named object
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/vcl/canvashelper_texturefill.cxx17
1 files changed, 8 insertions, 9 deletions
diff --git a/canvas/source/vcl/canvashelper_texturefill.cxx b/canvas/source/vcl/canvashelper_texturefill.cxx
index b68d39ae2531..95451d38223f 100644
--- a/canvas/source/vcl/canvashelper_texturefill.cxx
+++ b/canvas/source/vcl/canvashelper_texturefill.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: canvashelper_texturefill.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: obo $ $Date: 2005-11-17 16:08:14 $
+ * last change: $Author: rt $ $Date: 2005-12-14 14:57:53 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -777,13 +777,12 @@ namespace vclcanvas
rOutDev.DrawRect( ::vcl::unotools::rectangleFromB2DRectangle( aTextureDeviceRect ) );
rOutDev.SetLineColor( COL_BLUE );
- ::basegfx::B2DPolygon aPoly(
- ::Polygon(
- ::vcl::unotools::rectangleFromB2DRectangle(
- aRect ) ).getB2DPolygon() );
- aPoly.transform( aTextureTransform );
- ::Polygon aPoly2( aPoly );
- rOutDev.DrawPolygon( aPoly2 );
+ ::Polygon aPoly1(
+ ::vcl::unotools::rectangleFromB2DRectangle( aRect ));
+ ::basegfx::B2DPolygon aPoly2( aPoly1.getB2DPolygon() );
+ aPoly2.transform( aTextureTransform );
+ ::Polygon aPoly3( aPoly2 );
+ rOutDev.DrawPolygon( aPoly3 );
}
#endif