summaryrefslogtreecommitdiff
path: root/extensions
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 /extensions
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 'extensions')
-rw-r--r--extensions/inc/bibliography.hrc1
-rw-r--r--extensions/inc/dbpilots.hrc4
-rw-r--r--extensions/inc/extensio.hrc26
-rw-r--r--extensions/source/bibliography/sections.hrc20
-rw-r--r--extensions/source/bibliography/toolbar.hrc9
-rw-r--r--extensions/source/scanner/sanedlg.hrc2
6 files changed, 0 insertions, 62 deletions
diff --git a/extensions/inc/bibliography.hrc b/extensions/inc/bibliography.hrc
index 0a94f1da40cb..6903fb7c4243 100644
--- a/extensions/inc/bibliography.hrc
+++ b/extensions/inc/bibliography.hrc
@@ -64,7 +64,6 @@
#define HID_BIB_CUSTOM4_POS "EXTENSIONS_HID_BIB_CUSTOM4_POS"
#define HID_BIB_CUSTOM5_POS "EXTENSIONS_HID_BIB_CUSTOM5_POS"
#define HID_BIB_DB_TBX "EXTENSIONS_HID_BIB_DB_TBX"
-#define HID_BIB_DB_GHIDCTRL "EXTENSIONS_HID_BIB_DB_GHIDCTRL"
#define HID_BIB_CONTROL_PAGE "EXTENSIONS_HID_BIB_CONTROL_PAGE"
#define HID_BIB_CONTROL_PARENT "EXTENSIONS_HID_BIB_CONTROL_PARENT"
#define UID_BIB_FRAME_WINDOW "EXTENSIONS_UID_BIB_FRAME_WINDOW"
diff --git a/extensions/inc/dbpilots.hrc b/extensions/inc/dbpilots.hrc
index 214601662283..52236bdc4b45 100644
--- a/extensions/inc/dbpilots.hrc
+++ b/extensions/inc/dbpilots.hrc
@@ -27,10 +27,6 @@
#ifndef EXTENSIONS_DBPILOT_HRC
#define EXTENSIONS_DBPILOT_HRC
-#define HID_GHIDWIZARD_PREVIOUS "EXTENSIONS_HID_GHIDWIZARD_PREVIOUS"
-#define HID_GHIDWIZARD_NEXT "EXTENSIONS_HID_GHIDWIZARD_NEXT"
-#define HID_GHIDWIZARD_CANCEL "EXTENSIONS_HID_GHIDWIZARD_CANCEL"
-#define HID_GHIDWIZARD_FINISH "EXTENSIONS_HID_GHIDWIZARD_FINISH"
#define HID_GROUPWIZARD_PREVIOUS "EXTENSIONS_HID_GROUPWIZARD_PREVIOUS"
#define HID_GROUPWIZARD_NEXT "EXTENSIONS_HID_GROUPWIZARD_NEXT"
#define HID_GROUPWIZARD_CANCEL "EXTENSIONS_HID_GROUPWIZARD_CANCEL"
diff --git a/extensions/inc/extensio.hrc b/extensions/inc/extensio.hrc
index bd643892d42f..681008fe6469 100644
--- a/extensions/inc/extensio.hrc
+++ b/extensions/inc/extensio.hrc
@@ -46,30 +46,4 @@
#error id range overflow
#endif
-// -----------------------------------------------------------------------
-// - help id ranges
-
-#define HID_DBP_START ( HID_EXTENSIONS_START + 0 )
-#define HID_DBP_END ( HID_EXTENSIONS_START + 19 )
-
-#define HID_ABP_START ( HID_EXTENSIONS_START + 20 )
-#define HID_ABP_END ( HID_EXTENSIONS_START + 39 )
-
-#define HID_BIBLIO_START ( HID_EXTENSIONS_START + 40 )
-#define HID_BIBLIO_END ( HID_EXTENSIONS_START + 89 )
-
-#define HID_PROPC_START ( HID_EXTENSIONS_START + 90 )
-#define HID_PROPC_END ( HID_EXTENSIONS_START + 499 )
-
-#define HID_UPDATE_START ( HID_EXTENSIONS_START + 500 )
-#define HID_UPDATE_END ( HID_EXTENSIONS_START + 519 )
-
-// !!! please adjust HID_LAST_EXTENSIONS_RANGE if you add new ranges here !!!
-
-#define HID_LAST_EXTENSIONS_RANGE HID_UPDATE_END
-
-#if HID_LAST_EXTENSIONS_RANGE > HID_EXTENSIONS_END
- #error id range overflow
-#endif
-
#endif
diff --git a/extensions/source/bibliography/sections.hrc b/extensions/source/bibliography/sections.hrc
index 5d146e04ce53..d87aaa7f7502 100644
--- a/extensions/source/bibliography/sections.hrc
+++ b/extensions/source/bibliography/sections.hrc
@@ -28,21 +28,6 @@
#include "bib.hrc"
//General
-/*#define FT_FIRST_MIDDLE 1
-#define ED_FIRST 2
-#define ED_MIDDLE 3
-#define FT_NAME_SUFFIX 4
-#define ED_NAME 5
-#define CB_SUFFIX 6
-#define ED_INITIALS 8
-#define FT_COMPANY 9
-#define ED_COMPANY 10
-#define FT_DEPARTMENT 11
-#define ED_DEPARTMENT 12
-#define FT_SALUTATION 13
-#define CB_SALUTATION 14
-#define FT_SHOWNNAME 15
-#define ED_SHOWNNAME 16*/
#define FT_IDENTIFIER 1
#define FT_AUTHTYPE 2
#define FT_AUTHOR 3
@@ -83,19 +68,14 @@
#define FL_3 36
//Business Address
-#define FT_OFFICE 1
#define FT_STREET 2
#define FT_CITY 3
-#define FT_STATE 4
#define FT_COUNTRY 5
-#define FT_ZIP 6
-#define ED_OFFICE 7
#define ED_STREET 8
#define ED_CITY 9
#define ED_STATE 10
#define ED_COUNTRY 11
#define ED_ZIP 12
-#define ED_POBOX 13
//Popup SectionControl
diff --git a/extensions/source/bibliography/toolbar.hrc b/extensions/source/bibliography/toolbar.hrc
index 05c81921e44d..a9ac1f3a99b6 100644
--- a/extensions/source/bibliography/toolbar.hrc
+++ b/extensions/source/bibliography/toolbar.hrc
@@ -33,14 +33,5 @@
#define TBC_BT_AUTOFILTER 5
#define TBC_BT_FILTERCRIT 6
#define TBC_BT_REMOVEFILTER 7
-#define TBC_BT_NEWCARD 8
-#define TBC_BT_EDITCARD 9
-#define TBC_BT_REMOVECARD 10
-#define TBC_BT_INSERT 11
-#define TBC_BT_UPDATE 12
-#define TBC_BT_MAIL 13
-#define TBC_BT_URL 14
#define TBC_BT_COL_ASSIGN 15
#define TBC_BT_CHANGESOURCE 16
-#define IL_TOOLBOX 17
-#define ILH_TOOLBOX 18
diff --git a/extensions/source/scanner/sanedlg.hrc b/extensions/source/scanner/sanedlg.hrc
index 2c20ad1c6fd3..9eb79b3153ff 100644
--- a/extensions/source/scanner/sanedlg.hrc
+++ b/extensions/source/scanner/sanedlg.hrc
@@ -75,8 +75,6 @@
#define PREVIEW_UPPER_TOP SCAN_AREA_TOP + 80
#define PREVIEW_WIDTH 113
#define PREVIEW_HEIGHT 160
-#define PREVIEW_BOTTOM PREVIEW_UPPER_TOP + PREVIEW_HEIGHT
-#define PREVIEW_RIGHT PREVIEW_UPPER_LEFT + PREVIEW_WIDTH
#define SECOND_COLUMN PREVIEW_WIDTH + 20
#define THIRD_COLUMN SECOND_COLUMN + 135