diff options
author | Daniel Robertson <danlrobertson89@gmail.com> | 2015-09-15 14:51:26 -0400 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-09-16 11:02:30 +0000 |
commit | 54045cc813c79e53abe608cc1a8d35ee7177465e (patch) | |
tree | 9d19529b3656428cb96e05813c66e6667d963a0e /svtools | |
parent | e4a8ae0bf54476e9a0c9e1f5348c05f3cd838899 (diff) |
tdf#94228 vcl: replace BOOST_PP with templates
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>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/graphic/grfcache.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/graphic/grfcache.cxx b/svtools/source/graphic/grfcache.cxx index ccc2440b6bfe..2e29e31240a7 100644 --- a/svtools/source/graphic/grfcache.cxx +++ b/svtools/source/graphic/grfcache.cxx @@ -134,7 +134,7 @@ OString GraphicID::GetIDString() const for( nShift = 28; nShift >= 0; nShift -= 4 ) aHexStr[nIndex++] = aHexData[ ( mnID3 >> (sal_uInt32) nShift ) & 0xf ]; - for( nShift = BITMAP_CHECKSUM_BITS - 4; nShift >= 0; nShift -= 4 ) + for( nShift = ( 8 * BITMAP_CHECKSUM_SIZE ) - 4; nShift >= 0; nShift -= 4 ) aHexStr[nIndex++] = aHexData[ ( mnID4 >> (sal_uInt32) nShift ) & 0xf ]; return aHexStr.makeStringAndClear(); |