summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc
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 /sc/source/ui/inc
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 'sc/source/ui/inc')
-rw-r--r--sc/source/ui/inc/datafdlg.hrc2
-rw-r--r--sc/source/ui/inc/miscdlgs.hrc2
-rw-r--r--sc/source/ui/inc/optdlg.hrc14
-rw-r--r--sc/source/ui/inc/submenu.hrc35
4 files changed, 0 insertions, 53 deletions
diff --git a/sc/source/ui/inc/datafdlg.hrc b/sc/source/ui/inc/datafdlg.hrc
index bdb1ea962a82..a45338860444 100644
--- a/sc/source/ui/inc/datafdlg.hrc
+++ b/sc/source/ui/inc/datafdlg.hrc
@@ -36,7 +36,5 @@
#define WND_DATAFORM_SCROLLBAR 7
#define LAB_DATAFORM_RECORDNO 8
-#define FT_DATAFORM_FIXEDTEXT1 9
-#define ED_DATAFORM_EDIT1 10
#define STR_NEW_RECORD 11
diff --git a/sc/source/ui/inc/miscdlgs.hrc b/sc/source/ui/inc/miscdlgs.hrc
index 420e0fad9d67..2745ebbbfb26 100644
--- a/sc/source/ui/inc/miscdlgs.hrc
+++ b/sc/source/ui/inc/miscdlgs.hrc
@@ -132,13 +132,11 @@
#define BTN_RIGHT 3
#define BTN_TOP 4
#define BTN_BOTTOM 5
-#define FL_SEP11 10
#define FL_TYPE 11
#define BTN_ARITHMETIC 12
#define BTN_GEOMETRIC 13
#define BTN_DATE 14
#define BTN_AUTOFILL 15
-#define FL_SEP12 20
#define FL_TIME_UNIT 21
#define BTN_DAY 22
#define BTN_DAY_OF_WEEK 23
diff --git a/sc/source/ui/inc/optdlg.hrc b/sc/source/ui/inc/optdlg.hrc
index 34ccbfc5d63c..1a998cb29d1e 100644
--- a/sc/source/ui/inc/optdlg.hrc
+++ b/sc/source/ui/inc/optdlg.hrc
@@ -31,12 +31,10 @@
#define TP_GENERAL 1
#define TP_SAVE 2
#define TP_PATH 3
-#define TP_SPELL 4
#define TP_VIEW 5
#define TP_CALC 6
#define TP_USERLISTS 7
#define TP_PRINT 8
-#define TP_COLORS 9
#define TP_GRID 10
#define TP_CONTENT 11
#define TP_LAYOUT 12
@@ -59,7 +57,6 @@
#define FT_VALUE 13
#define GB_DATE 14
#define BTN_CASE 15
-#define FT_CASE 16
#define BTN_CALC 17
#define BTN_MATCH 18
#define BTN_LOOKUP 19
@@ -67,21 +64,11 @@
#define BTN_GENERAL_PREC 21
// TP_VIEW:
-#define BTN_VSCROLL 1
-#define BTN_HSCROLL 2
-#define BTN_REGISTER 3
-#define BTN_OUTLINER 4
-#define BTN_HEADERFOOTER 5
#define BTN_GRID 6
-#define BTN_SYNTAX 7
-#define LB_GRIDCOLOR 9
-#define GB_ELEMENTS 10
-#define BTN_HELPLINES 11
#define BTN_FORMULAS 20
#define BTN_NULLVALS 21
#define BTN_NOTES 22
-#define GB_CONTENTS 23
// TP_USERLISTS:
@@ -151,7 +138,6 @@
#define GB_UNIT 61
#define LB_UNIT 62
#define ST_UNIT 63
-#define GB_TAB 64
#define MF_TAB 65
#define CB_PAGEBREAKS 66
#define FT_TAB 69
diff --git a/sc/source/ui/inc/submenu.hrc b/sc/source/ui/inc/submenu.hrc
index 4e5ad6d28d9e..2169061d7967 100644
--- a/sc/source/ui/inc/submenu.hrc
+++ b/sc/source/ui/inc/submenu.hrc
@@ -26,43 +26,8 @@
************************************************************************/
// IDs fuer Untermenues
-
-// 1 ist nicht erlaubt ????
-#define SUBMENU_EDIT 2
-#define SUBMENU_FILL 3
-#define SUBMENU_DELBREAK 4
-#define SUBMENU_VIEW 5
-#define SUBMENU_INSERT 6
-#define SUBMENU_INSBREAK 7
#define SUBMENU_NAME 8
-#define SUBMENU_INSOBJ 9
-#define SUBMENU_DATA 10
-#define SUBMENU_FILTER 11
-#define SUBMENU_OUTLINE 12
-#define SUBMENU_PIVOT 13
-#define SUBMENU_EXTRA 14
-#define SUBMENU_AUDIT 15
-#define SUBMENU_PROTECT 16
-#define SUBMENU_ROW 17
-#define SUBMENU_COL 18
-#define SUBMENU_TAB 19
-#define SUBMENU_MERGE 20
-#define SUBMENU_AREA 21
-#define SUBMENU_MIRROR 22
#define SUBMENU_OBJARRANGE 23
#define SUBMENU_ANCHOR 24
-#define SUBMENU_POPARRANGE 25
-#define SUBMENU_OLEARRANGE 26
-#define SUBMENU_MAIL 27
-#define SUBMENU_OPTIONS 28
-#define SUBMENU_TOOLBARS 29
-#define SUBMENU_GRAPHIC 30
-#define SUBMENU_SPELLING 31
-#define SUBMENU_CELLCONT 32
#define SUBMENU_OBJMIRROR 33
-#define SUBMENU_OBJALIGN 34
-#define SUBMENU_OBJANCHOR 35
-#define SUBMENU_SENDTO 36
-#define SUBMENU_CHANGES 37
-#define SUBMENU_EDIT_TABLE 38
#define MN_TEMPLATES 39