Kaydet (Commit) b2e5b0ec authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Remove unnecessary DEFAULT_IN/OUT_BUFSIZE macros

Change-Id: Icd509f55b3f91c4ce3b21bfa3a501d99532539d9
üst 5271e5b0
...@@ -22,16 +22,6 @@ ...@@ -22,16 +22,6 @@
#include <tools/toolsdllapi.h> #include <tools/toolsdllapi.h>
// 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_NO_COMPRESSION (0x00000000UL)
#define ZCODEC_BEST_SPEED (0x00000001UL) #define ZCODEC_BEST_SPEED (0x00000001UL)
#define ZCODEC_DEFAULT_COMPRESSION (0x00000006UL) #define ZCODEC_DEFAULT_COMPRESSION (0x00000006UL)
...@@ -71,7 +61,7 @@ private: ...@@ -71,7 +61,7 @@ private:
void ImplWriteBack(); void ImplWriteBack();
public: 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 ~ZCodec();
virtual void BeginCompression( sal_uIntPtr nCompressMethod = ZCODEC_DEFAULT ); virtual void BeginCompression( sal_uIntPtr nCompressMethod = ZCODEC_DEFAULT );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment