summaryrefslogtreecommitdiff
path: root/package/source/zipapi/CRC32.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'package/source/zipapi/CRC32.cxx')
-rw-r--r--package/source/zipapi/CRC32.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/source/zipapi/CRC32.cxx b/package/source/zipapi/CRC32.cxx
index bd06822486b3..b6415efbf2f8 100644
--- a/package/source/zipapi/CRC32.cxx
+++ b/package/source/zipapi/CRC32.cxx
@@ -46,6 +46,10 @@ void CRC32::updateSegment(const Sequence< sal_Int8 > &b, sal_Int32 len)
{
nCRC = rtl_crc32(nCRC, b.getConstArray(), len );
}
+void CRC32::updateSegment(const sal_Int8* b, sal_Int32 len)
+{
+ nCRC = rtl_crc32(nCRC, b, len );
+}
/** Update CRC32 with specified sequence of bytes
*/
void CRC32::update(const Sequence< sal_Int8 > &b)