summaryrefslogtreecommitdiff
path: root/sc
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
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')
-rw-r--r--sc/inc/globstr.hrc2
-rw-r--r--sc/inc/sc.hrc97
-rw-r--r--sc/inc/scfuncs.hrc1
-rw-r--r--sc/source/ui/dbgui/pivot.hrc5
-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
-rw-r--r--sc/source/ui/pagedlg/pagedlg.hrc2
9 files changed, 5 insertions, 155 deletions
diff --git a/sc/inc/globstr.hrc b/sc/inc/globstr.hrc
index b02d250a14d6..e1bfc10f95d7 100644
--- a/sc/inc/globstr.hrc
+++ b/sc/inc/globstr.hrc
@@ -183,14 +183,12 @@
#define STR_TEXTATTRS 148
#define STR_HFCMD_DELIMITER 149
-#define HFCMD_START 150
#define STR_HFCMD_PAGE 150
#define STR_HFCMD_PAGES 151
#define STR_HFCMD_DATE 152
#define STR_HFCMD_TIME 153
#define STR_HFCMD_FILE 154
#define STR_HFCMD_TABLE 155
-#define HFCMD_END 155
#define STR_PROTECTIONERR 156
diff --git a/sc/inc/sc.hrc b/sc/inc/sc.hrc
index 6142f10a6653..23308eacf1bf 100644
--- a/sc/inc/sc.hrc
+++ b/sc/inc/sc.hrc
@@ -24,6 +24,7 @@
* for a copy of the LGPLv3 License.
*
************************************************************************/
+
#ifndef SC_SC_HRC
#define SC_SC_HRC
@@ -45,17 +46,16 @@
// areas
#define SC_VIEW_START (SID_SC_START)
-#define SC_VIEW_END (SID_SC_START + 99)
+// SC_VIEW_END (SID_SC_START + 99)
#define SC_MESSAGE_START (SID_SC_START + 100)
-#define SC_MESSAGE_END (SID_SC_START + 199)
+// SC_MESSAGE_END (SID_SC_START + 199)
#define SC_FUNCTION_START (SID_SC_START + 200)
-#define SC_FUNCTION_END (SID_SC_START + 299)
+// SC_FUNCTION_END (SID_SC_START + 299)
#define SC_PARAM_START (SID_SC_START + 300)
-#define SC_PARAM_END (SID_SC_START + 399)
+// SC_PARAM_END (SID_SC_START + 399)
// stay compatible to the past
#define SC_RESOURCE_START (RID_APP_START+5000)
-#define SC_RESOURCE_END (RID_APP_END)
// help IDs -
// calc has a range of 2000 IDs
@@ -74,7 +74,6 @@
#define HID_SC_SHEET_PAGE_REP (HID_SC_SHEET_START +11 )
// help IDs for shells (helper) (max. 20)
-#define HID_SCSHELL_APP (HID_SC_SHELL_START +0 )
#define HID_SCSHELL_DOCSH (HID_SC_SHELL_START +1 )
#define HID_SCSHELL_DRAWSH (HID_SC_SHELL_START +2 )
#define HID_SCSHELL_DRTXTOB (HID_SC_SHELL_START +3 )
@@ -92,36 +91,14 @@
#define HID_SCSHELL_MEDIA (HID_SC_SHELL_START +15)
// view-functions (max. 100)
-#define FID_TESTFUNC0 (SC_VIEW_START)
-#define FID_TESTFUNC1 (SC_VIEW_START + 1)
-#define FID_TESTFUNC2 (SC_VIEW_START + 2)
-#define FID_TESTFUNC3 (SC_VIEW_START + 3)
-#define FID_TESTFUNC4 (SC_VIEW_START + 4)
-#define FID_TESTFUNC5 (SC_VIEW_START + 5)
-#define FID_TESTFUNC6 (SC_VIEW_START + 6)
-#define FID_TESTFUNC7 (SC_VIEW_START + 7)
-#define FID_TESTFUNC8 (SC_VIEW_START + 8)
-#define FID_TESTFUNC9 (SC_VIEW_START + 9)
#define FID_SCALESTATUS (SC_VIEW_START + 10)
-#define FID_COLOR (SC_VIEW_START + 11)
#define SID_UPDATECHART (SC_VIEW_START + 13)
-#define FID_MARKLEFT (SC_VIEW_START + 14)
-#define FID_MARKRIGHT (SC_VIEW_START + 15)
-#define FID_MARKUP (SC_VIEW_START + 16)
-#define FID_MARKDOWN (SC_VIEW_START + 17)
-#define FID_MARKPAGEUP (SC_VIEW_START + 18)
-#define FID_MARKPAGEDOWN (SC_VIEW_START + 19)
// Format options
#define SID_SCFORMULAOPTIONS (SC_VIEW_START + 20)
#define SID_SCDEFAULTSOPTIONS (SC_VIEW_START + 21)
// slot-IDs for attributes
-#define SID_SCATTR_HOR_JUSTIFY (SC_VIEW_START + 30) // alignment-page
-#define SID_SCATTR_VER_JUSTIFY (SC_VIEW_START + 31)
-#define SID_SCATTR_MARGIN (SC_VIEW_START + 32)
-#define SID_SCATTR_STACKED (SC_VIEW_START + 33)
-#define SID_SCATTR_LINEBREAK (SC_VIEW_START + 35)
#define SID_SCATTR_PROTECTION (SC_VIEW_START + 36) // protection-page
// other slot-IDs:
@@ -158,7 +135,6 @@
// misc:
#define SID_LINKS (SC_VIEW_START + 60)
#define SID_INSERT_SIMAGE (SC_VIEW_START + 61)
-#define SID_INSERT_SCHART (SC_VIEW_START + 62)
#define SID_INSERT_SMATH (SC_VIEW_START + 63)
#define SID_STANDARD_FONTS (SC_VIEW_START + 64)
#define SID_MIRROR_VERTICAL (SC_VIEW_START + 65)
@@ -232,10 +208,8 @@
#define FID_REFMODECHANGED (SC_MESSAGE_START + 4)
#define FID_KILLEDITVIEW (SC_MESSAGE_START + 5)
#define SID_SOLVE (SC_MESSAGE_START + 6)
-#define FID_FONT_SELECTED (SC_MESSAGE_START + 7)
#define FID_FILTER_OK (SC_MESSAGE_START + 8)
#define SC_HINT_DRWLAYER_NEW (SC_MESSAGE_START + 9)
-#define SID_TABDELETED (SC_MESSAGE_START + 10)
#define FID_INPUTLINE_MATRIX (SC_MESSAGE_START + 11)
#define SID_DLG_RETOK (SC_MESSAGE_START + 12)
#define FID_ANYDATACHANGED (SC_MESSAGE_START + 13)
@@ -285,14 +259,10 @@
// functions
-#define FID_DOC_MANAGER (SC_FUNCTION_START + 1)
-#define FID_CURSOR_ENTER (SC_FUNCTION_START + 2)
-#define SID_MAIL (SC_FUNCTION_START + 3)
#define SID_OPEN_CALC (SC_FUNCTION_START + 4)
#define FILE_MENU_END (SC_FUNCTION_START + 20)
#define EDIT_MENU_START (FILE_MENU_END)
-#define FID_DELETE_CELLCONTENTS (EDIT_MENU_START + 1)
#define FID_DELETE_CELL (EDIT_MENU_START + 2)
#define FID_DELETE_TABLE (EDIT_MENU_START + 3)
#define FID_FILL_TO_BOTTOM (EDIT_MENU_START + 4)
@@ -301,10 +271,6 @@
#define FID_FILL_TO_LEFT (EDIT_MENU_START + 7)
#define FID_FILL_TAB (EDIT_MENU_START + 8)
#define FID_FILL_SERIES (EDIT_MENU_START + 9)
-#define FID_SEARCH_REPLACE_DLG (EDIT_MENU_START + 10)
-#define FID_EDIT_OBJECT (EDIT_MENU_START + 11)
-#define SID_SC_NAVIGATOR (EDIT_MENU_START + 12)
-#define SID_SC_WIZARD (EDIT_MENU_START + 13)
#define SID_SC_EDIT_OBJECT (EDIT_MENU_START + 14)
#define SID_HFEDIT (EDIT_MENU_START + 15)
@@ -316,12 +282,10 @@
#define EDIT_MENU_END (EDIT_MENU_START + 20)
#define VIEW_MENU_START (EDIT_MENU_END)
-#define FID_TOGGLEOBJECT (VIEW_MENU_START)
#define FID_TOGGLEINPUTLINE (VIEW_MENU_START + 1)
#define FID_TOGGLEHEADERS (VIEW_MENU_START + 2)
#define FID_SCALE (VIEW_MENU_START + 4)
#define FID_TOGGLESYNTAX (VIEW_MENU_START + 5)
-#define FID_SCREEN_OPTIONS (VIEW_MENU_START + 6)
#define FID_PAGEBREAKMODE (VIEW_MENU_START + 7)
#define FID_FUNCTION_BOX (VIEW_MENU_START + 8)
#define FID_NORMALVIEWMODE (VIEW_MENU_START + 9)
@@ -332,7 +296,6 @@
#define VIEW_MENU_END (VIEW_MENU_START + 20)
#define INSERT_MENU_START (VIEW_MENU_END)
-#define FID_PAGEBREAK (INSERT_MENU_START)
#define FID_INS_ROWBRK (INSERT_MENU_START + 1)
#define FID_INS_COLBRK (INSERT_MENU_START + 2)
#define FID_DEL_ROWBRK (INSERT_MENU_START + 3)
@@ -349,7 +312,6 @@
#define FID_APPLY_NAME (INSERT_MENU_START + 14)
#define FID_INS_TABLE_EXT (INSERT_MENU_START + 15)
#define FID_ADD_NAME (INSERT_MENU_START + 16)
-#define SID_INSERT_CLIPART (INSERT_MENU_START + 17) //!!! should come from Svx
#define FID_INS_CELLSDOWN (INSERT_MENU_START + 18)
#define FID_INS_CELLSRIGHT (INSERT_MENU_START + 19)
#define INSERT_MENU_END (INSERT_MENU_START + 20)
@@ -368,7 +330,6 @@
#define FID_TABLE_SHOW (FORMAT_MENU_START + 10)
#define SID_COLORSCALE (FORMAT_MENU_START + 11)
#define SID_DATABAR (FORMAT_MENU_START + 12)
-#define SID_SCSTYLES (FORMAT_MENU_START + 14)
#define FID_MERGE_ON (FORMAT_MENU_START + 15)
#define FID_MERGE_OFF (FORMAT_MENU_START + 16)
#define SID_FORMATPAGE (FORMAT_MENU_START + 17)
@@ -379,26 +340,17 @@
#define FORMAT_MENU_END (FORMAT_MENU_START + 22)
#define EXTRA_MENU_START (FORMAT_MENU_END)
-#define FID_VOICE_CONTROL (EXTRA_MENU_START + 1)
-#define SID_RECALC_TITLE (EXTRA_MENU_START + 2)
#define FID_AUTO_CALC (EXTRA_MENU_START + 3)
#define FID_RECALC (EXTRA_MENU_START + 4)
-#define FID_UPDATE_DIAGRAMS (EXTRA_MENU_START + 5)
#define FID_PROTECT_TABLE (EXTRA_MENU_START + 6)
#define FID_PROTECT_DOC (EXTRA_MENU_START + 7)
-#define SID_EDIT_MACRO (EXTRA_MENU_START + 8)
#define SID_SCOPTIONS (EXTRA_MENU_START + 9)
-#define SID_MACRO_CHOOSER (EXTRA_MENU_START + 10)
#define SID_SHARE_DOC (EXTRA_MENU_START + 11)
#define SID_SCENARIOS (EXTRA_MENU_START + 12)
#define SID_ADD_IN_MANAGER (EXTRA_MENU_START + 13)
#define SID_PIVOT_RECALC (EXTRA_MENU_START + 14)
#define SID_PIVOT_KILL (EXTRA_MENU_START + 15)
-// wrong here, but better than nothing
-#define SID_SC_HELP_PI (EXTRA_MENU_START + 16)
-#define SID_SC_SHOW_KEYBOARD_HELP (EXTRA_MENU_START + 17)
-
#define FID_HARD_RECALC (EXTRA_MENU_START + 18)
#define FID_AUTOCOMPLETE (EXTRA_MENU_START + 19)
@@ -462,15 +414,9 @@
#define OBJBAR_FORMAT_END (OBJBAR_FORMAT_START+20)
#define RID_INPUTBAR_START (OBJBAR_FORMAT_END)
-#define SID_INPUT_WINDOW (RID_INPUTBAR_START)
#define RID_INPUTBAR_END (RID_INPUTBAR_START+1)
#define DRAW_BAR_START (RID_INPUTBAR_END)
-#define SID_DRAWTOABOVE (DRAW_BAR_START+15)
-#define SID_DRAWTOBELOW (DRAW_BAR_START+16)
-#define SID_FRAMETOTOP (DRAW_BAR_START+19)
-#define SID_FRAMETOBOTTOM (DRAW_BAR_START+20)
-#define SID_TOOL_TEXT (DRAW_BAR_START+23)
#define SID_ANCHOR_PAGE (DRAW_BAR_START+24)
#define SID_ANCHOR_CELL (DRAW_BAR_START+25)
#define SID_ANCHOR_TOGGLE (DRAW_BAR_START+26)
@@ -479,9 +425,6 @@
#define DRAW_BAR_END (DRAW_BAR_START+50)
#define DRAWTEXTBAR_START (DRAW_BAR_END)
-#define SID_TEXT_LINESPACING_1 (DRAWTEXTBAR_START)
-#define SID_TEXT_LINESPACING_2 (DRAWTEXTBAR_START+1)
-#define SID_TEXT_LINESPACING_3 (DRAWTEXTBAR_START+2)
#define DRAWTEXTBAR_END (DRAWTEXTBAR_START+20)
#define DETECTIVE_START (DRAWTEXTBAR_END)
@@ -521,7 +464,6 @@
#define SID_PREVIEW_PREVIOUS (SID_PREVIEW_START+1)
#define SID_PREVIEW_FIRST (SID_PREVIEW_START+2)
#define SID_PREVIEW_LAST (SID_PREVIEW_START+3)
-#define SID_PREVIEW_GOTO (SID_PREVIEW_START+4)
#define SID_PREVIEW_ZOOMIN (SID_PREVIEW_START+5)
#define SID_PREVIEW_ZOOMOUT (SID_PREVIEW_START+6)
#define SID_PREVIEW_CLOSE (SID_PREVIEW_START+7)
@@ -571,7 +513,6 @@
#define SID_MARKAREA (SID_KEYFUNC_START + 33)
-#define SID_AUTOFILL (SID_KEYFUNC_START + 34)
#define FID_FILL_AUTO (SID_KEYFUNC_START + 35)
#define SID_CANCEL (SID_KEYFUNC_START + 36)
@@ -586,17 +527,8 @@
#define SID_KEYFUNC_END (SID_KEYFUNC_START + 50)
#define SID_NEW_SLOTS (SID_KEYFUNC_END)
-#define SID_NEW_SLOTS_END (SID_NEW_SLOTS+100)
#define SID_NEW_TABLENAME (SID_NEW_SLOTS+1)
-#define SID_COL_START (SID_NEW_SLOTS+2)
-#define SID_ROW_START (SID_NEW_SLOTS+3)
-#define SID_COL_END (SID_NEW_SLOTS+4)
-#define SID_ROW_END (SID_NEW_SLOTS+5)
-#define SID_KEEP_MARK (SID_NEW_SLOTS+6)
-#define SID_FILL_DIR (SID_NEW_SLOTS+7)
-#define SID_FILL_COUNT (SID_NEW_SLOTS+8)
-#define SID_WITH_UNDO (SID_NEW_SLOTS+9)
#define FID_MERGE_TOGGLE (SID_NEW_SLOTS+10)
#define SID_ATTR_ROWHEADERS (SID_NEW_SLOTS+11)
#define SID_ATTR_COLHEADERS (SID_NEW_SLOTS+12)
@@ -606,8 +538,6 @@
#define SID_SC_SELECTION (SID_NEW_SLOTS+15)
#define SID_SC_CELLTEXT (SID_NEW_SLOTS+16)
-#define SID_SC_NAME_TITLE (SID_NEW_SLOTS+17)
-
#define SID_SC_ACTIVECELL (SID_NEW_SLOTS+18)
#define SID_SC_ACTIVETAB (SID_NEW_SLOTS+19)
#define SID_RANGE_ROW (SID_NEW_SLOTS+20)
@@ -615,7 +545,6 @@
#define SID_RANGE_TABLE (SID_NEW_SLOTS+22)
#define SID_RANGE_VALUE (SID_NEW_SLOTS+23)
#define SID_RANGE_FORMULA (SID_NEW_SLOTS+24)
-#define SID_RANGE_TEXT (SID_NEW_SLOTS+25)
#define SID_RANGE_TEXTVALUE (SID_NEW_SLOTS+26)
#define SID_TABLE_ACTIVATE (SID_NEW_SLOTS+27)
#define SID_TABLES_GET (SID_NEW_SLOTS+28)
@@ -979,21 +908,6 @@
#define SCSTR_VALID_RANGE (STR_START + 317)
#define SCSTR_VALID_LIST (STR_START + 318)
-// formulator
-#define SCSTR_FUDB (STR_START + 389)
-#define SCSTR_FUDATE (STR_START + 390)
-#define SCSTR_FUFIN (STR_START + 391)
-#define SCSTR_FUINFO (STR_START + 392)
-#define SCSTR_FULOG (STR_START + 393)
-#define SCSTR_FUMATHS (STR_START + 394)
-#define SCSTR_FUSTAT (STR_START + 395)
-#define SCSTR_FUTAB (STR_START + 396)
-#define SCSTR_FUTEXT (STR_START + 397)
-
-#define SCSTR_COMPILER_STRINGS (STR_START + 398)
-#define SCSTR_FILTER_STRINGS (STR_START + 399)
-#define SCSTR_COMPILER_INTL_STR (STR_START + 400)
-
// media shell
#define SCSTR_MEDIASHELL (STR_START + 401)
@@ -1202,7 +1116,6 @@
#define SID_INSERT_CURRENT_TIME (SC_OOO_BUILD_START + 5)
// data Form
-#define SID_DATAFORM_NEW (SC_OOO_BUILD_START + 6) // message
#define SID_DATA_FORM (SC_OOO_BUILD_START + 7) // menu (in Data menu)
#define RID_SCDLG_DATAFORM (SC_OOO_BUILD_START + 8) // dialog
diff --git a/sc/inc/scfuncs.hrc b/sc/inc/scfuncs.hrc
index c44e34fb46cd..dcaad2cf6169 100644
--- a/sc/inc/scfuncs.hrc
+++ b/sc/inc/scfuncs.hrc
@@ -38,5 +38,4 @@
#define ID_FUNCTION_GRP_TEXT 10
#define ID_FUNCTION_GRP_ADDINS 11
-#define ID_FUNCTION_OFFSET 90
diff --git a/sc/source/ui/dbgui/pivot.hrc b/sc/source/ui/dbgui/pivot.hrc
index 244be15649ec..2517f0f3815c 100644
--- a/sc/source/ui/dbgui/pivot.hrc
+++ b/sc/source/ui/dbgui/pivot.hrc
@@ -34,12 +34,8 @@
#define BTN_OPTIONS 6
#define FL_LAYOUT 10
-#define FL_SELECT 90
-#define SCROLL_COL 91
#define WND_COL 11
-#define SCROLL_ROW 92
#define WND_ROW 12
-#define SCROLL_DATA 93
#define WND_DATA 13
#define WND_SELECT 14
#define WND_PAGE 18
@@ -49,7 +45,6 @@
#define STR_SELECT 34
#define FT_PAGE 35
-#define PTR_FIELD 18
#define FT_INFO 19
#define FL_OUTPUT 20
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
diff --git a/sc/source/ui/pagedlg/pagedlg.hrc b/sc/source/ui/pagedlg/pagedlg.hrc
index 0c26340599a1..0a2f364529bf 100644
--- a/sc/source/ui/pagedlg/pagedlg.hrc
+++ b/sc/source/ui/pagedlg/pagedlg.hrc
@@ -33,8 +33,6 @@
#define TP_PAGE_STD 1
#define TP_PAGE_HEADER 2
#define TP_PAGE_FOOTER 3
-#define TP_PAGE_TABLE 4
-#define TP_PAGE_AREAS 5
//================================================
// TabPage: Tabelle