summaryrefslogtreecommitdiff
path: root/cui/source/tabpages
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2012-06-21 11:51:04 +0200
committerThomas Arnhold <thomas@arnhold.org>2012-06-21 11:54:18 +0200
commit5fcecf9b88a0879081d8239cebbc03e30150985a (patch)
tree2eaa65002db4ccb19778e054f9fc40c33312537c /cui/source/tabpages
parent47009fbf515dc6e4d4c275e5a3458b4ce2d817d9 (diff)
hrc cleanup: Remove unused defines
All of those defines (should) not be used at any point in the code. False positives may exist, because some macro names are getting generated by some template/macro foo. This is the version which compiled fine for me. Also there are many commented out lines removed. Change-Id: I6394024682e4ab3691eb72707a9363d41ba31df8
Diffstat (limited to 'cui/source/tabpages')
-rw-r--r--cui/source/tabpages/autocdlg.hrc21
-rw-r--r--cui/source/tabpages/backgrnd.hrc5
-rw-r--r--cui/source/tabpages/border.hrc3
-rw-r--r--cui/source/tabpages/chardlg.hrc2
-rw-r--r--cui/source/tabpages/labdlg.hrc7
-rw-r--r--cui/source/tabpages/numfmt.hrc5
-rw-r--r--cui/source/tabpages/numpages.hrc28
-rw-r--r--cui/source/tabpages/paragrph.hrc1
-rw-r--r--cui/source/tabpages/tabarea.hrc35
-rw-r--r--cui/source/tabpages/tabline.hrc5
-rw-r--r--cui/source/tabpages/transfrm.hrc2
11 files changed, 1 insertions, 113 deletions
diff --git a/cui/source/tabpages/autocdlg.hrc b/cui/source/tabpages/autocdlg.hrc
index 61ea73eb03de..01a8cf6185c6 100644
--- a/cui/source/tabpages/autocdlg.hrc
+++ b/cui/source/tabpages/autocdlg.hrc
@@ -32,15 +32,6 @@
// defines ------------------------------------------------------------------
#define CLB_SETTINGS 1
-/*
-#define STR_DOUBLECAPS 3
-#define STR_STARTCAPS 4
-#define STR_FIRST 5
-#define STR_HALF 6
-#define STR_DASH 7
-#define STR_BOLDUNDERLINE 8
-#define STR_URL 9
-*/
#define CB_TYPO 11
#define FT_STARTQUOTE 12
@@ -66,7 +57,6 @@
#define PB_NEW_REPLACE 35
#define PB_DELETE_REPLACE 36
#define STR_MODIFY 37
-#define STR_CLOSE_AUTOCORR 38
#define FT_SHORT 39
#define FT_REPLACE 40
#define STR_CHANGE_START 41
@@ -91,7 +81,6 @@
#define PB_EDIT 61
#define ST_DEL_EMPTY_PARA 62
-#define ST_TYPO 66
#define ST_USER_STYLE 67
#define ST_BULLET 68
#define STR_DEL_SPACES_AT_STT_END 69
@@ -105,7 +94,6 @@
#define FL_PRCNT 79
#define STR_HEADER 90
-#define FT_HEADER_EXPLANATION 91
#define STR_HEADER1 92
#define STR_HEADER2 93
#define FT_HEADER1_EXPLANATION 94
@@ -115,14 +103,6 @@
#define BT_OK 101
#define BT_CANCEL 102
-#define BT_AWCP_OK 110
-#define BT_AWCP_CANCEL 111
-#define GB_AWCP_VALUE 112
-#define ED_AWCP_WORD_LEN 113
-#define ED_AWCP_LIST_LEN 114
-#define FT_AWCP_WORD_LEN 115
-#define FT_AWCP_LIST_LEN 116
-
#define CB_ACTIV 121
#define CB_COLLECT 122
#define CB_APPEND_SPACE 123
@@ -137,7 +117,6 @@
#define LB_ENTRIES 132
#define PB_ENTRIES 133
-
#define ST_USE_REPLACE 200
#define ST_CPTL_STT_WORD 201
#define ST_CPTL_STT_SENT 202
diff --git a/cui/source/tabpages/backgrnd.hrc b/cui/source/tabpages/backgrnd.hrc
index fdfafabe8f11..4961e18e9539 100644
--- a/cui/source/tabpages/backgrnd.hrc
+++ b/cui/source/tabpages/backgrnd.hrc
@@ -34,10 +34,6 @@
#define SET_BGDCOLOR 10
#define GB_BGDCOLOR 11
-#define SET_PATTERN 12
-#define GB_COL_PREVIEW 13
-#define SET_PATCOLOR 14
-#define GB_PATCOLOR 15
#define CT_BORDER 16
#define FT_PREVIEW 20
#define WIN_PREVIEW1 21
@@ -53,7 +49,6 @@
#define WND_POSITION 28
#define GB_POSITION 29
#define WIN_PREVIEW2 30
-#define GB_PREVIEW 31
#define LB_TBL_BOX 32
#define FT_TBL_DESC 33
#define LB_PARA_BOX 34
diff --git a/cui/source/tabpages/border.hrc b/cui/source/tabpages/border.hrc
index 6ae3ef00860a..360bd7a04883 100644
--- a/cui/source/tabpages/border.hrc
+++ b/cui/source/tabpages/border.hrc
@@ -48,9 +48,6 @@
#define FT_SHADOWCOLOR 35
#define LB_SHADOWCOLOR 36
-#define FT_XSPACE 41
-#define ED_XSPACE 42
-
#define FL_DISTANCE 50
#define FT_LEFT 51
#define MF_LEFT 52
diff --git a/cui/source/tabpages/chardlg.hrc b/cui/source/tabpages/chardlg.hrc
index 0d583b0431e8..a41b0c4c4227 100644
--- a/cui/source/tabpages/chardlg.hrc
+++ b/cui/source/tabpages/chardlg.hrc
@@ -119,7 +119,6 @@
#define WIN_EFFECTS_PREVIEW 251
#define FT_EFFECTS_FONTTYPE 252
-#define STR_EFFECTS_TRANSPARENT 260
#define STR_EFFECTS_CAPITALS 261
#define STR_EFFECTS_LOWERCASE 262
#define STR_EFFECTS_TITLE 263
@@ -168,7 +167,6 @@
#define FT_ENDBRACKET 413
#define ED_ENDBRACKET 414
-#define FL_TWOLINES_PREVIEW 420
#define WIN_TWOLINES_PREVIEW 421
#define FT_TWOLINES_FONTTYPE 422
diff --git a/cui/source/tabpages/labdlg.hrc b/cui/source/tabpages/labdlg.hrc
index 8759a0158f22..39f713cf49b5 100644
--- a/cui/source/tabpages/labdlg.hrc
+++ b/cui/source/tabpages/labdlg.hrc
@@ -25,8 +25,6 @@
*
************************************************************************/
#include <cuires.hrc>
-//#define RID_SVXPAGE_CAPTION 1000
-//#define RID_SVXDLG_CAPTION 1001
#define TAB_CONTROL 1
#define BTN_OK 1
@@ -48,8 +46,6 @@
#define CB_LAENGE 1
-#define CM_LAENGE 1
-
#define LB_WINKEL 1
#define LB_ANSATZ 2
#define LB_ANSATZ_REL 3
@@ -66,7 +62,4 @@
#define BMP_CAPTTYPE_3 3
#define BMP_CAPTTYPE_4 4
-#define SHOW_HORZ 1
-#define SHOW_VERT 2
-#define SHOW_ABS 3
#define SHOW_NONE 4
diff --git a/cui/source/tabpages/numfmt.hrc b/cui/source/tabpages/numfmt.hrc
index 763dd59f752d..ead7ac05bbf1 100644
--- a/cui/source/tabpages/numfmt.hrc
+++ b/cui/source/tabpages/numfmt.hrc
@@ -44,10 +44,6 @@
#define ED_FORMAT 14
#define BTN_ADD 15
#define BTN_REMOVE 16
-#define BMP_CHECK 17
-#define BMP_DCHECK 18
-#define BMP_CROSS 19
-#define BMP_DCROSS 20
#define FT_DECIMALS 21
#define ED_DECIMALS 22
#define FT_LEADZEROES 23
@@ -64,7 +60,6 @@
#define CB_SOURCEFORMAT 34
#define STR_AUTO_ENTRY 36
-#define TBX_ADDREMOVE 1
#define IID_ADD 1
#define IID_REMOVE 2
#define IID_INFO 3
diff --git a/cui/source/tabpages/numpages.hrc b/cui/source/tabpages/numpages.hrc
index 02fb93676658..9991184a9c7a 100644
--- a/cui/source/tabpages/numpages.hrc
+++ b/cui/source/tabpages/numpages.hrc
@@ -27,41 +27,14 @@
#define FT_ALIGN 50
#define LB_ALIGN 51
-#define FT_DIST_BORDER 52
-#define MF_DIST_BORDER 53
-#define FT_DIST_NUM 54
-#define MF_DIST_NUM 55
-#define GB_POS 56
-
-#define LB_FMT_CHAR 60
-#define FT_FMT_CHAR 61
#define FT_WIDTH 67
-#define FI_URL 68
#define FT_HEIGHT 70
-
-#define MN_STD_NUMBER 120
-#define MD_DEL_NUMBER 121
-#define MN_STD_BULLET 122
-#define MN_DEL_BULLET 123
-
#define STR_BULLET 200
-//#define STR_NUMFMT_1 201
-//#define STR_NUMFMT_2 202
-//#define STR_NUMFMT_3 203
-//#define STR_NUMFMT_4 204
-//#define STR_NUMFMT_5 205
-//#define STR_NUMFMT_6 206
-//#define STR_NUMFMT_7 207
-//#define STR_NUMFMT_8 208
-//#define STR_NUMFMT_7_HTML 209
#define LB_FORM 210
#define ED_FORM 211
-#define GB_FORM 212
-
-#define BT_BULLET 213
#define FL_VALUES 220
#define VS_VALUES 221
@@ -90,7 +63,6 @@
#define NF_ALL_LEVEL 169
#define FT_START 170
#define ED_START 171
-#define FT_BULLET 172
#define PB_BULLET 173
#define WIN_PREVIEW 174
#define FT_BITMAP 175
diff --git a/cui/source/tabpages/paragrph.hrc b/cui/source/tabpages/paragrph.hrc
index bb9a3fc9cf18..c3ced580fbe2 100644
--- a/cui/source/tabpages/paragrph.hrc
+++ b/cui/source/tabpages/paragrph.hrc
@@ -51,7 +51,6 @@
#define FL_ALIGN 34
#define FL_VERTALIGN 35
#define LB_VERTALIGN 36
-#define FL_VERTEX 37
#define CB_SNAP 38
#define FT_VERTALIGN 39
diff --git a/cui/source/tabpages/tabarea.hrc b/cui/source/tabpages/tabarea.hrc
index 18f4c5680f26..3d6178561585 100644
--- a/cui/source/tabpages/tabarea.hrc
+++ b/cui/source/tabpages/tabarea.hrc
@@ -24,18 +24,12 @@
* for a copy of the LGPLv3 License.
*
************************************************************************/
+
#define BTN_LOAD 5
#define BTN_SAVE 6
#define BTN_EMBED 7
-#define GRP_FILL 1
-#define GRP_SHADOW 2
-#define GRP_PREVIEW 3
-#define GRP_TRANSPARENT 4
-#define GRP_STEPCOUNT 5
#define CTL_PREVIEW 1
#define CTL_POSITION 2
-//#define CTL_GRADIENT_PREVIEW 3
-//#define CTL_HATCHING_PREVIEW 4
#define CTL_COLOR_PREVIEW 5
#define CTL_BITMAP_PREVIEW 6
#define MTR_FLD_DISTANCE 1
@@ -45,20 +39,13 @@
#define TSB_TILE 4
#define TSB_STRETCH 5
#define TSB_ORIGINAL 6
-#define AREADLG_INVISIBLE 0
-#define AREADLG_COLOR 1
-#define AREADLG_GRADIENT 2
-#define AREADLG_HATCH 3
-#define AREADLG_BITMAP 4
#define LB_COLOR 1
#define LB_GRADIENT 2
#define LB_HATCHING 3
#define LB_BITMAP 4
-//#define LB_TRANSPARENT 5
#define LB_BITMAPS 4
#define LB_BACKGROUND_COLOR 3
-#define LB_DLG_TYPE 99
#define GRP_COLOR 1
#define BTN_ADD 1
#define BTN_IMPORT 2
@@ -72,15 +59,11 @@
#define FT_LINE_TYPE 1
#define FT_LINE_DISTANCE 3
#define FT_LINE_ANGLE 4
-#define GRP_LINE 1
-#define GRP_HATCHINGS 5
#define MTR_FLD_ANGLE 3
#define CTL_ANGLE 2
#define LB_HATCHINGS 4
#define LB_LINE_TYPE 1
#define LB_LINE_COLOR 3
-#define GRP_GRADIENTS 4
-#define GRP_GRADIENT_TYPE 5
#define LB_GRADIENTS 3
#define LB_GRADIENT_TYPES 4
#define LB_COLOR_FROM 1
@@ -109,20 +92,12 @@
#define FL_OFFSET 5
#define FL_STEPCOUNT 7
-// Colors define TabPage
-// only temporarily!!!
-// #define RID_SVXPAGE_COLOR 999
-
-//#define GRP_COLORTABLE 1
-//#define GRP_COLORMODEL 2
-
#define BTN_WORK_ON 2
#define CTL_COLORTABLE 3
#define CTL_PREVIEW_OLD 1
#define CTL_PREVIEW_NEW 2
#define FT_NAME 2
#define EDT_NAME 1
-// #define LB_COLOR 1
#define LB_COLORMODEL 2
#define FT_1 3
#define FT_2 4
@@ -135,9 +110,7 @@
#define FT_TABLE_NAME 7
#define MTR_FLD_X_SIZE 4
#define MTR_FLD_Y_SIZE 5
-#define GRP_SIZE 6
#define TSB_SCALE 1
-#define GRP_POSITION 7
#define FT_X_OFFSET 1
#define FT_Y_OFFSET 2
#define MTR_FLD_X_OFFSET 1
@@ -146,7 +119,6 @@
#define RBT_ROW 6
#define RBT_COLUMN 7
#define MTR_FLD_OFFSET 3
-#define GRP_OFFSET 8
#define FT_TRANSPARENT 9
#define FT_X_SIZE 10
@@ -156,8 +128,6 @@
#define RBT_TRANS_OFF 8
#define RBT_TRANS_LINEAR 9
#define RBT_TRANS_GRADIENT 10
-#define GRP_TRANS_MODE 9
-#define GRP_TRANS_GRADIENT 10
#define CTL_TRANS_PREVIEW 19
#define FT_TRGR_TYPE 12
@@ -179,13 +149,10 @@
#define MTR_SHADOW_TRANSPARENT 11
// Hatch-Background on Area-TabPage
-#define GRP_HATCHBCKGRD 20
#define CB_HATCHBCKGRD 21
#define LB_HATCHBCKGRDCOLOR 22
-#define IMG_LOAD_H 23
-#define IMG_SAVE_H 24
// IAccessibility2 implementation 2009 ------
#define STR_CUI_COLORMODEL 5030
#define STR_LB_HATCHINGSTYLE 5031
diff --git a/cui/source/tabpages/tabline.hrc b/cui/source/tabpages/tabline.hrc
index 81e9e99e5061..d89a617fe2b9 100644
--- a/cui/source/tabpages/tabline.hrc
+++ b/cui/source/tabpages/tabline.hrc
@@ -35,8 +35,6 @@
#define TSB_INVISIBLE 1
#define FL_LINE 1
#define FL_LINE_ENDS 2
-#define FT_LINE_START 4
-#define FT_LINE_END 8
#define FT_LINE_ENDS_STYLE 5
#define FT_LINE_ENDS_WIDTH 6
#define LB_START_STYLE 3
@@ -59,16 +57,13 @@
#define MTR_FLD_START_WIDTH 3
#define MTR_FLD_END_WIDTH 2
#define CBX_SYNCHRONIZE 1
-#define FL_MEASURING 3
#define CTL_POSITION 2
#define FT_POSITION 9
-#define TSB_SHOW_MEASURING 2
#define CTL_PREVIEW 1
#define FL_DEFINITION 1
#define FT_NUMBER 3
#define FT_DISTANCE 2
#define FT_LENGTH 4
-#define TSB_SYNCHRONIZE 3
#define LB_TYPE_1 3
#define FT_TYPE 1
#define LB_TYPE_2 1
diff --git a/cui/source/tabpages/transfrm.hrc b/cui/source/tabpages/transfrm.hrc
index 2d57b7208f68..a5b32eaaff24 100644
--- a/cui/source/tabpages/transfrm.hrc
+++ b/cui/source/tabpages/transfrm.hrc
@@ -33,7 +33,6 @@
#define MTR_FLD_POS_X 7
#define MTR_FLD_POS_Y 8
#define CBX_COPY 9
-#define TSB_PROTECT 10
#define TSB_AUTO 11
#define TSB_AUTOGROW_HEIGHT 12
#define TSB_AUTOGROW_WIDTH 13
@@ -55,7 +54,6 @@
#define MTR_FLD_RADIUS 29
#define FL_ANGLE 30
#define FT_ANGLE 31
-#define TSB_VERTICAL 32
#define FL_ANCHOR 33
#define FT_ANCHOR 34
#define LB_ANCHOR 35