summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-03-13 14:33:47 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-03-14 08:37:44 +0000
commitf645294d3959ab204ac0efb6619e74b5ba85efa6 (patch)
tree3437361d64d2df1b1849f1adfb0bf01fbd876d88 /extensions
parentcbb2e6b76868d5c67a713b68310b44be59bfab3e (diff)
remove unused RID constants
found with the attached bin/find-unused-rid.py script Change-Id: I1cf79caa6cafedb8bc642f394dc7e7da889d6fdf Reviewed-on: https://gerrit.libreoffice.org/35136 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/abpilot/abpresid.hrc11
-rw-r--r--extensions/source/bibliography/bib.hrc2
-rw-r--r--extensions/source/bibliography/bib.src9
-rw-r--r--extensions/source/dbpilots/dbpresid.hrc11
4 files changed, 0 insertions, 33 deletions
diff --git a/extensions/source/abpilot/abpresid.hrc b/extensions/source/abpilot/abpresid.hrc
index 20151223b1f2..2cd1f8132b4c 100644
--- a/extensions/source/abpilot/abpresid.hrc
+++ b/extensions/source/abpilot/abpresid.hrc
@@ -27,7 +27,6 @@
#define RID_PAGE_START RID_ABP_START
#define RID_STRING_START RID_ABP_START
-#define RID_UNTYPED_START RID_ABP_START
#define RID_BITMAP_START RID_ABP_START
// strings
@@ -51,13 +50,6 @@
#define RID_STRING_END RID_STR_QRY_NOTABLES
-// untyped resources
-
-#define RID_RSC_NOTUSEDYET ( RID_UNTYPED_START + 0 )
-// please adjust RID_UNTYPED_END (below) when adding new untyped resources
-
-#define RID_UNTYPED_END RID_RSC_NOTUSEDYET
-
// bitmaps
#define BMP_HEADERIMAGE ( RID_BITMAP_START + 0 )
@@ -70,9 +62,6 @@
#if RID_STRING_END > RID_ABP_END
#error "please adjust the resource id ranges!!"
#endif
-#if RID_UNTYPED_END > RID_ABP_END
- #error "please adjust the resource id ranges!!"
-#endif
#if RID_BITMAP_END > RID_ABP_END
#error "please adjust the resource id ranges!!"
#endif
diff --git a/extensions/source/bibliography/bib.hrc b/extensions/source/bibliography/bib.hrc
index 5c7ea6ed58a5..dbf34695e781 100644
--- a/extensions/source/bibliography/bib.hrc
+++ b/extensions/source/bibliography/bib.hrc
@@ -37,8 +37,6 @@
// Strings (500)
#define RID_BIB_STRING (RID_BIB_START + 200)
#define RID_BIB_STR_NONE (RID_BIB_STRING + 1)
-#define RID_BIB_STR_FIELDSELECTION (RID_BIB_STRING + 2)
-#define RID_BIB_STR_TABWIN_PREFIX (RID_BIB_STRING + 3)
#define RID_BIB_STR_FRAME_TITLE (RID_BIB_STRING + 4)
#define RID_MAP_QUESTION (RID_BIB_STRING + 5)
diff --git a/extensions/source/bibliography/bib.src b/extensions/source/bibliography/bib.src
index d234a187bfdc..1a5deb89c8a2 100644
--- a/extensions/source/bibliography/bib.src
+++ b/extensions/source/bibliography/bib.src
@@ -18,15 +18,6 @@
*/
#include "bib.hrc"
-String RID_BIB_STR_FIELDSELECTION
-{
- Text [ en-US ] = "Field selection:";
-};
-
-String RID_BIB_STR_TABWIN_PREFIX
-{
- Text [ en-US ] = "Table;Query;Sql;Sql [Native]";
-};
String RID_BIB_STR_FRAME_TITLE
{
Text [ en-US ] = "Bibliography Database";
diff --git a/extensions/source/dbpilots/dbpresid.hrc b/extensions/source/dbpilots/dbpresid.hrc
index 75b6b466ed48..d634b1b3cf50 100644
--- a/extensions/source/dbpilots/dbpresid.hrc
+++ b/extensions/source/dbpilots/dbpresid.hrc
@@ -28,7 +28,6 @@
#define RID_DIALOG_START RID_DBP_START
#define RID_PAGE_START RID_DBP_START
#define RID_STRING_START RID_DBP_START
-#define RID_ERRORBOX_START RID_DBP_START
// strings
@@ -54,13 +53,6 @@
// please adjust RID_DIALOG_END (below) when adding new dialogs
#define RID_DIALOG_END ( RID_DIALOG_START + 3 )
-// ErrorBox
-
-#define RID_ERR_INVALID_FORM_CONNECTION ( RID_ERRORBOX_START + 1 )
-
-// please adjust RID_ERRORBOX_END (below) when adding new error boxes
-#define RID_ERRORBOX_END RID_ERR_INVALID_FORM_CONNECTION
-
// range checks
#if RID_STRING_END > RID_DBP_END
@@ -69,9 +61,6 @@
#if RID_DIALOG_END > RID_DBP_END
#error "please adjust the resource id ranges!!"
#endif
-#if RID_ERRORBOX_END > RID_DBP_END
- #error "please adjust the resource id ranges!!"
-#endif
// local ids