diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2012-07-02 17:45:34 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2012-07-02 17:46:25 +0200 |
commit | 278000a28b8eceb8528ebdcf1d601de8192979e8 (patch) | |
tree | a522e5b53bca5d3e34c8a86d7bbee25a1ad15b3a /tools | |
parent | 892bb81d17b3351c196661c44fb15b29509c7115 (diff) |
Remove unused defines
Some of them were commented out for documentation purpose.
Change-Id: I29a6b2cbe774b527f0c3a0be5675160817a7f3ce
Diffstat (limited to 'tools')
-rw-r--r-- | tools/inc/poly.h | 2 | ||||
-rw-r--r-- | tools/inc/tools/fsys.hxx | 3 | ||||
-rw-r--r-- | tools/inc/tools/gen.hxx | 1 | ||||
-rw-r--r-- | tools/source/fsys/dirent.cxx | 4 | ||||
-rw-r--r-- | tools/source/fsys/unx.hxx | 1 | ||||
-rw-r--r-- | tools/source/fsys/wntmsc.hxx | 4 | ||||
-rw-r--r-- | tools/source/generic/color.cxx | 6 |
7 files changed, 0 insertions, 21 deletions
diff --git a/tools/inc/poly.h b/tools/inc/poly.h index 11eaccc30de4..3321eec82894 100644 --- a/tools/inc/poly.h +++ b/tools/inc/poly.h @@ -31,8 +31,6 @@ #include <tools/gen.hxx> -#define MAX_64KPOINTS ((((sal_uInt16)0xFFFF)-32)/sizeof(Point)) - // ------------------- // - ImplPolygonData - // ------------------- diff --git a/tools/inc/tools/fsys.hxx b/tools/inc/tools/fsys.hxx index d15c19ca27e9..e307c0cd6fa2 100644 --- a/tools/inc/tools/fsys.hxx +++ b/tools/inc/tools/fsys.hxx @@ -54,7 +54,6 @@ class BigInt; typedef ::std::vector< DirEntry* > DirEntryList; typedef ::std::vector< FileStat* > FileStatList; -#define FSYS_BUFSIZE 1024 #define FSYS_SHORTNAME_DELIMITER '@' // FSysAccess @@ -134,8 +133,6 @@ typedef int FSysAction; // Fuer RFS #define RFS_IDENTIFIER "-rfs-" -#define RFS_LOWER "-rfs-" -#define RFS_UPPER "-RFS-" typedef sal_uIntPtr FSysError; diff --git a/tools/inc/tools/gen.hxx b/tools/inc/tools/gen.hxx index f53dba883e1a..6c07542b3294 100644 --- a/tools/inc/tools/gen.hxx +++ b/tools/inc/tools/gen.hxx @@ -268,7 +268,6 @@ inline Size::Size( long nWidth, long nHeight ) : // - Range - // --------- -#define RANGE_MIN LONG_MIN #define RANGE_MAX LONG_MAX class Range : public Pair diff --git a/tools/source/fsys/dirent.cxx b/tools/source/fsys/dirent.cxx index a5c88a68f910..e0082619f0bc 100644 --- a/tools/source/fsys/dirent.cxx +++ b/tools/source/fsys/dirent.cxx @@ -1664,10 +1664,6 @@ const DirEntry &DirEntry::operator[]( sal_uInt16 nParentLevel ) const return *pRes; } -#define MAX_EXT_MAX 250 -#define MAX_LEN_MAX 255 -#define INVALID_CHARS_DEF "\\/\"':|^<>?*" - /************************************************************************* |* |* DirEntry::CreatePath() diff --git a/tools/source/fsys/unx.hxx b/tools/source/fsys/unx.hxx index 627450829333..d36de6a4e9f7 100644 --- a/tools/source/fsys/unx.hxx +++ b/tools/source/fsys/unx.hxx @@ -39,7 +39,6 @@ #define DEFSTYLE FSYS_STYLE_BSD #define CMP_LOWER(s) (s) -#define TEMPNAME() tmpnam(0) #define LOWER(aString) (aString.Lower()) #include <time.h> diff --git a/tools/source/fsys/wntmsc.hxx b/tools/source/fsys/wntmsc.hxx index 6cda2a120ab7..1e210341d625 100644 --- a/tools/source/fsys/wntmsc.hxx +++ b/tools/source/fsys/wntmsc.hxx @@ -50,8 +50,6 @@ #ifndef S_IFBLK #define S_IFBLK 0x6000 #endif -#define setdrive(n,a) _chdrive(n) -#define GETDRIVE(n) (n = _getdrive()) #define dirent _WIN32_FIND_DATAA #define d_name cFileName @@ -69,8 +67,6 @@ typedef struct #define MKDIR( p ) mkdir( p ) #define CMP_LOWER(s) ( s.toAsciiLowerCase() ) -#define START_DRV 'a' - inline sal_Bool DRIVE_EXISTS(char c) { rtl::OStringBuffer aDriveRoot; diff --git a/tools/source/generic/color.cxx b/tools/source/generic/color.cxx index aa848f72bbbe..cacafcdabab7 100644 --- a/tools/source/generic/color.cxx +++ b/tools/source/generic/color.cxx @@ -267,12 +267,6 @@ SvStream& Color::Write( SvStream& rOStm, sal_Bool bNewFormat ) // ----------------------------------------------------------------------- #define COL_NAME_USER ((sal_uInt16)0x8000) -#define COL_RED_1B ((sal_uInt16)0x0001) -#define COL_RED_2B ((sal_uInt16)0x0002) -#define COL_GREEN_1B ((sal_uInt16)0x0010) -#define COL_GREEN_2B ((sal_uInt16)0x0020) -#define COL_BLUE_1B ((sal_uInt16)0x0100) -#define COL_BLUE_2B ((sal_uInt16)0x0200) // ----------------------------------------------------------------------- |