summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-03-15 13:16:37 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-03-16 06:10:14 +0000
commit6742500ccb2ff6d39f527760152d2b08fd9cfe17 (patch)
tree883ce070db6733f6c548242eb8763129a9f17f5e /sw/inc
parent64ea8306b0ceb001132ac9cbc945a12afc01b8cd (diff)
remove unused defines from HRC files in sw/
Change-Id: I74fb244b2440ddf7682362444c20730ac0e58cea Reviewed-on: https://gerrit.libreoffice.org/35212 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/access.hrc2
-rw-r--r--sw/inc/chrdlg.hrc1
-rw-r--r--sw/inc/comcore.hrc4
-rw-r--r--sw/inc/dbui.hrc8
-rw-r--r--sw/inc/dialog.hrc8
-rw-r--r--sw/inc/envelp.hrc8
-rw-r--r--sw/inc/fldui.hrc9
-rw-r--r--sw/inc/globals.hrc4
-rw-r--r--sw/inc/index.hrc1
-rw-r--r--sw/inc/rcid.hrc2
-rw-r--r--sw/inc/statstr.hrc4
11 files changed, 2 insertions, 49 deletions
diff --git a/sw/inc/access.hrc b/sw/inc/access.hrc
index 37cdc6106ff6..def80d4e5456 100644
--- a/sw/inc/access.hrc
+++ b/sw/inc/access.hrc
@@ -24,7 +24,6 @@
#define STR_ACCESS_DOC_NAME (RC_ACCESS_BEGIN + 1)
#define STR_ACCESS_DOC_DESC (RC_ACCESS_BEGIN + 2)
-#define STR_ACCESS_HEADING_WITH_NUM_DESC (RC_ACCESS_BEGIN + 3)
#define STR_ACCESS_HEADER_NAME (RC_ACCESS_BEGIN + 4)
#define STR_ACCESS_HEADER_DESC (RC_ACCESS_BEGIN + 5)
#define STR_ACCESS_FOOTER_NAME (RC_ACCESS_BEGIN + 6)
@@ -44,7 +43,6 @@
#define STR_ACCESS_PREVIEW_DOC_NAME (RC_ACCESS_BEGIN + 22)
#define STR_ACCESS_PREVIEW_DOC_SUFFIX (RC_ACCESS_BEGIN + 24)
#define STR_ACCESS_DOC_WORDPROCESSING (RC_ACCESS_BEGIN + 25)
-#define STR_ACCESS_DOC_WORDPROCESSING_READONLY (RC_ACCESS_BEGIN + 26)
#define STR_ACCESS_COLUMN_WIDTH (RC_ACCESS_BEGIN + 27)
#define STR_ACCESS_PAGESETUP_SPACING (RC_ACCESS_BEGIN + 28)
diff --git a/sw/inc/chrdlg.hrc b/sw/inc/chrdlg.hrc
index d66c656f42a4..370801df588b 100644
--- a/sw/inc/chrdlg.hrc
+++ b/sw/inc/chrdlg.hrc
@@ -24,7 +24,6 @@
#define STR_ILLEGAL_PAGENUM (RC_CHRDLG_BEGIN + 1)
#define STR_TEXTCOLL_HEADER (RC_CHRDLG_BEGIN + 2)
-#define STR_PAGEFMT_HEADER (RC_CHRDLG_BEGIN + 4)
#define DLG_SWDROPCAPS (RC_CHRDLG_BEGIN + 11)
diff --git a/sw/inc/comcore.hrc b/sw/inc/comcore.hrc
index 4b7abea1a356..075b079f2452 100644
--- a/sw/inc/comcore.hrc
+++ b/sw/inc/comcore.hrc
@@ -36,8 +36,6 @@
#define STR_EMPTYPAGE (RC_COMCORE_BEGIN + 11)
#define RID_SHELLRES_AUTOFMTSTRS (RC_COMCORE_BEGIN + 12)
#define STR_MULT_INTERACT_HYPH_WARN (RC_COMCORE_BEGIN + 13)
-#define STR_MULT_INTERACT_SPELL_WARN (RC_COMCORE_BEGIN + 14)
-#define STR_SPELL_TITLE (RC_COMCORE_BEGIN + 15)
#define STR_HYPH_TITLE (RC_COMCORE_BEGIN + 16)
#define STR_SHAPE_DEFNAME (RC_COMCORE_BEGIN + 17)
@@ -46,14 +44,12 @@
#define STR_REDLINE_FORMAT (RC_COMCORE_BEGIN + 21)
#define STR_REDLINE_TABLE (RC_COMCORE_BEGIN + 22)
#define STR_REDLINE_FMTCOLL (RC_COMCORE_BEGIN + 23)
-#define STR_CLIPBOARD (RC_COMCORE_BEGIN + 24)
#define STR_START_QUOTE (RC_COMCORE_BEGIN + 25)
#define STR_END_QUOTE (RC_COMCORE_BEGIN + 26)
#define STR_LDOTS (RC_COMCORE_BEGIN + 27)
#define STR_YIELDS (RC_COMCORE_BEGIN + 28)
#define STR_PARAGRAPHS (RC_COMCORE_BEGIN + 29)
#define STR_MULTISEL (RC_COMCORE_BEGIN + 30)
-#define STR_REDLINE_MULTIPLE (RC_COMCORE_BEGIN + 31)
#define STR_N_REDLINES (RC_COMCORE_BEGIN + 32)
#define STR_FIELD (RC_COMCORE_BEGIN + 33)
diff --git a/sw/inc/dbui.hrc b/sw/inc/dbui.hrc
index 28c12f5f6516..51d1a2afbcf9 100644
--- a/sw/inc/dbui.hrc
+++ b/sw/inc/dbui.hrc
@@ -48,12 +48,6 @@
#define ST_REMOVESALUTATIONFIELD (RC_DBUI_BEGIN + 23)
#define ST_DRAGSALUTATION (RC_DBUI_BEGIN + 24)
#define ST_TITLE_EDIT (RC_DBUI_BEGIN + 25)
-#define ST_SAVESTART (RC_DBUI_BEGIN + 26)
-#define ST_SAVEMERGED (RC_DBUI_BEGIN + 27)
-#define ST_PRINT (RC_DBUI_BEGIN + 28)
-#define ST_SENDMAIL (RC_DBUI_BEGIN + 29)
-#define ST_DEFAULTATTACHMENT (RC_DBUI_BEGIN + 30)
-#define ST_NOSUBJECT (RC_DBUI_BEGIN + 31)
#define ST_CONFIGUREMAIL (RC_DBUI_BEGIN + 32)
#define ST_FILTERNAME (RC_DBUI_BEGIN + 33)
#define ST_TYPE (RC_DBUI_BEGIN + 34)
@@ -69,11 +63,9 @@
#define ST_CONTINUE (RC_DBUI_BEGIN + 44)
#define ST_TASK (RC_DBUI_BEGIN + 45)
#define ST_STATUS (RC_DBUI_BEGIN + 46)
-#define ST_SEND (RC_DBUI_BEGIN + 47)
#define ST_SENDINGTO (RC_DBUI_BEGIN + 48)
#define ST_COMPLETED (RC_DBUI_BEGIN + 49)
#define ST_FAILED (RC_DBUI_BEGIN + 50)
-#define ST_TERMINATEQUERY (RC_DBUI_BEGIN + 51)
#define ST_STARTING (RC_DBUI_BEGIN + 52)
#define ST_DOCUMENTTYPE (RC_DBUI_BEGIN + 53)
#define ST_ADDRESSBLOCK (RC_DBUI_BEGIN + 54)
diff --git a/sw/inc/dialog.hrc b/sw/inc/dialog.hrc
index be48ffc75804..8304950d3695 100644
--- a/sw/inc/dialog.hrc
+++ b/sw/inc/dialog.hrc
@@ -29,10 +29,7 @@
// Strings ******************************************************************
-#define STR_LINKEDIT_TEXT (RC_DIALOG_BEGIN + 1)
-
#define STR_CLOSELINKMSG (RC_DIALOG_BEGIN + 3)
-#define STR_PATH_NOT_FOUND (RC_DIALOG_BEGIN + 4)
// Bereiche *****************************************************************
@@ -42,12 +39,9 @@
#define RC_MACASSGN_END (RC_DIALOG_BEGIN + 89)
// RC_MACASSGN_END (RC_DIALOG_BEGIN + 89)
-#define RC_DLG_ADDR (RC_DIALOG_BEGIN + 90)
+#define RC_DLG_ADDR (RC_DIALOG_BEGIN + 90)
#define RC_SWDLG_BACKGROUND (RC_DIALOG_BEGIN + 91)
#define RC_DLG_SWNUMFMTDLG (RC_DIALOG_BEGIN + 92)
-#define RC_DLG_SWBORDERDLG (RC_DIALOG_BEGIN + 93)
-#define RC_DLG_SWWRAPDLG (RC_DIALOG_BEGIN + 94)
-#define RC_DLG_SWFLDEDITDLG (RC_DIALOG_BEGIN + 95)
// Ueberlaufpruefung ********************************************************
#define DIALOG_ACT_END RC_MACASSGN_END
diff --git a/sw/inc/envelp.hrc b/sw/inc/envelp.hrc
index 5bc9789a2f27..5f483d1d8866 100644
--- a/sw/inc/envelp.hrc
+++ b/sw/inc/envelp.hrc
@@ -22,10 +22,6 @@
#include "rcid.hrc"
-// Dialoge --------------------------------------------------------------------
-
-#define DLG_MAILMERGE (RC_ENVELP_BEGIN + 8)
-
// Bereiche -------------------------------------------------------------------
#define RC_ENVLOP_BEGIN (RC_ENVELP_BEGIN )
@@ -45,10 +41,6 @@
// Strings --------------------------------------------------------------------
-#define STR_DATABASE_NOT_OPENED (RC_ENVLOP_BEGIN + 63)
-#define STR_NO_DRIVERS (RC_ENVLOP_BEGIN + 64)
-
-#define STR_BTN_NEWDOC (RC_ENVLOP_BEGIN + 68)
#define STR_SENDER_TOKENS (RC_ENVLOP_BEGIN + 69)
// Ueberlaufpruefung ----------------------------------------------------------
diff --git a/sw/inc/fldui.hrc b/sw/inc/fldui.hrc
index c48dbd11eefe..b193ac886ff4 100644
--- a/sw/inc/fldui.hrc
+++ b/sw/inc/fldui.hrc
@@ -126,11 +126,9 @@
/*----------------------------------------------------------
Format-Id's
----------------------------------------------------------*/
-// Text
-#define FMT_TEXT FLD_PAGEREF_END
// Numbers
-#define FMT_NUM_BEGIN (FMT_TEXT + 1)
+#define FMT_NUM_BEGIN (FLD_PAGEREF_END + 1)
#define FMT_NUM_ABC FMT_NUM_BEGIN
#define FMT_NUM_SABC (FMT_NUM_BEGIN + 1)
#define FMT_NUM_ABC_N (FMT_NUM_BEGIN + 2)
@@ -232,8 +230,6 @@
--------------------------------------------------------------------*/
#define STR_FLDUI FMT_MARK_END
-#define STR_INSERT STR_FLDUI
-#define STR_ALL (STR_FLDUI + 1)
#define STR_EXTRA (STR_FLDUI + 2)
/*--------------------------------------------------------------------
@@ -247,13 +243,10 @@
#define STR_COMBCHRS_FT (STR_EXTRA + 4)
#define STR_PROMPT (STR_EXTRA + 5)
#define STR_MACNAME (STR_EXTRA + 6)
-#define STR_SETNO (STR_EXTRA + 7)
#define STR_OFFSET (STR_EXTRA + 8)
#define STR_VALUE (STR_EXTRA + 9)
-#define STR_URLPROMPT (STR_EXTRA + 11)
#define STR_FORMULA (STR_EXTRA + 12)
-#define STR_ALL_DATABASE (STR_EXTRA + 13)
#endif
diff --git a/sw/inc/globals.hrc b/sw/inc/globals.hrc
index 0655c11b0e54..2eb78e46843e 100644
--- a/sw/inc/globals.hrc
+++ b/sw/inc/globals.hrc
@@ -25,7 +25,6 @@
// STRINGS -----------------------------------------------------------
#define STR_DLLNOTFOUND (RC_GLOBALS_BEGIN + 0)
-#define STR_FMT_STD (RC_GLOBALS_BEGIN + 1)
#define STR_LOAD_GLOBAL_DOC (RC_GLOBALS_BEGIN + 2)
#define STR_DOC_STAT (RC_GLOBALS_BEGIN + 10)
@@ -118,15 +117,12 @@
// INFOBOX ------------------------------------------------------------
#define STR_ERROR_CLPBRD_READ (RC_GLOBALS_BEGIN + 50)
-#define STR_ERROR_PASSWD (RC_GLOBALS_BEGIN + 51)
// Strings for the context menu of the content tree
#define STR_CONTEXT_FIRST (RC_GLOBALS_BEGIN + 52)
#define STR_OUTLINE_LEVEL (STR_CONTEXT_FIRST + 0)
#define STR_DRAGMODE (STR_CONTEXT_FIRST + 1)
#define STR_HYPERLINK (STR_CONTEXT_FIRST + 2)
-#define STR_LINK_REGION (STR_CONTEXT_FIRST + 3)
-#define STR_COPY_REGION (STR_CONTEXT_FIRST + 4)
#define STR_DISPLAY (STR_CONTEXT_FIRST + 5)
#define STR_ACTIVE_VIEW (STR_CONTEXT_FIRST + 6)
#define STR_STATUS_FIRST (RC_GLOBALS_BEGIN + 59)
diff --git a/sw/inc/index.hrc b/sw/inc/index.hrc
index ce3643a4a34d..0b528b48adba 100644
--- a/sw/inc/index.hrc
+++ b/sw/inc/index.hrc
@@ -30,7 +30,6 @@
#define STR_ALPHA (RC_INDEX_BEGIN + 7)
#define STR_LEVEL (RC_INDEX_BEGIN + 8)
-#define DLG_EDIT_IDXMARK (RC_INDEX_BEGIN + 11)
#define DLG_EDIT_AUTHMARK (RC_INDEX_BEGIN + 12)
#define STR_IDXMRK_INSERT (RC_INDEX_BEGIN + 13)
diff --git a/sw/inc/rcid.hrc b/sw/inc/rcid.hrc
index 6ab03b8b2baf..ab9d1491473d 100644
--- a/sw/inc/rcid.hrc
+++ b/sw/inc/rcid.hrc
@@ -21,8 +21,6 @@
#include <sfx2/sfxsids.hrc>
-#define IMAGE_MASK_COLOR Color { Red = 0xFF00; Green = 0x0000; Blue = 0xFF00; }
-
// Areas for the UI-Directories
#define RC_BASE RID_SW_START // From solar.hrc
diff --git a/sw/inc/statstr.hrc b/sw/inc/statstr.hrc
index 813a3bf53efa..787081d5be5b 100644
--- a/sw/inc/statstr.hrc
+++ b/sw/inc/statstr.hrc
@@ -27,11 +27,7 @@
#define STR_STATSTR_SWGWRITE (RC_STATLIN_STR + 3)
#define STR_STATSTR_REFORMAT (RC_STATLIN_STR + 4)
#define STR_STATSTR_AUTOFORMAT (RC_STATLIN_STR + 5)
-#define STR_STATSTR_IMPGRF (RC_STATLIN_STR + 6)
#define STR_STATSTR_SEARCH (RC_STATLIN_STR + 7)
-#define STR_STATSTR_FORMAT (RC_STATLIN_STR + 8)
-#define STR_STATSTR_PRINT (RC_STATLIN_STR + 9)
-#define STR_STATSTR_LAYOUTINIT (RC_STATLIN_STR + 10)
#define STR_STATSTR_LETTER (RC_STATLIN_STR + 11)
#define STR_STATSTR_SPELL (RC_STATLIN_STR + 12)
#define STR_STATSTR_HYPHEN (RC_STATLIN_STR + 13)