diff options
author | Marco Cecchetti <marco.cecchetti@collabora.com> | 2015-08-27 17:09:36 +0200 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-09-01 16:28:46 +0100 |
commit | b545728fddad2e70b6a38515b60455fc229e63af (patch) | |
tree | 60d04dad23cb6cba0afd48ac36fcfbb1353a318c /include | |
parent | 7fe85d7633a6cb7a921e93d9399c748a41c54bc1 (diff) |
vcl_get_checksum wraps the call to the real checksum function
Change-Id: I72916f18966756ecc99e77f1b164e99377eb456e
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/checksum.hxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/vcl/checksum.hxx b/include/vcl/checksum.hxx index 53c2f1620b47..2987fdae4cc0 100644 --- a/include/vcl/checksum.hxx +++ b/include/vcl/checksum.hxx @@ -152,6 +152,15 @@ SAL_DLLPUBLIC sal_uInt64 SAL_CALL vcl_crc64 ( } #endif +inline BitmapChecksum vcl_get_checksum ( + BitmapChecksum Checksum, + const void *Data, + sal_uInt32 DatLen +) +{ + return (BitmapChecksum)(vcl_crc64( Checksum, Data, DatLen )); +} + #endif // INCLUDED_VCL_INC_CHECKSUM_HXX |