diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-18 15:41:16 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-18 16:29:08 +0200 |
commit | 9c78b8a72895831b33731e17ca7f8c825c19827a (patch) | |
tree | 23f4934f9d86ce5c5cf0bc492e0ec32e67070609 /include/tools/zcodec.hxx | |
parent | 76650583fa8f9689de0d338a51587b97fda0426b (diff) |
remove unused crc functionality from ZCodec
Change-Id: I3e57e815b538ad5749b4bab3d4ef8e295cbe116b
Reviewed-on: https://gerrit.libreoffice.org/79098
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/tools/zcodec.hxx')
-rw-r--r-- | include/tools/zcodec.hxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/include/tools/zcodec.hxx b/include/tools/zcodec.hxx index 9f26d263adba..ecffc67d87bf 100644 --- a/include/tools/zcodec.hxx +++ b/include/tools/zcodec.hxx @@ -46,22 +46,19 @@ class SAL_WARN_UNUSED TOOLS_DLLPUBLIC ZCodec sal_uInt8* mpOutBuf; size_t const mnOutBufSize; - sal_uInt32 mnCRC; int mnCompressLevel; - bool mbUpdateCrc; bool mbGzLib; void* mpsC_Stream; void InitCompress(); void InitDecompress(SvStream & inStream); void ImplWriteBack(); - void UpdateCRC( sal_uInt8 const * pSource, long nDatSize ); public: ZCodec( size_t nInBufSize = 32768, size_t nOutBufSize = 32768 ); ~ZCodec(); - void BeginCompression( int nCompressLevel = ZCODEC_DEFAULT_COMPRESSION, bool updateCrc = false, bool gzLib = false ); + void BeginCompression( int nCompressLevel = ZCODEC_DEFAULT_COMPRESSION, bool gzLib = false ); long EndCompression(); void Compress( SvStream& rIStm, SvStream& rOStm ); @@ -74,8 +71,6 @@ public: void SetBreak( size_t ); size_t GetBreak() const; - void SetCRC( sal_uInt32 nCurrentCRC ); - sal_uInt32 GetCRC() const { return mnCRC;} }; #endif |