diff options
author | Noel Grandin <noel@peralex.com> | 2014-12-23 09:47:48 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-01-08 10:39:36 +0200 |
commit | 45ec1d9b56cec41596f806ebf845ebfcd30c9f46 (patch) | |
tree | e368da6d3ae2c8a5c8e214b99dd0f95861d0fc78 /include/tools | |
parent | Factor out XFillTransparenceItem::dumpAsXml() from sw (diff) | |
download | core-45ec1d9b56cec41596f806ebf845ebfcd30c9f46.tar.gz core-45ec1d9b56cec41596f806ebf845ebfcd30c9f46.zip |
brute-force find-and-remove of unused #define constants.
Change-Id: I7223530ae37297a76654cd00cc1fedb56dbe3adb
Diffstat (limited to 'include/tools')
-rw-r--r-- | include/tools/errcode.hxx | 19 | ||||
-rw-r--r-- | include/tools/poly.hxx | 1 | ||||
-rw-r--r-- | include/tools/rc.h | 6 |
3 files changed, 0 insertions, 26 deletions
diff --git a/include/tools/errcode.hxx b/include/tools/errcode.hxx index df86faec68fd..99149604349d 100644 --- a/include/tools/errcode.hxx +++ b/include/tools/errcode.hxx @@ -47,7 +47,6 @@ Warning || || | #define ERRCODE_BUTTON_CANCEL 0x02 #define ERRCODE_BUTTON_RETRY 0x04 #define ERRCODE_BUTTON_OK_CANCEL 0x03 -#define ERRCODE_BUTTON_OK_RETRY_CANCEL 0x07 #define ERRCODE_BUTTON_NO 0x08 #define ERRCODE_BUTTON_YES 0x10 #define ERRCODE_BUTTON_YES_NO 0x18 @@ -139,7 +138,6 @@ inline sal_uIntPtr ERRCODE_TOERROR( sal_uIntPtr x ) #define ERRCODE_AREA_SW ERRCODE_AREA_APP4 #define ERRCODE_AREA_SW_END (ERRCODE_AREA_APP5-1) -#define ERRCODE_AREA_OFA ERRCODE_AREA_APP5 #define ERRCODE_AREA_OFA_END (ERRCODE_AREA_APP6-1) #define ERRCODE_CLASS_NONE (0UL << ERRCODE_CLASS_SHIFT) @@ -248,20 +246,6 @@ inline sal_uIntPtr ERRCODE_TOERROR( sal_uIntPtr x ) ERRCODE_AREA_IO) // FsysErrorCodes -#define FSYS_ERR_OK ERRCODE_NONE -#define FSYS_ERR_MISPLACEDCHAR ERRCODE_IO_MISPLACEDCHAR -#define FSYS_ERR_INVALIDCHAR ERRCODE_IO_INVALIDCHAR -#define FSYS_ERR_NOTEXISTS ERRCODE_IO_NOTEXISTS -#define FSYS_ERR_ALREADYEXISTS ERRCODE_IO_ALREADYEXISTS -#define FSYS_ERR_NOTADIRECTORY ERRCODE_IO_NOTADIRECTORY -#define FSYS_ERR_NOTAFILE ERRCODE_IO_NOTAFILE -#define FSYS_ERR_INVALIDDEVICE ERRCODE_IO_INVALIDDEVICE -#define FSYS_ERR_ACCESSDENIED ERRCODE_IO_ACCESSDENIED -#define FSYS_ERR_LOCKVIOLATION ERRCODE_IO_LOCKVIOLATION -#define FSYS_ERR_VOLUMEFULL ERRCODE_IO_OUTOFSPACE -#define FSYS_ERR_ISWILDCARD ERRCODE_IO_ISWILDCARD -#define FSYS_ERR_NOTSUPPORTED ERRCODE_IO_NOTSUPPORTED -#define FSYS_ERR_UNKNOWN ERRCODE_IO_UNKNOWN // StreamErrorCodes #define SVSTREAM_OK ERRCODE_NONE @@ -283,7 +267,6 @@ inline sal_uIntPtr ERRCODE_TOERROR( sal_uIntPtr x ) #define SVSTREAM_READ_ERROR ERRCODE_IO_CANTREAD #define SVSTREAM_WRITE_ERROR ERRCODE_IO_CANTWRITE #define SVSTREAM_SEEK_ERROR ERRCODE_IO_CANTSEEK -#define SVSTREAM_TELL_ERROR ERRCODE_IO_CANTTELL #define SVSTREAM_OUTOFMEMORY ERRCODE_IO_OUTOFMEMORY @@ -297,9 +280,7 @@ inline sal_uIntPtr ERRCODE_TOERROR( sal_uIntPtr x ) #define PRINTER_OK ERRCODE_NONE #define PRINTER_ABORT ERRCODE_IO_ABORT -#define PRINTER_OUTOFMEMORY ERRCODE_IO_OUTOFMEMORY #define PRINTER_GENERALERROR ERRCODE_IO_GENERAL -#define PRINTER_ACCESSDENIED ERRCODE_IO_ACCESSDENIED #define ERRCODE_INET_NAME_RESOLVE (ERRCODE_AREA_INET | ERRCODE_CLASS_READ | 1) #define ERRCODE_INET_CONNECT (ERRCODE_AREA_INET | ERRCODE_CLASS_READ | 2) diff --git a/include/tools/poly.hxx b/include/tools/poly.hxx index 4d38ce08ff37..bfc14ea1ea92 100644 --- a/include/tools/poly.hxx +++ b/include/tools/poly.hxx @@ -28,7 +28,6 @@ #define POLY_APPEND (0xFFFF) #define POLYPOLY_APPEND (0xFFFF) -#define POLY_OPTIMIZE_NONE 0x00000000UL #define POLY_OPTIMIZE_OPEN 0x00000001UL #define POLY_OPTIMIZE_CLOSE 0x00000002UL #define POLY_OPTIMIZE_NO_SAME 0x00000004UL diff --git a/include/tools/rc.h b/include/tools/rc.h index 8747be4b575e..210211307398 100644 --- a/include/tools/rc.h +++ b/include/tools/rc.h @@ -77,9 +77,6 @@ typedef short RSWND_STYLE; #define ACCELITEM_KEY 0x02 // For "Field" resources: -#define PATTERNFORMATTER_STRICTFORMAT 0x01 -#define PATTERNFORMATTER_EDITMASK 0x02 -#define PATTERNFORMATTER_LITTERALMASK 0x04 #define NUMERICFORMATTER_MIN 0x01 #define NUMERICFORMATTER_MAX 0x02 @@ -113,7 +110,6 @@ typedef short RSWND_STYLE; #define RSC_TOOLBOXITEM_STATE 0x0200 #define RSC_TOOLBOXITEM_HIDE 0x0400 #define RSC_TOOLBOXITEM_COMMAND 0x0800 -#define RSC_TOOLBOXITEM_MENUSTRINGS 0x1000 // For "ToolBox" resources: #define RSC_TOOLBOX_BUTTONTYPE 0x01 @@ -142,8 +138,6 @@ typedef short RSWND_STYLE; #define RSC_IMAGE_MASKCOLOR 0x04 // For "ImageList": -#define RSC_IMAGELIST_IMAGEBITMAP 0x01 -#define RSC_IMAGELIST_MASKBITMAP 0x02 #define RSC_IMAGELIST_MASKCOLOR 0x04 #define RSC_IMAGELIST_IDLIST 0x08 #define RSC_IMAGELIST_IDCOUNT 0x10 |