diff options
author | Oliver Bolte <obo@openoffice.org> | 2006-10-12 10:32:36 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2006-10-12 10:32:36 +0000 |
commit | ab7f32bf4975d90f970b0010ccf03d56758f9507 (patch) | |
tree | 369aca1e142149f92b1c9af36e1738d60536bd9a /canvas/source | |
parent | d6f67f318a7799d9c7ffb6d848a46a618ae59c8d (diff) |
INTEGRATION: CWS sb59 (1.8.18); FILE MERGED
2006/08/11 22:05:05 thb 1.8.18.1: #i68336# Made canvas warning free for wntmsci10
Diffstat (limited to 'canvas/source')
-rw-r--r-- | canvas/source/vcl/canvashelper.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/canvas/source/vcl/canvashelper.cxx b/canvas/source/vcl/canvashelper.cxx index f28463e3da3f..2ebcfcac9bd0 100644 --- a/canvas/source/vcl/canvashelper.cxx +++ b/canvas/source/vcl/canvashelper.cxx @@ -4,9 +4,9 @@ * * $RCSfile: canvashelper.cxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: obo $ $Date: 2006-09-17 03:30:24 $ + * last change: $Author: obo $ $Date: 2006-10-12 11:32:36 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -446,14 +446,14 @@ namespace vclcanvas if( !nTransparency ) mpOutDev->getOutDev().DrawPolyPolygon( aPolyPoly ); else - mpOutDev->getOutDev().DrawTransparent( aPolyPoly, nTransPercent ); + mpOutDev->getOutDev().DrawTransparent( aPolyPoly, (USHORT)nTransPercent ); if( mp2ndOutDev ) { if( !nTransparency ) mp2ndOutDev->getOutDev().DrawPolyPolygon( aPolyPoly ); else - mp2ndOutDev->getOutDev().DrawTransparent( aPolyPoly, nTransPercent ); + mp2ndOutDev->getOutDev().DrawTransparent( aPolyPoly, (USHORT)nTransPercent ); } } @@ -882,7 +882,7 @@ namespace vclcanvas pRes[ nCurrPos++ ] = pReadAccess->GetColor( y, x ).GetBlue(); pRes[ nCurrPos++ ] = pReadAccess->GetColor( y, x ).GetGreen(); pRes[ nCurrPos++ ] = pReadAccess->GetColor( y, x ).GetRed(); - pRes[ nCurrPos++ ] = (sal_Int8)255L; + pRes[ nCurrPos++ ] = (sal_uInt8)255L; } } |