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 /hwpfilter/source | |
parent | 0748a5f8298e2ea817e131234f5e99300ed7f9f7 (diff) |
brute-force find-and-remove of unused #define constants.
Change-Id: I7223530ae37297a76654cd00cc1fedb56dbe3adb
Diffstat (limited to 'hwpfilter/source')
-rw-r--r-- | hwpfilter/source/drawdef.h | 8 | ||||
-rw-r--r-- | hwpfilter/source/hbox.h | 16 | ||||
-rw-r--r-- | hwpfilter/source/hwplib.h | 1 |
3 files changed, 0 insertions, 25 deletions
diff --git a/hwpfilter/source/drawdef.h b/hwpfilter/source/drawdef.h index 6cb38fe64cdc..52b3a9d51a04 100644 --- a/hwpfilter/source/drawdef.h +++ b/hwpfilter/source/drawdef.h @@ -44,21 +44,13 @@ enum objtype }; #define HWPDO_PAT_TYPE_BITS 0xFF000000 -#define HWPDO_PAT_STYLE_BITS 0x00FFFFFF #define HWPDO_PAT_SOLID 0x00000000 -#define HWPDO_PAT_WIN_HATCHED 0x01000000 -#define HWPDO_PAT_BITMAP 0x02000000 #define HWPDO_COLOR_NONE 0x10000000 -#define HWPDO_FLAG_ROUND_CORNER 0x00000001 #define HWPDO_FLAG_DRAW_PIE 0x00000002 -#define HWPDO_FLAG_SEMICIRCLE 0x00000004 -#define HWPDO_FLAG_SCALE_BITMAP 0x00000008 -#define HWPDO_FLAG_LOCAL_BITS 0x0000ffff -#define HWPDO_FLAG_PROPERTY_BITS 0x00ff0000 #define HWPDO_FLAG_GRADATION 0x00010000 #define HWPDO_FLAG_ROTATION 0x00020000 diff --git a/hwpfilter/source/hbox.h b/hwpfilter/source/hbox.h index 26a29623057a..1ae07fd974bc 100644 --- a/hwpfilter/source/hbox.h +++ b/hwpfilter/source/hbox.h @@ -199,17 +199,6 @@ enum EQU_CAP_POS }; -/** - * Definitions for frame's common 'option' member. - */ -#define DRAW_FRAME 1 /* <-> no frame, bit 0 */ -#define NORMAL_PIC 2 /* <-> reverse, bit 1 */ -#define FIT_TO_COLUMN 4 /* fig_xs is columnlen */ -#define UNKNOWN_FILE 8 /* need check reverse for pcx mono */ -#define HYPERTEXT_FLAG 16 -#define UNKNOWN_SIZE 32 -#define FOPT_TEMP_BIT 0x00010000 /* temporary starts from 16th bits */ - struct CellLine { unsigned char key; @@ -617,7 +606,6 @@ typedef union PicDefUnknown picun; } PicDef; -#define PIC_INFO_LEN 348 /** * There are four kinds of image. * @li External image @@ -842,10 +830,6 @@ struct ShowPageNum: public HBox }; /* 홀수쪽시작 (21) */ -#define HIDE_HD 1 /* bit 0 */ -#define HIDE_FT 2 /* bit 1 */ -#define HIDE_PGNUM 4 /* bit 2 */ -#define HIDE_FRAME 8 /* bit 3 */ /** * Controls the display of page number, header, footer and border. */ diff --git a/hwpfilter/source/hwplib.h b/hwpfilter/source/hwplib.h index efa5b66a45db..051b36d472fc 100644 --- a/hwpfilter/source/hwplib.h +++ b/hwpfilter/source/hwplib.h @@ -172,7 +172,6 @@ typedef struct #define IS_SP_SKIP_BLOCK(hch) ((hch<5) || (hch==12) || (hch==27) || (hch == 29)) // file tag -#define FILETAG_UNCOMPRESSED_BIT 0x80000000 #define FILETAG_END_OF_COMPRESSED 0x00000000 #define FILETAG_EMBEDDED_PICTURE 0x00000001 |