summaryrefslogtreecommitdiff
path: root/include/vcl/checksum.hxx
AgeCommit message (Collapse)Author
2015-09-16loplugin:cstylecastStephan Bergmann
Change-Id: I17fb91376839bd036be27546118dfdb794bf067a
2015-09-16tdf#94228 vcl: replace BOOST_PP with templatesDaniel Robertson
Replace BOOST_PP macros in Bitmap Checksum to Bitmap Checksum Octet Array with templates. Change-Id: Ia7cbc20c90b4d99d54760580e3db10afac9020f3 Reviewed-on: https://gerrit.libreoffice.org/18597 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-09-01Removed the crc table from the check-sum headerMarco Cecchetti
Now can be accessed through the vcl_get_crc64_table() function Change-Id: Ife85dde373a48652a0d67460184c1f325eb91702
2015-09-01Changed DLL macro for fixing warning C4273 on WindowsMarco Cecchetti
Change-Id: I50e4b30e0932f092db9e7d60e50f88f2b7e83895
2015-09-01switch to 64-bit checksum: now BitmapChecksum is a sal_uInt64Marco Cecchetti
Changed hardcoded checksum value in ooxmlimport unit test (testN777345). Change-Id: Ied43bf626be82c0e7f6c62e965d0704fc645ac19
2015-09-01switch to 64-bit checksum: conversion from BitmapChecksum to an octet arrayMarco Cecchetti
Defined BitmapChecksumOctetArray which is an array of bytes whose size is the same of BitmapChecksum. Defined a routine for converting a BitmapChecksum into a BitmapChecksumOctetArray. Change-Id: I70d17ab8b841795ae27c60b418d6b090bff604bb
2015-09-01vcl_get_checksum wraps the call to the real checksum functionMarco Cecchetti
Change-Id: I72916f18966756ecc99e77f1b164e99377eb456e
2015-09-01Switching to 64-bit checksum: substituted sal_uLong with BitmapChecksumMarco Cecchetti
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
2015-09-01moved chechsum.hxx in include/vclMarco Cecchetti
Change-Id: I70f82f16d5907ce0bbe2d838c4acee226886aab2