diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-03-26 10:18:14 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-03-27 09:36:53 +0100 |
commit | aa753f01ba4631614bb88ee7d3a3e6b222208b3e (patch) | |
tree | c8b168e8e0619c387d30f206848ec30ca7238a00 /tools/source | |
parent | 2ea2860ba56231d989c5e1b8f87392921bc2a8db (diff) |
-Wunused-macros
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
Diffstat (limited to 'tools/source')
-rw-r--r-- | tools/source/debug/debug.cxx | 1 | ||||
-rw-r--r-- | tools/source/fsys/dirent.cxx | 5 | ||||
-rw-r--r-- | tools/source/zcodec/zcodec.cxx | 2 |
3 files changed, 1 insertions, 7 deletions
diff --git a/tools/source/debug/debug.cxx b/tools/source/debug/debug.cxx index 535e0aeb9b74..104353be1bd1 100644 --- a/tools/source/debug/debug.cxx +++ b/tools/source/debug/debug.cxx @@ -255,7 +255,6 @@ static sal_uIntPtr ImplGetPerfTime() typedef FILE* FILETYPE; #define FileOpen fopen #define FileRead fread -#define FileWrite fwrite #define FilePrintF fprintf #define FileClose fclose diff --git a/tools/source/fsys/dirent.cxx b/tools/source/fsys/dirent.cxx index 5c392e0690e9..be2899512e4e 100644 --- a/tools/source/fsys/dirent.cxx +++ b/tools/source/fsys/dirent.cxx @@ -40,14 +40,9 @@ #include <tools/debug.hxx> #include "comdep.hxx" #include <tools/fsys.hxx> -#define _TOOLS_HXX #include <tools/urlobj.hxx> #include <vector> -#ifdef UNX -#define _MAX_PATH 260 -#endif - #include <tools/stream.hxx> #include <osl/mutex.hxx> #include <osl/file.hxx> diff --git a/tools/source/zcodec/zcodec.cxx b/tools/source/zcodec/zcodec.cxx index 4efbefc0c655..d2496322004c 100644 --- a/tools/source/zcodec/zcodec.cxx +++ b/tools/source/zcodec/zcodec.cxx @@ -34,7 +34,7 @@ #define PZSTREAM ((z_stream*) mpsC_Stream) /* gzip flag byte */ -#define GZ_ASCII_FLAG 0x01 /* bit 0 set: file probably ascii text */ +// GZ_ASCII_FLAG 0x01 /* bit 0 set: file probably ascii text */ #define GZ_HEAD_CRC 0x02 /* bit 1 set: header CRC present */ #define GZ_EXTRA_FIELD 0x04 /* bit 2 set: extra field present */ #define GZ_ORIG_NAME 0x08 /* bit 3 set: original file name present */ |