diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-04-19 12:54:17 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-04-19 12:54:17 +0000 |
commit | 56596c21cfe343c1dbfe66f1342b60fc5760dd3e (patch) | |
tree | 3559294f1d197952e9c2d85011a26cdb9095d2bc /vcl/source/gdi/bitmap.cxx | |
parent | 68513bc8123bb071e4950ade8c888dbd45b29522 (diff) |
INTEGRATION: CWS sixtyfour05 (1.13.228); FILE MERGED
2006/03/29 13:47:24 kendy 1.13.228.1: #i62384#
Fix SVBT32 <-> long conversion
Diffstat (limited to 'vcl/source/gdi/bitmap.cxx')
-rw-r--r-- | vcl/source/gdi/bitmap.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/vcl/source/gdi/bitmap.cxx b/vcl/source/gdi/bitmap.cxx index 68e7349509b3..52004187889e 100644 --- a/vcl/source/gdi/bitmap.cxx +++ b/vcl/source/gdi/bitmap.cxx @@ -4,9 +4,9 @@ * * $RCSfile: bitmap.cxx,v $ * - * $Revision: 1.13 $ + * $Revision: 1.14 $ * - * last change: $Author: rt $ $Date: 2005-09-09 11:52:27 $ + * last change: $Author: hr $ $Date: 2006-04-19 13:54:17 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -351,22 +351,22 @@ ULONG Bitmap::GetChecksum() const pRAcc->ImplZeroInitUnusedBits(); - LongToSVBT32( pRAcc->Width(), aBT32 ); + UInt32ToSVBT32( pRAcc->Width(), aBT32 ); nCrc = rtl_crc32( nCrc, aBT32, 4 ); - LongToSVBT32( pRAcc->Height(), aBT32 ); + UInt32ToSVBT32( pRAcc->Height(), aBT32 ); nCrc = rtl_crc32( nCrc, aBT32, 4 ); - LongToSVBT32( pRAcc->GetBitCount(), aBT32 ); + UInt32ToSVBT32( pRAcc->GetBitCount(), aBT32 ); nCrc = rtl_crc32( nCrc, aBT32, 4 ); - LongToSVBT32( pRAcc->GetColorMask().GetRedMask(), aBT32 ); + UInt32ToSVBT32( pRAcc->GetColorMask().GetRedMask(), aBT32 ); nCrc = rtl_crc32( nCrc, aBT32, 4 ); - LongToSVBT32( pRAcc->GetColorMask().GetGreenMask(), aBT32 ); + UInt32ToSVBT32( pRAcc->GetColorMask().GetGreenMask(), aBT32 ); nCrc = rtl_crc32( nCrc, aBT32, 4 ); - LongToSVBT32( pRAcc->GetColorMask().GetBlueMask(), aBT32 ); + UInt32ToSVBT32( pRAcc->GetColorMask().GetBlueMask(), aBT32 ); nCrc = rtl_crc32( nCrc, aBT32, 4 ); if( pRAcc->HasPalette() ) |