summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/bitmap.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 18:20:12 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 18:20:12 +0000
commit09cfc8d7dcdc72741bd2b0d177fd7acd76eb9317 (patch)
tree07a0d171617e3d4c2c888df4e252027d3254f135 /vcl/source/gdi/bitmap.cxx
parent138bafa8c74d8ed254141878b4e1270041176320 (diff)
INTEGRATION: CWS warnings01 (1.13.70); FILE MERGED
2006/05/23 19:42:34 sb 1.13.70.2: RESYNC: (1.13-1.14); FILE MERGED 2006/03/17 16:12:43 pl 1.13.70.1: #i55991# removed warnings for windows platform
Diffstat (limited to 'vcl/source/gdi/bitmap.cxx')
-rw-r--r--vcl/source/gdi/bitmap.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/gdi/bitmap.cxx b/vcl/source/gdi/bitmap.cxx
index 52004187889e..3e3cbb6163ef 100644
--- a/vcl/source/gdi/bitmap.cxx
+++ b/vcl/source/gdi/bitmap.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: bitmap.cxx,v $
*
- * $Revision: 1.14 $
+ * $Revision: 1.15 $
*
- * last change: $Author: hr $ $Date: 2006-04-19 13:54:17 $
+ * last change: $Author: hr $ $Date: 2006-06-19 19:20:12 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -221,7 +221,7 @@ const BitmapPalette& Bitmap::GetGreyPalette( USHORT nEntries )
aGreyPalette16.SetEntryCount( 16 );
- for( USHORT i = 0; i < 16; i++, cGrey += cGreyInc )
+ for( USHORT i = 0; i < 16; i++, cGrey = sal::static_int_cast<BYTE>(cGrey + cGreyInc) )
aGreyPalette16[ i ] = BitmapColor( cGrey, cGrey, cGrey );
}