diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-04-19 13:00:39 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-04-19 13:00:39 +0000 |
commit | 9cdadc9fbe20be4fcc9de77371d0898e79b951c2 (patch) | |
tree | 5893e62bf8ca3697532d7e584b54d1811c0c9b04 /svtools/bmpmaker | |
parent | f340f3a500bd89dae250ce3db8ec686b604ce6e0 (diff) |
INTEGRATION: CWS sixtyfour05 (1.6.198); FILE MERGED
2006/03/29 13:47:17 kendy 1.6.198.1: #i62384#
Fix SVBT32 <-> long conversion
Diffstat (limited to 'svtools/bmpmaker')
-rw-r--r-- | svtools/bmpmaker/bmpsum.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/svtools/bmpmaker/bmpsum.cxx b/svtools/bmpmaker/bmpsum.cxx index cba108a1ef44..4c2c2bb61df3 100644 --- a/svtools/bmpmaker/bmpsum.cxx +++ b/svtools/bmpmaker/bmpsum.cxx @@ -4,9 +4,9 @@ * * $RCSfile: bmpsum.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: rt $ $Date: 2005-09-08 08:54:31 $ + * last change: $Author: hr $ $Date: 2006-04-19 14:00:39 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -238,13 +238,13 @@ sal_uInt64 BmpSum::GetCRC( Bitmap& rBmp ) { const BitmapColor aCol( pRAcc->GetColor( nY, nX ) ); - LongToSVBT32( aCol.GetRed(), aBT32 ); + UInt32ToSVBT32( aCol.GetRed(), aBT32 ); nCrc = rtl_crc32( nCrc, aBT32, 4 ); - LongToSVBT32( aCol.GetGreen(), aBT32 ); + UInt32ToSVBT32( aCol.GetGreen(), aBT32 ); nCrc = rtl_crc32( nCrc, aBT32, 4 ); - LongToSVBT32( aCol.GetBlue(), aBT32 ); + UInt32ToSVBT32( aCol.GetBlue(), aBT32 ); nCrc = rtl_crc32( nCrc, aBT32, 4 ); } } |