From b2e5b0ec142a554da3bcf75b478f93ddb61caeaa Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 21 May 2014 11:02:36 +0200 Subject: Remove unnecessary DEFAULT_IN/OUT_BUFSIZE macros Change-Id: Icd509f55b3f91c4ce3b21bfa3a501d99532539d9 --- include/tools/zcodec.hxx | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'include') diff --git a/include/tools/zcodec.hxx b/include/tools/zcodec.hxx index f96b6ce3122b..9efdba0867c2 100644 --- a/include/tools/zcodec.hxx +++ b/include/tools/zcodec.hxx @@ -22,16 +22,6 @@ #include -// Defines - -#define DEFAULT_IN_BUFSIZE (0x00008000UL) -#define DEFAULT_OUT_BUFSIZE (0x00008000UL) - -// memory requirement using compress: -// [ INBUFFER ] + [ OUTBUFFER ] + 128KB + 1 << (MEM_USAGE+9) -// memory requirement using decompress: -// [ INBUFFER ] + [ OUTBUFFER ] + 32KB - #define ZCODEC_NO_COMPRESSION (0x00000000UL) #define ZCODEC_BEST_SPEED (0x00000001UL) #define ZCODEC_DEFAULT_COMPRESSION (0x00000006UL) @@ -71,7 +61,7 @@ private: void ImplWriteBack(); public: - ZCodec( sal_uIntPtr nInBuf = DEFAULT_IN_BUFSIZE, sal_uIntPtr nOutBuf = DEFAULT_OUT_BUFSIZE ); + ZCodec( sal_uIntPtr nInBuf = 0x8000UL, sal_uIntPtr nOutBuf = 0x8000UL ); virtual ~ZCodec(); virtual void BeginCompression( sal_uIntPtr nCompressMethod = ZCODEC_DEFAULT ); -- cgit