summaryrefslogtreecommitdiff
path: root/cui
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
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')
-rw-r--r--cui/source/customize/acccfg.hrc5
-rw-r--r--cui/source/customize/eventdlg.hrc4
-rw-r--r--cui/source/dialogs/charmap.hrc1
-rw-r--r--cui/source/dialogs/fmsearch.hrc1
-rw-r--r--cui/source/dialogs/hangulhanjadlg.hrc2
-rw-r--r--cui/source/dialogs/hyperdlg.hrc3
-rw-r--r--cui/source/dialogs/passwdomdlg.hrc4
-rw-r--r--cui/source/dialogs/scriptdlg.hrc2
-rw-r--r--cui/source/dialogs/svuidlg.hrc1
-rw-r--r--cui/source/inc/helpid.hrc5
-rw-r--r--cui/source/options/optaccessibility.hrc1
-rw-r--r--cui/source/options/optdict.hrc3
-rw-r--r--cui/source/options/optgdlg.hrc5
-rw-r--r--cui/source/options/optinet2.hrc16
-rw-r--r--cui/source/options/optlingu.hrc4
-rw-r--r--cui/source/options/optsave.hrc3
-rw-r--r--cui/source/options/treeopt.hrc15
-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
28 files changed, 1 insertions, 188 deletions
diff --git a/cui/source/customize/acccfg.hrc b/cui/source/customize/acccfg.hrc
index eaa39b11e97b..b1e682ed1cea 100644
--- a/cui/source/customize/acccfg.hrc
+++ b/cui/source/customize/acccfg.hrc
@@ -26,13 +26,9 @@
************************************************************************/
#define GRP_FUNCTIONS 22
-#define BTN_ACC_OK 1
-#define BTN_ACC_CANCEL 2
#define BTN_ACC_CHANGE 3
#define BTN_ACC_REMOVE 4
#define BOX_ACC_ENTRIES 5
-#define TXT_ACC_DESCRIPTIONTEXT 6
-#define TXT_ACC_DESCRIPTIONINFO 7
#define GRP_ACC_KEYBOARD 8
#define TXT_ACC_GROUP 9
#define BOX_ACC_GROUP 10
@@ -57,7 +53,6 @@
#define IMG_DOC 56
#define STR_GROUP_STYLES 58
#define STR_PDF_EXPORT_SEND 59
-#define STR_RECHECK_DOCUMENT 60
#define IMG_INFO 61
// FREE
#define BMP_COLLAPSED 63
diff --git a/cui/source/customize/eventdlg.hrc b/cui/source/customize/eventdlg.hrc
index 8e482d83b97f..f0b2036a427a 100644
--- a/cui/source/customize/eventdlg.hrc
+++ b/cui/source/customize/eventdlg.hrc
@@ -35,9 +35,5 @@
#define TXT_SAVEIN 10
#define LB_SAVEIN 11
-#define MB_CONFIG 17
-#define CB_WARNING 18
-#define CB_WARNING_ALWAYS 19
-#define GB_SAFETY 20
#define ID_APP 21
#define ID_DOC 22
diff --git a/cui/source/dialogs/charmap.hrc b/cui/source/dialogs/charmap.hrc
index 0b3aa3e09b49..30ad06bd6813 100644
--- a/cui/source/dialogs/charmap.hrc
+++ b/cui/source/dialogs/charmap.hrc
@@ -45,7 +45,6 @@
#define ED_SHORTCUT 32
#define BT_ASSIGN 33
#define FT_ASSIGN 34
-#define CT_ASSIGN 35
#endif
diff --git a/cui/source/dialogs/fmsearch.hrc b/cui/source/dialogs/fmsearch.hrc
index cfad011101c2..f76d1ef2875b 100644
--- a/cui/source/dialogs/fmsearch.hrc
+++ b/cui/source/dialogs/fmsearch.hrc
@@ -44,7 +44,6 @@
#define RID_STR_OVERFLOW_BACKWARD (RID_FORMS_START + 35)
#define RID_STR_SEARCH_COUNTING (RID_FORMS_START + 76)
-#define FT_SEARCHTEXT 1
#define FT_FORM 2
#define FT_POSITION 3
#define FT_RECORDLABEL 4
diff --git a/cui/source/dialogs/hangulhanjadlg.hrc b/cui/source/dialogs/hangulhanjadlg.hrc
index 817e3a17264a..e5389c82c6a1 100644
--- a/cui/source/dialogs/hangulhanjadlg.hrc
+++ b/cui/source/dialogs/hangulhanjadlg.hrc
@@ -124,7 +124,6 @@
#define HHO_ROW_a3 (HHO_ROW_a2+2)
#define HHO_ROW_a4 (HHO_ROW_a3+14)
#define HHO_ROW_a5 (HHO_ROW_a4+4)
-#define HHO_ROW_a6 (HHO_ROW_a5+14)
// Hangul / Hanja New Dictonary Dialog
@@ -185,7 +184,6 @@
#define HHE_ROW_6 (HHE_ROW_5+12)
#define HHE_ROW_7 (HHE_ROW_6+2)
#define HHE_ROW_8 (HHE_ROW_7+2)
-#define HHE_ROW_9 (HHE_ROW_6+12)
#define HHE_ROW_10 (HHE_ROW_8+RSC_SP_CTRL_GROUP_Y)
#define HHE_ROW_11 (HHE_ROW_10+8+2)
#define HHE_ROW_12 (HHE_ROW_11+4*12)
diff --git a/cui/source/dialogs/hyperdlg.hrc b/cui/source/dialogs/hyperdlg.hrc
index ead6a8239059..3eec5a60ea8f 100644
--- a/cui/source/dialogs/hyperdlg.hrc
+++ b/cui/source/dialogs/hyperdlg.hrc
@@ -31,7 +31,6 @@
#define RB_LINKTYP_INTERNET 2
#define RB_LINKTYP_FTP 3
#define FT_TARGET_HTML 5
-#define CB_TARGET_HTML 6
#define FT_LOGIN 7
#define ED_LOGIN 8
#define FT_PASSWD 9
@@ -46,7 +45,6 @@
#define RB_LINKTYP_MAIL 2
#define RB_LINKTYP_NEWS 3
#define FT_RECEIVER 4
-#define CB_RECEIVER 5
#define FT_SUBJECT 6
#define ED_SUBJECT 7
#define BTN_ADRESSBOOK 8
@@ -55,7 +53,6 @@
#define GRP_DOCUMENT 1
#define FT_PATH_DOC 2
-#define CB_PATH_DOC 3
#define BTN_FILEOPEN 4
#define GRP_TARGET 5
#define FT_TARGET_DOC 6
diff --git a/cui/source/dialogs/passwdomdlg.hrc b/cui/source/dialogs/passwdomdlg.hrc
index edeae469a3c5..b31c18d5abf6 100644
--- a/cui/source/dialogs/passwdomdlg.hrc
+++ b/cui/source/dialogs/passwdomdlg.hrc
@@ -33,8 +33,6 @@
#define ED_PASSWD_TO_OPEN 12
#define FT_REENTER_PASSWD_TO_OPEN 13
#define ED_REENTER_PASSWD_TO_OPEN 14
-#define IMG_PASSWD_MATCH 15
-#define IMG_PASSWD_MATCH_HC 16
#define FT_PASSWD_NOTE 17
#define FL_BUTTONS 18
#define BTN_MORE_FEWER_OPTIONS 19
@@ -45,8 +43,6 @@
#define ED_PASSWD_TO_MODIFY 24
#define FT_REENTER_PASSWD_TO_MODIFY 25
#define ED_REENTER_PASSWD_TO_MODIFY 26
-#define FI_PASSWD_TO_OPEN_MATCH 27
-#define FI_PASSWD_TO_MODIFY_MATCH 28
#define CB_OPEN_READONLY 29
#define STR_MORE_OPTIONS 51
diff --git a/cui/source/dialogs/scriptdlg.hrc b/cui/source/dialogs/scriptdlg.hrc
index 7ea7184da5fa..1c8e0bceda5b 100644
--- a/cui/source/dialogs/scriptdlg.hrc
+++ b/cui/source/dialogs/scriptdlg.hrc
@@ -30,8 +30,6 @@
#include <svl/solar.hrc>
-#define SCRIPTDLG_OFFSET 400
-
// ScriptOrgDialog
#define SF_TXT_SCRIPTS 1
#define SF_CTRL_SCRIPTSBOX 2
diff --git a/cui/source/dialogs/svuidlg.hrc b/cui/source/dialogs/svuidlg.hrc
index 8add126a33c7..cf6245ed49d0 100644
--- a/cui/source/dialogs/svuidlg.hrc
+++ b/cui/source/dialogs/svuidlg.hrc
@@ -32,7 +32,6 @@
// gemeinsame Id's
#define CB_DISPLAY_AS_ICON 12
-#define FI_DISPLAY 13
#define PB_CHANGE_ICON 14
#define STR_AUTOLINK 32006
diff --git a/cui/source/inc/helpid.hrc b/cui/source/inc/helpid.hrc
index 65c71807bbee..2be79d87b439 100644
--- a/cui/source/inc/helpid.hrc
+++ b/cui/source/inc/helpid.hrc
@@ -38,10 +38,8 @@
#define HID_OPTIONS_PATH "CUI_HID_OPTIONS_PATH"
#define HID_OPTIONS_GENERAL "CUI_HID_OPTIONS_GENERAL"
#define HID_OPTIONS_LINGU "CUI_HID_OPTIONS_LINGU"
-#define HID_OPTIONS_SPELL "CUI_HID_OPTIONS_SPELL"
#define HID_OPTIONS_DICT_NEW "CUI_HID_OPTIONS_DICT_NEW"
#define HID_OPTIONS_DICT_EDIT "CUI_HID_OPTIONS_DICT_EDIT"
-#define HID_OPTIONS_INET "CUI_HID_OPTIONS_INET"
#define HID_OPTIONS_CHART_DEFCOLORS "CUI_HID_OPTIONS_CHART_DEFCOLORS"
#define HID_OPTIONS_CTL "CUI_HID_OPTIONS_CTL"
#define HID_OPTIONS_PROXY "CUI_HID_OPTIONS_PROXY"
@@ -86,7 +84,6 @@
#define HID_OPTIONS_DICT_EDIT_ENTRIES_LIST "CUI_HID_OPTIONS_DICT_EDIT_ENTRIES_LIST"
#define HID_OPTPATH_HEADERBAR "CUI_HID_OPTPATH_HEADERBAR"
#define HID_WARN_NAME_DUPLICATE "CUI_HID_WARN_NAME_DUPLICATE"
-#define HID_COLORPAGE_LISTBOX_START "CUI_HID_COLORPAGE_LISTBOX_START"
#define HID_COLORPAGE_DOCCOLOR_LB "CUI_HID_COLORPAGE_DOCCOLOR_LB"
#define HID_COLORPAGE_DOCBOUNDARIES_LB "CUI_HID_COLORPAGE_DOCBOUNDARIES_LB"
#define HID_COLORPAGE_APPBACKGROUND_LB "CUI_HID_COLORPAGE_APPBACKGROUND_LB"
@@ -133,7 +130,6 @@
#define HID_COLORPAGE_SQLKEYWORD_LB "CUI_HID_COLORPAGE_SQLKEYWORD_LB"
#define HID_COLORPAGE_SQLPARAMETER_LB "CUI_HID_COLORPAGE_SQLPARAMETER_LB"
#define HID_COLORPAGE_SQLCOMMENT_LB "CUI_HID_COLORPAGE_SQLCOMMENT_LB"
-#define HID_COLORPAGE_CHECKBOX_START "CUI_HID_COLORPAGE_CHECKBOX_START"
#define HID_COLORPAGE_DOCCOLOR_CB "CUI_HID_COLORPAGE_DOCCOLOR_CB"
#define HID_COLORPAGE_DOCBOUNDARIES_CB "CUI_HID_COLORPAGE_DOCBOUNDARIES_CB"
#define HID_COLORPAGE_APPBACKGROUND_CB "CUI_HID_COLORPAGE_APPBACKGROUND_CB"
@@ -381,7 +377,6 @@
#define HID_PASTE_DLG "CUI_HID_PASTE_DLG"
#define HID_LINKDLG_TABLB "CUI_HID_LINKDLG_TABLB"
#define HID_MACRO_HEADERTABLISTBOX "CUI_HID_MACRO_HEADERTABLISTBOX"
-#define HID_GALLERY_ENTER_TITLE "CUI_HID_GALLERY_ENTER_TITLE"
#define HID_GALLERY_TITLE_EDIT "CUI_HID_GALLERY_TITLE_EDIT"
#define HID_THES_LANGUAGE "CUI_HID_THES_LANGUAGE"
#define HID_OFAPAGE_QUOTE_SW_CLB "CUI_HID_OFAPAGE_QUOTE_SW_CLB"
diff --git a/cui/source/options/optaccessibility.hrc b/cui/source/options/optaccessibility.hrc
index 6cc5e0a891d1..cd66c7a2164d 100644
--- a/cui/source/options/optaccessibility.hrc
+++ b/cui/source/options/optaccessibility.hrc
@@ -59,7 +59,6 @@
#define ROWB_3 ( ROWB_2 + RSC_CD_CHECKBOX_HEIGHT + ROWSPACE )
#define WHOLE_HEIGHT 185
-#define LASTTEXT_HEIGHT (WHOLE_HEIGHT-ROWB_8)
#define OFFS_TEXTBOX_FIXEDTEXT(base) (base+(RSC_CD_TEXTBOX_HEIGHT-RSC_CD_FIXEDTEXT_HEIGHT)/2)
#define DIFF(v1,v2) (v2-v1)
#define SUM(v1,v2) (v2+v1)
diff --git a/cui/source/options/optdict.hrc b/cui/source/options/optdict.hrc
index e7233f2b67ef..6cf3dff54252 100644
--- a/cui/source/options/optdict.hrc
+++ b/cui/source/options/optdict.hrc
@@ -54,9 +54,6 @@
#define STR_MODIFY 42
#define BTN_EDITCLOSE 50
-#define BTN_EDITNEW 51
-#define BTN_EDITCHANGE 52
-#define BTN_EDITREMOVE 53
#define BTN_EDITHELP 54
diff --git a/cui/source/options/optgdlg.hrc b/cui/source/options/optgdlg.hrc
index 2ccc5037045f..8ecdec8a5b2b 100644
--- a/cui/source/options/optgdlg.hrc
+++ b/cui/source/options/optgdlg.hrc
@@ -111,7 +111,6 @@
#define PB_HELPAGENT_RESET 14
#define FT_HELPFORMAT 15
#define LB_HELPFORMAT 16
-#define FT_EXPERIMENTAL 17
#define CB_EXPERIMENTAL 18
#define FT_MACRORECORDER 19
#define CB_MACRORECORDER 20
@@ -173,8 +172,6 @@
// tabpage languages -----------------------------------------------------
#define FL_UI_LANG 1
-#define FT_UI_LANG 2
-#define LB_UI_LANG 3
#define FL_LINGU_LANG 4
#define FT_WEST_LANG 5
#define LB_WEST_LANG 6
@@ -202,7 +199,6 @@
#define FI_USERINTERFACE 29
#define FT_USERINTERFACE 30
#define LB_USERINTERFACE 31
-#define STR_IB_LANGCHANGE_TITLE 32
#define FL_FILEDLG 53
#define FI_FILEDLG_RO 54
@@ -210,7 +206,6 @@
#define FT_GRAPHICCACHE_UNIT 56
#define FT_GRAPHICOBJECTCACHE_UNIT 57
#define FT_GRAPHICOBJECTTIME_UNIT 58
-#define FT_HELPAGENT_TIME_UNIT 59
#define FL_DOCSTATUS 60
#define CB_DOCSTATUS 61
#define CB_ODMADLG 62
diff --git a/cui/source/options/optinet2.hrc b/cui/source/options/optinet2.hrc
index 64bf526beadb..8a3d21da0055 100644
--- a/cui/source/options/optinet2.hrc
+++ b/cui/source/options/optinet2.hrc
@@ -67,20 +67,6 @@
#define ST_MSG_255_0 111
#define ST_MSG_255_1 112
-// Site Certificate --------------------------------------------------------
-#define GB_SITECERT 120
-#define LB_SITECERT 121
-#define LB_FILTERCERT 122
-#define PB_EDIT_CERT 123
-#define PB_DELETE_CERT 124
-
-// personal Certificate ----------------------------------------------------
-#define GB_PERSCERT 130
-#define LB_PERSCERT 131
-#define PB_NEW_PERSCERT 132
-#define PB_INFO_PERSCERT 133
-#define PB_DELETE_PERSCERT 134
-
// Security -------------------------------------------------------------
#define FL_SEC_SECURITYOPTIONS 10
@@ -101,7 +87,6 @@
#define STR_SEC_NOPASSWDSAVE 12
-#define OFFS_BUTTON_Y (-6)
#define BORDER_OFFSET 8
#define COL_0 (RSC_SP_TBPG_INNERBORDER_LEFT)
#define COL_1 (COL_0+RSC_SP_FLGR_SPACE_X)
@@ -130,7 +115,6 @@
#define IMG_JSCPT_WARNING 220
#define FT_JSCPT_WARNING 221
#define CB_JSCPT_DISABLE 222
-#define GB_JSCPT_WARNING 223
#define BTN_JSCPT_YES 224
#define BTN_JSCPT_NO 225
diff --git a/cui/source/options/optlingu.hrc b/cui/source/options/optlingu.hrc
index 824e2236e9c6..7cf44b4037ec 100644
--- a/cui/source/options/optlingu.hrc
+++ b/cui/source/options/optlingu.hrc
@@ -25,8 +25,6 @@
*
************************************************************************/
-// defines ---------------------------------------------------------------
-
#define FL_LINGUISTIC 101
#define FT_LINGU_MODULES 111
@@ -55,8 +53,6 @@
#define STR_GRAMMAR_AUTO 217
-#define STR_WARNING 63
-
#define PB_OK 70
#define PB_HELP 72
diff --git a/cui/source/options/optsave.hrc b/cui/source/options/optsave.hrc
index f0fcbe982822..64882a194b2d 100644
--- a/cui/source/options/optsave.hrc
+++ b/cui/source/options/optsave.hrc
@@ -38,14 +38,12 @@
#define BTN_AUTOSAVE 16
#define ED_AUTOSAVE 17
#define FT_MINUTE 18
-#define BTN_AUTOSAVEPROMPT 19
#define BTN_NOPRETTYPRINTING 20
#define FI_BACKUP 21
#define BTN_WARNALIENFORMAT 22
#define FT_ODF_VERSION 23
#define LB_ODF_VERSION 24
-#define GB_RELATIVE 40
#define BTN_RELATIVE_FSYS 41
#define BTN_RELATIVE_INET 42
@@ -72,7 +70,6 @@
//Filter warning
#define PB_OK 1
#define FT_FILTER_WARNING 2
-#define CB_DONT_SHOW_AGAIN 3
#define IMG_WARNING 4
#define PB_CANCEL 5
diff --git a/cui/source/options/treeopt.hrc b/cui/source/options/treeopt.hrc
index 3be1d6a8cdfa..35a916b18803 100644
--- a/cui/source/options/treeopt.hrc
+++ b/cui/source/options/treeopt.hrc
@@ -26,7 +26,6 @@
************************************************************************/
#include <sfx2/tabpage.hrc>
-
#include <svtools/controldims.hrc>
#define PB_OK 1
@@ -39,22 +38,8 @@
#define FT_HINT 21
#define CB_DISABLE 22
-#define BTN_HINT 23
#define ST_LOAD_ERROR 24
-#define STR_GENERAL_PAGES_START 1
-#define STR_GENERAL (STR_GENERAL_PAGES_START)
-#define STR_MISC_PAGE (STR_GENERAL_PAGES_START + 1)
-#define STR_DESKTOP_PAGE (STR_GENERAL_PAGES_START + 2)
-#define STR_VIEW_PAGE (STR_GENERAL_PAGES_START + 3)
-#define STR_FONT_PAGE (STR_GENERAL_PAGES_START + 4)
-#define STR_PRINT_PAGE (STR_GENERAL_PAGES_START + 5)
-#define STR_COLOR_PAGE (STR_GENERAL_PAGES_START + 6)
-#define STR_LING_PAGE (STR_GENERAL_PAGES_START + 7)
-#define STR_PATH_PAGE (STR_GENERAL_PAGES_START + 8)
-#define STR_SAVE_PAGE (STR_GENERAL_PAGES_START + 9)
-#define STR_USERDATA_PAGE (STR_GENERAL_PAGES_START + 10)
-
// metrics
#define WIDTH_PAGEFRAME TP_WIDTH
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