summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2007-07-17 13:25:12 +0000
committerOliver Bolte <obo@openoffice.org>2007-07-17 13:25:12 +0000
commitb3a1dea7a908492ac49c35793b441e071c6c69bd (patch)
treea4935ec78dd89f66f0670485b44bdbd6023df0c6 /canvas
parent7005b1dd0582dc10f625f415975f1c2b3dd3d7da (diff)
INTEGRATION: CWS presfixes12 (1.9.26); FILE MERGED
2007/02/02 09:21:20 thb 1.9.26.1: #i37778# Changed old-style int casts to sal::static_int_cast; changed (double)x casts to double(x) initializations
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/vcl/canvasbitmaphelper.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/canvas/source/vcl/canvasbitmaphelper.cxx b/canvas/source/vcl/canvasbitmaphelper.cxx
index f1208c2e3834..0d16bc97af49 100644
--- a/canvas/source/vcl/canvasbitmaphelper.cxx
+++ b/canvas/source/vcl/canvasbitmaphelper.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: canvasbitmaphelper.cxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: obo $ $Date: 2006-10-12 11:32:24 $
+ * last change: $Author: obo $ $Date: 2007-07-17 14:25:12 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -189,7 +189,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_uInt8)255;
+ pRes[ nCurrPos++ ] = sal_uInt8(255);
}
}
}
@@ -523,7 +523,7 @@ namespace vclcanvas
if( pAlphaReadAccess.get() != NULL )
pRes[ 3 ] = pAlphaReadAccess->GetPixel( pos.Y, pos.X ).GetIndex();
else
- pRes[ 3 ] = (sal_uInt8)255;
+ pRes[ 3 ] = sal_uInt8(255);
return aRes;
}