summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/tools/zcodec.hxx3
-rw-r--r--tools/source/zcodec/zcodec.cxx18
2 files changed, 1 insertions, 20 deletions
diff --git a/include/tools/zcodec.hxx b/include/tools/zcodec.hxx
index 8bbbcd66ddd8..867e27a86f0a 100644
--- a/include/tools/zcodec.hxx
+++ b/include/tools/zcodec.hxx
@@ -74,8 +74,7 @@ private:
void ImplWriteBack();
public:
- ZCodec( sal_uIntPtr nInBuf, sal_uIntPtr nOutBuf, sal_uIntPtr nMemUsage = MAX_MEM_USAGE );
- ZCodec();
+ ZCodec( sal_uIntPtr nInBuf = DEFAULT_IN_BUFSIZE, sal_uIntPtr nOutBuf = DEFAULT_OUT_BUFSIZE, sal_uIntPtr nMemUsage = MAX_MEM_USAGE );
virtual ~ZCodec();
virtual void BeginCompression( sal_uIntPtr nCompressMethod = ZCODEC_DEFAULT );
diff --git a/tools/source/zcodec/zcodec.cxx b/tools/source/zcodec/zcodec.cxx
index 3fce309306f3..4eeac995964a 100644
--- a/tools/source/zcodec/zcodec.cxx
+++ b/tools/source/zcodec/zcodec.cxx
@@ -55,24 +55,6 @@ ZCodec::ZCodec( sal_uIntPtr nInBufSize, sal_uIntPtr nOutBufSize, sal_uIntPtr nMe
mpsC_Stream = new z_stream;
}
-ZCodec::ZCodec()
- : mbInit(0)
- , mbStatus(false)
- , mbFinish(false)
- , mnMemUsage(MAX_MEM_USAGE)
- , mpIStm(NULL)
- , mpInBuf(NULL)
- , mnInBufSize(DEFAULT_IN_BUFSIZE)
- , mnInToRead(0)
- , mpOStm(NULL)
- , mpOutBuf(NULL)
- , mnOutBufSize(DEFAULT_OUT_BUFSIZE)
- , mnCRC(0)
- , mnCompressMethod(0)
-{
- mpsC_Stream = new z_stream;
-}
-
ZCodec::~ZCodec()
{
delete (z_stream*) mpsC_Stream;