diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-05-21 11:02:36 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-05-21 15:30:14 +0200 |
commit | b2e5b0ec142a554da3bcf75b478f93ddb61caeaa (patch) | |
tree | 3d0c96067ae93adc483f7b9ab055591800433bab /include/tools | |
parent | 5271e5b01be208a60a295fb06b867eb438387272 (diff) |
Remove unnecessary DEFAULT_IN/OUT_BUFSIZE macros
Change-Id: Icd509f55b3f91c4ce3b21bfa3a501d99532539d9
Diffstat (limited to 'include/tools')
-rw-r--r-- | include/tools/zcodec.hxx | 12 |
1 files changed, 1 insertions, 11 deletions
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 <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_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 ); |