summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-05-21 11:08:46 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-05-21 15:30:15 +0200
commite05a20024989a4a1a51f7d2278d5bc55f06e5570 (patch)
treedbebb3a79780ea2488e4c5f86e3ca548af11a401 /include
parent201d429ad0e8f212c8546ae2133af384f9076a3e (diff)
Remove unnecessary ZCODEC_DEFAULT macro
Change-Id: I57a5a14a51c0441e0fed006457ac95057f188462
Diffstat (limited to 'include')
-rw-r--r--include/tools/zcodec.hxx5
1 files changed, 2 insertions, 3 deletions
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 );
};