From e05a20024989a4a1a51f7d2278d5bc55f06e5570 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 21 May 2014 11:08:46 +0200 Subject: Remove unnecessary ZCODEC_DEFAULT macro Change-Id: I57a5a14a51c0441e0fed006457ac95057f188462 --- include/tools/zcodec.hxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'include/tools') diff --git a/include/tools/zcodec.hxx b/include/tools/zcodec.hxx index 540f2aa68449..456cdd7f9a58 100644 --- a/include/tools/zcodec.hxx +++ b/include/tools/zcodec.hxx @@ -31,7 +31,6 @@ #define ZCODEC_GZ_LIB (0x00020000UL) #define ZCODEC_PNG_DEFAULT ( ZCODEC_NO_COMPRESSION | ZCODEC_UPDATE_CRC ) -#define ZCODEC_DEFAULT ( ZCODEC_DEFAULT_COMPRESSION ) class SvStream; @@ -60,7 +59,7 @@ public: ZCodec( sal_uIntPtr nInBuf = 0x8000UL, sal_uIntPtr nOutBuf = 0x8000UL ); virtual ~ZCodec(); - virtual void BeginCompression( sal_uIntPtr nCompressMethod = ZCODEC_DEFAULT ); + virtual void BeginCompression( sal_uIntPtr nCompressMethod = ZCODEC_DEFAULT_COMPRESSION ); virtual long EndCompression(); bool IsFinished () const { return mbFinish; } @@ -83,7 +82,7 @@ class GZCodec : public ZCodec public: GZCodec(){}; virtual ~GZCodec(){}; - virtual void BeginCompression( sal_uIntPtr nCompressMethod = ZCODEC_DEFAULT ) SAL_OVERRIDE + virtual void BeginCompression( sal_uIntPtr nCompressMethod = ZCODEC_DEFAULT_COMPRESSION ) SAL_OVERRIDE { ZCodec::BeginCompression( nCompressMethod | ZCODEC_GZ_LIB ); }; -- cgit