diff options
author | Marco Cecchetti <marco.cecchetti@collabora.com> | 2015-08-27 15:25:11 +0200 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-09-01 16:28:46 +0100 |
commit | 7fe85d7633a6cb7a921e93d9399c748a41c54bc1 (patch) | |
tree | a13cb02d4a7e9e5d355ec68ca46de4da7d75eb6b /vcl/source/gdi/bitmap.cxx | |
parent | b5e3aa40586a4cca050b4f74a6f5d9bf90ff8b3a (diff) |
Switching to 64-bit checksum: substituted sal_uLong with BitmapChecksum
A typedef sal_uLong BitmapChecksum;
has been added to include/vcl/checksum.hxx
Wherever needed sal_uLong and sal_Int32 has been substituted with
BitmapChecksum.
A BITMAP_CHECKSUM_BITS constant equal to the amount of bits used by the
BitmapChecksum type has been defined and used in
`GraphicID::GetIDString` (vstools/source/graphic/grfcache.cxx).
Change-Id: I74bd285089e58a8b18c06233d75b87023c7bf31b
Diffstat (limited to 'vcl/source/gdi/bitmap.cxx')
-rw-r--r-- | vcl/source/gdi/bitmap.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/gdi/bitmap.cxx b/vcl/source/gdi/bitmap.cxx index 6f96c050685d..23b752b4b21b 100644 --- a/vcl/source/gdi/bitmap.cxx +++ b/vcl/source/gdi/bitmap.cxx @@ -284,9 +284,9 @@ bool Bitmap::HasGreyPalette() const return bRet; } -sal_uInt32 Bitmap::GetChecksum() const +BitmapChecksum Bitmap::GetChecksum() const { - sal_uInt32 nRet = 0; + BitmapChecksum nRet = 0; if( mpImpBmp ) { |