summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-05-21 12:44:53 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-05-21 15:30:16 +0200
commit47169087c176a419cf4382e3bdb23b39df1575cd (patch)
tree6fbe2695501c492b6abeed251b2c1c177a31afee /include
parenta1ec916df8b5b65c342c8a796150e5f29e5f2ae3 (diff)
Remove unnecessary GZCodec derivation
Change-Id: Id710a1fe4a3c1593add69bb2a7014d26f9499e87
Diffstat (limited to 'include')
-rw-r--r--include/tools/zcodec.hxx17
1 files changed, 3 insertions, 14 deletions
diff --git a/include/tools/zcodec.hxx b/include/tools/zcodec.hxx
index f2444af3b68e..464443318637 100644
--- a/include/tools/zcodec.hxx
+++ b/include/tools/zcodec.hxx
@@ -52,10 +52,10 @@ private:
public:
ZCodec( sal_uIntPtr nInBuf = 0x8000UL, sal_uIntPtr nOutBuf = 0x8000UL );
- virtual ~ZCodec();
+ ~ZCodec();
- virtual void BeginCompression( int nCompressLevel = ZCODEC_DEFAULT_COMPRESSION, bool updateCrc = false, bool gzLib = false );
- virtual long EndCompression();
+ void BeginCompression( int nCompressLevel = ZCODEC_DEFAULT_COMPRESSION, bool updateCrc = false, bool gzLib = false );
+ long EndCompression();
bool IsFinished () const { return mbFinish; }
long Compress( SvStream& rIStm, SvStream& rOStm );
@@ -72,17 +72,6 @@ public:
sal_uIntPtr GetCRC();
};
-class GZCodec : public ZCodec
-{
-public:
- GZCodec(){};
- virtual ~GZCodec(){};
- virtual void BeginCompression( int nCompressLevel = ZCODEC_DEFAULT_COMPRESSION, bool updateCrc = false, bool gzLib = true ) SAL_OVERRIDE
- {
- ZCodec::BeginCompression( nCompressLevel, updateCrc, gzLib );
- };
-};
-
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */