summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2012-07-02 17:39:58 +0200
committerThomas Arnhold <thomas@arnhold.org>2012-07-02 17:46:25 +0200
commit892bb81d17b3351c196661c44fb15b29509c7115 (patch)
treec1c5fc19da770daf433bcc34c9915f9552859fb5 /sw
parent826861bc2aa666fadda41b51773871b84abd5c15 (diff)
hrc cleanup: Remove unused defines
Change-Id: Iaa7da7745fc01544d9a503b313479b2450810524
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/chrdlg.hrc1
-rw-r--r--sw/inc/fldui.hrc1
-rw-r--r--sw/inc/fmtui.hrc2
-rw-r--r--sw/inc/globals.hrc2
-rw-r--r--sw/inc/index.hrc4
-rw-r--r--sw/inc/rcid.hrc1
-rw-r--r--sw/source/ui/chrdlg/chardlg.hrc4
-rw-r--r--sw/source/ui/chrdlg/paradlg.hrc3
-rw-r--r--sw/source/ui/config/optdlg.hrc2
-rw-r--r--sw/source/ui/frmdlg/cption.hrc1
-rw-r--r--sw/source/ui/frmdlg/pattern.hrc4
-rw-r--r--sw/source/ui/inc/frmui.hrc2
-rw-r--r--sw/source/ui/inc/misc.hrc16
-rw-r--r--sw/source/ui/inc/ribbar.hrc1
-rw-r--r--sw/source/ui/inc/table.hrc1
-rw-r--r--sw/source/ui/misc/outline.hrc1
-rw-r--r--sw/source/ui/ribbar/inputwin.hrc2
-rw-r--r--sw/source/ui/ribbar/workctrl.hrc1
-rw-r--r--sw/source/ui/uiview/pview.hrc8
-rw-r--r--sw/source/ui/utlui/navipi.hrc1
20 files changed, 0 insertions, 58 deletions
diff --git a/sw/inc/chrdlg.hrc b/sw/inc/chrdlg.hrc
index dd56cc79ce24..a365245b86ab 100644
--- a/sw/inc/chrdlg.hrc
+++ b/sw/inc/chrdlg.hrc
@@ -23,7 +23,6 @@
#define DLG_CHAR (RC_CHRDLG_BEGIN + 1)
#define DLG_PARA (RC_CHRDLG_BEGIN + 2)
-#define DLG_PAGE (RC_CHRDLG_BEGIN + 3)
#define DLG_BREAK (RC_CHRDLG_BEGIN + 5)
#define DLG_DROPCAPS (RC_CHRDLG_BEGIN + 8)
#define DLG_DRAWCHAR (RC_CHRDLG_BEGIN + 9)
diff --git a/sw/inc/fldui.hrc b/sw/inc/fldui.hrc
index 20438e01e390..b09dc9697d3d 100644
--- a/sw/inc/fldui.hrc
+++ b/sw/inc/fldui.hrc
@@ -29,7 +29,6 @@
#include "rcid.hrc"
-#define DLG_POSTIT (RC_FLDDLG_BEGIN + 4)
#define DLG_FLD_INPUT (RC_FLDDLG_BEGIN + 5)
#define DLG_CHANGE_DB (RC_FLDDLG_BEGIN + 9)
#define DLG_JAVAEDIT (RC_FLDDLG_BEGIN + 10)
diff --git a/sw/inc/fmtui.hrc b/sw/inc/fmtui.hrc
index 12e1dd4a9330..20c6b3f8dc44 100644
--- a/sw/inc/fmtui.hrc
+++ b/sw/inc/fmtui.hrc
@@ -30,8 +30,6 @@
#define STR_PAGE_FOOTNOTE (RC_FMTUI_BEGIN + 7)
#define STR_PAGE_TEXTGRID (RC_FMTUI_BEGIN + 8)
-#define MN_TEXT (RC_FMTUI_BEGIN + 20)
-
#define ST_CUSTOMIZE 1
// Do not change relations to base 2!!!
diff --git a/sw/inc/globals.hrc b/sw/inc/globals.hrc
index b7773d067369..616ea64a2e7c 100644
--- a/sw/inc/globals.hrc
+++ b/sw/inc/globals.hrc
@@ -63,7 +63,6 @@
// DIALOGS -----------------------------------------------------------
-#define DLG_LISTBOX (RC_GLOBALS_BEGIN + 1)
#define DLG_THESAURUS (RC_GLOBALS_BEGIN + 2)
#define DLG_SPECIAL (RC_GLOBALS_BEGIN + 3)
@@ -144,7 +143,6 @@
#define TP_FRM_URL (RC_GLOBALS_BEGIN + 42)
#define TP_CHAR_URL (RC_GLOBALS_BEGIN + 43)
-#define TP_LAYOUT_OPT (RC_GLOBALS_BEGIN + 44)
#define TP_CONTENT_OPT (RC_GLOBALS_BEGIN + 45)
#define TP_STD_FONT (RC_GLOBALS_BEGIN + 47)
#define TP_CONDCOLL (RC_GLOBALS_BEGIN + 48)
diff --git a/sw/inc/index.hrc b/sw/inc/index.hrc
index 0497d42d6eb2..6d07ec14da36 100644
--- a/sw/inc/index.hrc
+++ b/sw/inc/index.hrc
@@ -25,11 +25,7 @@
#include "rcid.hrc"
-#define DLG_FORMEDT (RC_INDEX_BEGIN + 0)
-#define DLG_IDX (RC_INDEX_BEGIN + 1)
-#define DLG_USRIDX (RC_INDEX_BEGIN + 2)
#define DLG_INSIDXMARK (RC_INDEX_BEGIN + 3)
-#define DLG_CNTTABLE (RC_INDEX_BEGIN + 4)
#define DLG_MULTMRK (RC_INDEX_BEGIN + 5)
#define STR_TITLE (RC_INDEX_BEGIN + 6)
diff --git a/sw/inc/rcid.hrc b/sw/inc/rcid.hrc
index 89a338b98235..8f9bd1c6055c 100644
--- a/sw/inc/rcid.hrc
+++ b/sw/inc/rcid.hrc
@@ -59,7 +59,6 @@
#define RC_ENVELP (RC_BASE + 2750)
#define RC_STATLIN_STR (RC_BASE + 2850)
#define RC_COMMON_CORE (RC_BASE + 2950)
-#define RC_WIZARD (RC_BASE + 3050)
#define RC_POPUPS (RC_BASE + 3150)
#define RC_SHELLS (RC_BASE + 3250)
#define RC_CFGITEMS (RC_BASE + 3350)
diff --git a/sw/source/ui/chrdlg/chardlg.hrc b/sw/source/ui/chrdlg/chardlg.hrc
index 37d90792c6f6..5d1bb428d146 100644
--- a/sw/source/ui/chrdlg/chardlg.hrc
+++ b/sw/source/ui/chrdlg/chardlg.hrc
@@ -15,9 +15,6 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#define SIZE_FT 5
-#define COLOR_LB 12
-#define CAPS_RB 21
#define FL_URL 50
#define FT_URL 51
@@ -35,4 +32,3 @@
#define ED_TEXT 64
#define FT_NAME 65
#define ED_NAME 66
-
diff --git a/sw/source/ui/chrdlg/paradlg.hrc b/sw/source/ui/chrdlg/paradlg.hrc
index 16aae433a650..b3644ed2c3dc 100644
--- a/sw/source/ui/chrdlg/paradlg.hrc
+++ b/sw/source/ui/chrdlg/paradlg.hrc
@@ -16,9 +16,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#define TAB_CONTROL 55
-#define DIST_FRM 8
-#define TOP_DIST 10
-#define BOTTOM_DIST 12
#define HYPHEN_BOX_AFTER 44
#define HYPHEN_BOX_BEFORE 22
#define OK_BTN 50
diff --git a/sw/source/ui/config/optdlg.hrc b/sw/source/ui/config/optdlg.hrc
index 76d6a7f86830..b02e34d0e4ef 100644
--- a/sw/source/ui/config/optdlg.hrc
+++ b/sw/source/ui/config/optdlg.hrc
@@ -61,7 +61,6 @@
#define BT_EDIT 55
#define BT_NEW 56
#define BT_DELETE 57
-#define BT_DEFAULT 58
#define CB_CHAR_HIDDEN 61
// Print-Extra-Page
#define CB_PGRF 61
@@ -148,7 +147,6 @@
#define FT_MOVE 128
#define FT_COMMENT 133
-#define FT_UNKNOWN 137
#define FL_TABLE_SEPARATOR 139
#define CB_PROSPECT_RTL 140
diff --git a/sw/source/ui/frmdlg/cption.hrc b/sw/source/ui/frmdlg/cption.hrc
index 767b2af4fe2f..fac440c76077 100644
--- a/sw/source/ui/frmdlg/cption.hrc
+++ b/sw/source/ui/frmdlg/cption.hrc
@@ -37,7 +37,6 @@
#define LB_LEVEL 17
#define FT_SEPARATOR 18
#define ED_SEPARATOR 19
-#define CB_COPY_ATTR 20
#define BTN_AUTOCAPTION 23
#define TXT_SEP 24
#define EDT_SEP 25
diff --git a/sw/source/ui/frmdlg/pattern.hrc b/sw/source/ui/frmdlg/pattern.hrc
index 8beb7abc2704..0eaf55a982ea 100644
--- a/sw/source/ui/frmdlg/pattern.hrc
+++ b/sw/source/ui/frmdlg/pattern.hrc
@@ -16,10 +16,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#define COLOR_LBL 3
-#define COLOR_LBOX 4
-
#define OK_BTN 11
#define CANCEL_BTN 12
-#define RESET_BTN 13
diff --git a/sw/source/ui/inc/frmui.hrc b/sw/source/ui/inc/frmui.hrc
index f67761749409..2bfc38b696c0 100644
--- a/sw/source/ui/inc/frmui.hrc
+++ b/sw/source/ui/inc/frmui.hrc
@@ -22,7 +22,6 @@
#include "rcid.hrc"
#include "globals.hrc"
-#define DLG_BORDER (RC_FRMDLG_BEGIN + 3)
#define DLG_COLUMN (RC_FRMDLG_BEGIN + 4)
#define DLG_CAPTION (RC_FRMDLG_BEGIN + 11)
@@ -42,7 +41,6 @@
#define MN_BACKGROUND (BMP_END + 4)
-#define STR_BACKGROUND (BMP_END + 6)
#define MN_FOOTNOTE (BMP_END + 7)
#define STR_FRMDLG_BEGIN (MN_FOOTNOTE + 1)
diff --git a/sw/source/ui/inc/misc.hrc b/sw/source/ui/inc/misc.hrc
index f3ce9d3a0cdf..4bfbfe587c0f 100644
--- a/sw/source/ui/inc/misc.hrc
+++ b/sw/source/ui/inc/misc.hrc
@@ -21,11 +21,8 @@
#include "rcid.hrc"
-
-
#define STR_GLOSSARY_BIB_DLG (RC_MISC_BEGIN + 5)
-#define DLG_ZOOM (RC_MISC_BEGIN + 10)
#define DLG_GLOSSARY (RC_MISC_BEGIN + 11)
#define DLG_INS_FOOTNOTE (RC_MISC_BEGIN + 12)
#define DLG_DOC_FOOTNOTE (RC_MISC_BEGIN + 13)
@@ -33,9 +30,7 @@
#define DLG_INSERT_BOOKMARK (RC_MISC_BEGIN + 17)
#define DLG_NUM_NAMES (RC_MISC_BEGIN + 18)
#define DLG_SORTING (RC_MISC_BEGIN + 19)
-#define DLG_CHARMAP (RC_MISC_BEGIN + 20)
#define DLG_RENAME_GLOS (RC_MISC_BEGIN + 25)
-#define DLG_PRCNT_SET (RC_MISC_BEGIN + 27)
#define DLG_INSERT_RULER (RC_MISC_BEGIN + 28)
#define DLG_REDLINE_ACCEPT (RC_MISC_BEGIN + 29)
@@ -56,17 +51,6 @@
#define STR_CHANGE_END (RC_MISC_BEGIN + 45)
#define STR_SAVE_GLOSSARY (RC_MISC_BEGIN + 46)
-#define STR_FULLNUMS_START (RC_MISC_BEGIN + 47)
-#define STR_FULLNUMS_1 (STR_FULLNUMS_START )
-#define STR_FULLNUMS_2 (STR_FULLNUMS_START + 1)
-#define STR_FULLNUMS_3 (STR_FULLNUMS_START + 2)
-#define STR_FULLNUMS_4 (STR_FULLNUMS_START + 3)
-#define STR_FULLNUMS_5 (STR_FULLNUMS_START + 4)
-#define STR_FULLNUMS_6 (STR_FULLNUMS_START + 5)
-#define STR_FULLNUMS_7 (STR_FULLNUMS_START + 6)
-#define STR_FULLNUMS_8 (STR_FULLNUMS_START + 7)
-
-
#define MN_REDLINE_POPUP (RC_MISC_BEGIN + 61)
#define STR_REMOVE_WARNING (RC_MISC_BEGIN + 62)
#define STRRES_NUMTYPES (RC_MISC_BEGIN + 63)
diff --git a/sw/source/ui/inc/ribbar.hrc b/sw/source/ui/inc/ribbar.hrc
index 457445116d4f..db83295b79d3 100644
--- a/sw/source/ui/inc/ribbar.hrc
+++ b/sw/source/ui/inc/ribbar.hrc
@@ -29,7 +29,6 @@
#define CB_FORMAT (RC_RIBBAR_BEGIN +1)
#define CB_SIZE (RC_RIBBAR_BEGIN +3)
-#define PB_FORMULA_OK (RC_RIBBAR_BEGIN +4)
#define RID_TBX_FORMULA (RC_RIBBAR_BEGIN +6)
#define FT_POS (RC_RIBBAR_BEGIN +7)
#define STR_TBL_FORMULA (RC_RIBBAR_BEGIN +9)
diff --git a/sw/source/ui/inc/table.hrc b/sw/source/ui/inc/table.hrc
index cd6373b32c9e..a7b517da6f79 100644
--- a/sw/source/ui/inc/table.hrc
+++ b/sw/source/ui/inc/table.hrc
@@ -22,7 +22,6 @@
#define DLG_FORMAT_TABLE (RC_TABLE_BEGIN + 1)
#define DLG_CONV_TEXT_TABLE (RC_TABLE_BEGIN + 2)
#define DLG_ROW_HEIGHT (RC_TABLE_BEGIN + 4)
-#define DLG_SPLIT (RC_TABLE_BEGIN + 5)
#define DLG_COL_WIDTH (RC_TABLE_BEGIN + 6)
#define MSG_ERR_TABLE_MERGE (RC_TABLE_BEGIN + 7)
#define DLG_AUTOFMT_TABLE (RC_TABLE_BEGIN + 9)
diff --git a/sw/source/ui/misc/outline.hrc b/sw/source/ui/misc/outline.hrc
index 396517bbfeaf..df6bee03a960 100644
--- a/sw/source/ui/misc/outline.hrc
+++ b/sw/source/ui/misc/outline.hrc
@@ -19,7 +19,6 @@
#define FT_2 7
#define FT_3 8
#define FT_4 9
-#define FT_5 10
#define FT_COLL 20
#define LB_COLL 21
diff --git a/sw/source/ui/ribbar/inputwin.hrc b/sw/source/ui/ribbar/inputwin.hrc
index 8468e5774655..14fa0552cbc9 100644
--- a/sw/source/ui/ribbar/inputwin.hrc
+++ b/sw/source/ui/ribbar/inputwin.hrc
@@ -49,9 +49,7 @@
#define MN_POP_OPS 29
#define MN_POP_STATISTICS 30
#define MN_POP_FUNC 31
-#define MN_RSC_END 32
-#define TBX_FORMULA 1
#define ED_POS 2
#define ED_FORMULA 3
diff --git a/sw/source/ui/ribbar/workctrl.hrc b/sw/source/ui/ribbar/workctrl.hrc
index 6fdde163c4c3..8a84bf7b33f4 100644
--- a/sw/source/ui/ribbar/workctrl.hrc
+++ b/sw/source/ui/ribbar/workctrl.hrc
@@ -19,7 +19,6 @@
#define _WORKCTRL_HRC
#include "ribbar.hrc"
-#define TBX_INSERT 1
#define IL_VALUES 5
#define IMG_BTN 6
#define ST_QUICK 7
diff --git a/sw/source/ui/uiview/pview.hrc b/sw/source/ui/uiview/pview.hrc
index 71f9bb293974..8969c8a7b9a7 100644
--- a/sw/source/ui/uiview/pview.hrc
+++ b/sw/source/ui/uiview/pview.hrc
@@ -35,21 +35,13 @@
//Dialog Druckoptionen
#define FT_ROWS 2
#define NF_ROWS 3
-#define NF_COLS 5
#define FL_DISTANCE 7
#define FL_ORIENTATION 8
#define WIN_PREVIEW 11
-
#define FT_LMARGIN 12
-#define MF_LMARGIN 13
#define FT_RMARGIN 14
-#define MF_RMARGIN 15
-#define MF_TMARGIN 17
-#define MF_BMARGIN 19
-#define MF_HMARGIN 21
-#define MF_VMARGIN 23
#define PB_STANDARD 24
#define RB_LANDSCAPE 24
diff --git a/sw/source/ui/utlui/navipi.hrc b/sw/source/ui/utlui/navipi.hrc
index 77236a715063..dbf82e587658 100644
--- a/sw/source/ui/utlui/navipi.hrc
+++ b/sw/source/ui/utlui/navipi.hrc
@@ -17,7 +17,6 @@
*/
#define IL_CONTENT 7
#define FT_PAGE 10
-#define ED_PAGE 11
#define TB_CONTENT 50
#define TL_CONTENT 51
#define LB_DOCS 53