[Libreoffice-commits] .: 2 commits - basctl/inc chart2/source cui/source dbaccess/inc dbaccess/source desktop/source editeng/inc extensions/inc extensions/source filter/inc filter/source framework/inc reportdesign/inc reportdesign/source sc/inc sc/source sd/inc sd/source sfx2/inc sfx2/source starmath/inc svl/inc svtools/inc svtools/source svx/inc svx/Package_inc.mk svx/source sw/inc sw/source toolkit/src2xml uui/source vcl/inc xmlsecurity/source

Thomas Arnhold tarnhold at kemper.freedesktop.org
Thu Jun 21 02:59:59 PDT 2012


 basctl/inc/helpid.hrc                                      |    5 
 chart2/source/controller/dialogs/TabPages.hrc              |    8 
 chart2/source/controller/dialogs/dlg_DataEditor.hrc        |    2 
 chart2/source/controller/dialogs/tp_3D_SceneAppearance.hrc |    1 
 chart2/source/controller/inc/HelpIds.hrc                   |    1 
 cui/source/customize/acccfg.hrc                            |    5 
 cui/source/customize/eventdlg.hrc                          |    4 
 cui/source/dialogs/charmap.hrc                             |    1 
 cui/source/dialogs/fmsearch.hrc                            |    1 
 cui/source/dialogs/hangulhanjadlg.hrc                      |    2 
 cui/source/dialogs/hyperdlg.hrc                            |    3 
 cui/source/dialogs/passwdomdlg.hrc                         |    4 
 cui/source/dialogs/scriptdlg.hrc                           |    2 
 cui/source/dialogs/svuidlg.hrc                             |    1 
 cui/source/inc/helpid.hrc                                  |    5 
 cui/source/options/optaccessibility.hrc                    |    1 
 cui/source/options/optdict.hrc                             |    3 
 cui/source/options/optgdlg.hrc                             |    5 
 cui/source/options/optinet2.hrc                            |   16 
 cui/source/options/optlingu.hrc                            |    4 
 cui/source/options/optsave.hrc                             |    3 
 cui/source/options/treeopt.hrc                             |   15 
 cui/source/tabpages/autocdlg.hrc                           |   21 
 cui/source/tabpages/backgrnd.hrc                           |    5 
 cui/source/tabpages/border.hrc                             |    3 
 cui/source/tabpages/chardlg.hrc                            |    2 
 cui/source/tabpages/labdlg.hrc                             |    7 
 cui/source/tabpages/numfmt.hrc                             |    5 
 cui/source/tabpages/numpages.hrc                           |   28 -
 cui/source/tabpages/paragrph.hrc                           |    1 
 cui/source/tabpages/tabarea.hrc                            |   35 -
 cui/source/tabpages/tabline.hrc                            |    5 
 cui/source/tabpages/transfrm.hrc                           |    2 
 dbaccess/inc/dbaccess_helpid.hrc                           |    2 
 dbaccess/source/ui/app/dbu_app.hrc                         |    1 
 dbaccess/source/ui/browser/sbagrid.cxx                     |   15 
 dbaccess/source/ui/dlg/AutoControls_tmpl.hrc               |    7 
 dbaccess/source/ui/dlg/ConnectionPage.hrc                  |    6 
 dbaccess/source/ui/dlg/dbadmin.hrc                         |    9 
 dbaccess/source/ui/dlg/dbadminsetup.hrc                    |   11 
 dbaccess/source/ui/dlg/paramdialog.hrc                     |    3 
 dbaccess/source/ui/dlg/queryfilter.hrc                     |    1 
 dbaccess/source/ui/inc/dbu_dlg.hrc                         |    2 
 dbaccess/source/ui/inc/dbu_qry.hrc                         |    2 
 dbaccess/source/ui/inc/dbu_resource.hrc                    |   24 
 dbaccess/source/ui/inc/sbagrid.hrc                         |   30 -
 dbaccess/source/ui/querydesign/JoinExchange.cxx            |    1 
 dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx      |    1 
 dbaccess/source/ui/querydesign/TableWindowListBox.cxx      |    1 
 dbaccess/source/ui/querydesign/querydlg.hrc                |    1 
 desktop/source/app/desktop.hrc                             |    1 
 desktop/source/deployment/gui/dp_gui.hrc                   |    1 
 desktop/source/inc/helpid.hrc                              |    1 
 editeng/inc/editeng/editids.hrc                            |    4 
 editeng/inc/editeng/memberids.hrc                          |   11 
 extensions/inc/bibliography.hrc                            |    1 
 extensions/inc/dbpilots.hrc                                |    4 
 extensions/inc/extensio.hrc                                |   26 
 extensions/source/bibliography/sections.hrc                |   20 
 extensions/source/bibliography/toolbar.hrc                 |    9 
 extensions/source/scanner/sanedlg.hrc                      |    2 
 filter/inc/filter.hrc                                      |    3 
 filter/source/graphicfilter/icgm/cgmres.hrc                |    1 
 filter/source/pdf/impdialog.hrc                            |   12 
 framework/inc/framework.hrc                                |    4 
 reportdesign/inc/rptui_slotid.hrc                          |    1 
 reportdesign/source/ui/dlg/CondFormat.hrc                  |    3 
 sc/inc/globstr.hrc                                         |    2 
 sc/inc/sc.hrc                                              |   97 ---
 sc/inc/scfuncs.hrc                                         |    1 
 sc/source/ui/dbgui/pivot.hrc                               |    5 
 sc/source/ui/inc/datafdlg.hrc                              |    2 
 sc/source/ui/inc/miscdlgs.hrc                              |    2 
 sc/source/ui/inc/optdlg.hrc                                |   14 
 sc/source/ui/inc/submenu.hrc                               |   35 -
 sc/source/ui/pagedlg/pagedlg.hrc                           |    2 
 sc/source/ui/view/gridwin.cxx                              |    1 
 sc/source/ui/view/viewfun3.cxx                             |    1 
 sc/source/ui/view/viewfun5.cxx                             |    1 
 sd/inc/app.hrc                                             |   38 -
 sd/inc/glob.hrc                                            |    6 
 sd/inc/sdattr.hrc                                          |   67 --
 sd/inc/sduiks.hrc                                          |   24 
 sd/source/ui/animations/CustomAnimation.hrc                |    1 
 sd/source/ui/animations/CustomAnimationDialog.hrc          |    3 
 sd/source/ui/annotations/annotations.hrc                   |    4 
 sd/source/ui/inc/fontwork.hrc                              |   13 
 sd/source/ui/inc/optdlg.hrc                                |    2 
 sd/source/ui/inc/packgdlg.hrc                              |   15 
 sd/source/ui/inc/preview.hrc                               |    1 
 sd/source/ui/inc/prntopts.hrc                              |    2 
 sd/source/ui/inc/res_bmp.hrc                               |    5 
 sd/source/ui/inc/strings.hrc                               |   87 ---
 sd/source/ui/inc/tpaction.hrc                              |    6 
 sd/source/ui/inc/tpoption.hrc                              |    6 
 sd/source/ui/slideshow/slideshow.hrc                       |    2 
 sd/source/ui/view/sdview2.cxx                              |    1 
 sd/source/ui/view/sdview3.cxx                              |    1 
 sfx2/inc/sfx2/cntids.hrc                                   |  343 -------------
 sfx2/inc/sfx2/sfx.hrc                                      |   75 --
 sfx2/inc/sfx2/sfxsids.hrc                                  |  272 ----------
 sfx2/source/appl/app.hrc                                   |    2 
 sfx2/source/bastyp/bastyp.hrc                              |    2 
 sfx2/source/dialog/dinfdlg.hrc                             |    7 
 sfx2/source/dialog/passwd.hrc                              |    1 
 sfx2/source/dialog/templdlg.hrc                            |    4 
 sfx2/source/dialog/versdlg.hrc                             |    1 
 sfx2/source/doc/doc.hrc                                    |   12 
 sfx2/source/doc/doctdlg.hrc                                |    1 
 sfx2/source/doc/docvor.hrc                                 |    3 
 sfx2/source/doc/new.hrc                                    |    3 
 sfx2/source/inc/helpid.hrc                                 |  149 -----
 sfx2/source/inc/sfxlocal.hrc                               |    2 
 sfx2/source/menu/menu.hrc                                  |   12 
 sfx2/source/view/view.hrc                                  |   22 
 starmath/inc/starmath.hrc                                  |    3 
 svl/inc/svl/cntwids.hrc                                    |  255 ---------
 svl/inc/svl/memberid.hrc                                   |    2 
 svl/inc/svl/solar.hrc                                      |  149 -----
 svl/inc/svl/svl.hrc                                        |    4 
 svtools/inc/svtools/controldims.hrc                        |    3 
 svtools/inc/svtools/helpid.hrc                             |   11 
 svtools/inc/svtools/imagemgr.hrc                           |    2 
 svtools/inc/svtools/svtools.hrc                            |   53 --
 svtools/source/contnr/templwin.hrc                         |    1 
 svx/Package_inc.mk                                         |    1 
 svx/inc/fmhelp.hrc                                         |    1 
 svx/inc/gallery.hrc                                        |   46 -
 svx/inc/helpid.hrc                                         |   53 --
 svx/inc/svx/dbexch.hrc                                     |   57 --
 svx/inc/svx/dialogs.hrc                                    |    1 
 svx/inc/svx/fmresids.hrc                                   |    1 
 svx/inc/svx/svxids.hrc                                     |  297 -----------
 svx/source/dialog/bmpmask.hrc                              |    2 
 svx/source/dialog/ctredlin.hrc                             |    1 
 svx/source/dialog/docrecovery.hrc                          |    7 
 svx/source/dialog/imapdlg.hrc                              |    3 
 svx/source/dialog/optgrid.hrc                              |    7 
 svx/source/dialog/srchdlg.hrc                              |    5 
 svx/source/fmcomp/fmgridcl.cxx                             |    1 
 svx/source/form/fmexch.cxx                                 |    1 
 svx/source/src/app.hrc                                     |    3 
 svx/source/tbxctrls/lboxctrl.hrc                           |    1 
 sw/inc/access.hrc                                          |    3 
 sw/inc/chrdlg.hrc                                          |    2 
 sw/inc/dialog.hrc                                          |   11 
 sw/inc/envelp.hrc                                          |    4 
 sw/inc/fldui.hrc                                           |   10 
 sw/inc/fmtui.hrc                                           |   28 -
 sw/inc/globals.hrc                                         |   62 --
 sw/inc/poolfmt.hrc                                         |    8 
 sw/inc/rcid.hrc                                            |   58 --
 sw/source/core/undo/undo.hrc                               |    5 
 sw/source/ui/chrdlg/chardlg.hrc                            |   39 -
 sw/source/ui/chrdlg/paradlg.hrc                            |   37 -
 sw/source/ui/config/config.hrc                             |   19 
 sw/source/ui/config/optdlg.hrc                             |   27 -
 sw/source/ui/dbui/mmoutputpage.hrc                         |    1 
 sw/source/ui/dialog/regionsw.hrc                           |    4 
 sw/source/ui/dialog/wordcountdialog.hrc                    |    1 
 sw/source/ui/envelp/label.hrc                              |    2 
 sw/source/ui/fldui/changedb.hrc                            |    1 
 sw/source/ui/frmdlg/column.hrc                             |    3 
 sw/source/ui/frmdlg/cption.hrc                             |    3 
 sw/source/ui/frmdlg/frmpage.hrc                            |    2 
 sw/source/ui/frmdlg/pattern.hrc                            |   12 
 sw/source/ui/inc/app.hrc                                   |   22 
 sw/source/ui/inc/frmui.hrc                                 |   58 --
 sw/source/ui/inc/globdoc.hrc                               |   14 
 sw/source/ui/inc/misc.hrc                                  |   17 
 sw/source/ui/inc/popup.hrc                                 |    4 
 sw/source/ui/inc/ribbar.hrc                                |   17 
 sw/source/ui/inc/utlui.hrc                                 |    1 
 sw/source/ui/inc/web.hrc                                   |   23 
 sw/source/ui/index/cnttab.hrc                              |   47 -
 sw/source/ui/lingu/olmenu.hrc                              |    1 
 sw/source/ui/misc/glossary.hrc                             |    2 
 sw/source/ui/misc/outline.hrc                              |   18 
 sw/source/ui/misc/pggrid.hrc                               |    2 
 sw/source/ui/ribbar/tblctrl.cxx                            |    2 
 sw/source/ui/ribbar/tblctrl.hrc                            |   35 -
 sw/source/ui/ribbar/workctrl.hrc                           |    3 
 sw/source/ui/smartmenu/stmenu.hrc                          |    1 
 sw/source/ui/table/tabledlg.hrc                            |    7 
 sw/source/ui/uiview/pview.hrc                              |    7 
 sw/source/ui/utlui/navipi.hrc                              |   10 
 sw/source/ui/wrtsh/wrtsh.hrc                               |    1 
 toolkit/src2xml/src-sw.lst                                 |    1 
 toolkit/src2xml/src.lst                                    |    1 
 uui/source/ids.hrc                                         |    8 
 vcl/inc/svids.hrc                                          |   13 
 vcl/inc/vcl/fpicker.hrc                                    |    1 
 xmlsecurity/source/dialogs/dialogs.hrc                     |    9 
 193 files changed, 80 insertions(+), 3343 deletions(-)

New commits:
commit 5fcecf9b88a0879081d8239cebbc03e30150985a
Author: Thomas Arnhold <thomas at arnhold.org>
Date:   Thu Jun 21 11:51:04 2012 +0200

    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

diff --git a/basctl/inc/helpid.hrc b/basctl/inc/helpid.hrc
index c747d14..595cc49 100644
--- a/basctl/inc/helpid.hrc
+++ b/basctl/inc/helpid.hrc
@@ -20,11 +20,6 @@
 
 #define HID_BASICIDE_TOOLBOX                              "BASCTL_HID_BASICIDE_TOOLBOX"
 #define HID_BASICIDE_OBJECTS                              "BASCTL_HID_BASICIDE_OBJECTS"
-#define HID_MACRO_OPTIONS                                 "BASCTL_HID_MACRO_OPTIONS"
-#define HID_BASICIDE_BRKPNTS                              "BASCTL_HID_BASICIDE_BRKPNTS"
-#define HID_BASICIDE_MODULS                               "BASCTL_HID_BASICIDE_MODULS"
-#define HID_BASICIDE_LIBS_TP                              "BASCTL_HID_BASICIDE_LIBS_TP"
-#define HID_BASICIDE_LIBS_DLG                             "BASCTL_HID_BASICIDE_LIBS_DLG"
 #define HID_BASICIDE_CONTROLS                             "BASCTL_HID_BASICIDE_CONTROLS"
 #define HID_BASICIDE_MACROS                               "BASCTL_HID_BASICIDE_MACROS"
 #define HID_BASICIDE_LIBS                                 "BASCTL_HID_BASICIDE_LIBS"
diff --git a/chart2/source/controller/dialogs/TabPages.hrc b/chart2/source/controller/dialogs/TabPages.hrc
index 30f292a..b8aef9f 100644
--- a/chart2/source/controller/dialogs/TabPages.hrc
+++ b/chart2/source/controller/dialogs/TabPages.hrc
@@ -38,18 +38,12 @@
 #define FT_LEGEND_TEXTDIR           3
 #define LB_LEGEND_TEXTDIR           4
 
-#define FL_TEXTBREAK                3
-#define CBX_TEXTBREAK               2
-#define CBX_TEXTOVERLAP             4
-
 //Seit 4/1998 koennen Texte frei gedreht werden: SCHATTR_TEXT_DEGREES
 // ID's for title rotation tabpage
 #define CTR_DIAL                6030
 #define BTN_TXTSTACKED          6031
 #define FT_DEGREES              6032
 #define NF_ORIENT               6033
-#define CTR_DUMMY               6034
-#define FT_DUMMY                6035
 #define FL_ALIGN                6037
 #define FT_TEXTDIR              6038
 #define LB_TEXTDIR              6039
@@ -80,8 +74,6 @@
 #define FT_AXIS_TEXTDIR                 19
 #define LB_AXIS_TEXTDIR                 20
 
-//#define TP_AXIS_POSITIONS   904
-
 #define FL_AXIS_LINE        1
 #define FL_LABELS           2
 #define FL_TICKS            3
diff --git a/chart2/source/controller/dialogs/dlg_DataEditor.hrc b/chart2/source/controller/dialogs/dlg_DataEditor.hrc
index 5d3ea86..0190611 100644
--- a/chart2/source/controller/dialogs/dlg_DataEditor.hrc
+++ b/chart2/source/controller/dialogs/dlg_DataEditor.hrc
@@ -27,8 +27,6 @@
 #define DLG_DIAGRAM_DATA 744
 
 #define FT_POS 1
-#define TBX_EDIT 1
-#define EDT_FIELD 1
 #define TBX_DATA 2
 #define CTL_DATA 1
 
diff --git a/chart2/source/controller/dialogs/tp_3D_SceneAppearance.hrc b/chart2/source/controller/dialogs/tp_3D_SceneAppearance.hrc
index e01be1c..c5e006f 100644
--- a/chart2/source/controller/dialogs/tp_3D_SceneAppearance.hrc
+++ b/chart2/source/controller/dialogs/tp_3D_SceneAppearance.hrc
@@ -34,5 +34,4 @@
 
 #define FL_SEPERATOR 1
 
-#define LB_SHADING 1
 #define LB_SCHEME 2
diff --git a/chart2/source/controller/inc/HelpIds.hrc b/chart2/source/controller/inc/HelpIds.hrc
index 5e20b79..d50b5bd 100644
--- a/chart2/source/controller/inc/HelpIds.hrc
+++ b/chart2/source/controller/inc/HelpIds.hrc
@@ -31,7 +31,6 @@
 #define HID_SCH_LEGEND_POS                                  "CHART2_HID_SCH_LEGEND_POS"
 #define HID_SCH_DATA_DESCR                                  "CHART2_HID_SCH_DATA_DESCR"
 
-#define HID_SCH_STAT                                        "CHART2_HID_SCH_STAT"
 #define HID_SCH_WIN_DOCUMENT                                "CHART2_HID_SCH_WIN_DOCUMENT"
 #define HID_SCH_CTL_DATA                                    "CHART2_HID_SCH_CTL_DATA"
 
diff --git a/cui/source/customize/acccfg.hrc b/cui/source/customize/acccfg.hrc
index eaa39b1..b1e682e 100644
--- a/cui/source/customize/acccfg.hrc
+++ b/cui/source/customize/acccfg.hrc
@@ -26,13 +26,9 @@
  ************************************************************************/
 
 #define GRP_FUNCTIONS 22
-#define BTN_ACC_OK               1
-#define BTN_ACC_CANCEL           2
 #define BTN_ACC_CHANGE           3
 #define BTN_ACC_REMOVE           4
 #define BOX_ACC_ENTRIES          5
-#define TXT_ACC_DESCRIPTIONTEXT  6
-#define TXT_ACC_DESCRIPTIONINFO  7
 #define GRP_ACC_KEYBOARD         8
 #define TXT_ACC_GROUP            9
 #define BOX_ACC_GROUP           10
@@ -57,7 +53,6 @@
 #define IMG_DOC                 56
 #define STR_GROUP_STYLES        58
 #define STR_PDF_EXPORT_SEND     59
-#define STR_RECHECK_DOCUMENT    60
 #define IMG_INFO                61
     // FREE
 #define BMP_COLLAPSED           63
diff --git a/cui/source/customize/eventdlg.hrc b/cui/source/customize/eventdlg.hrc
index 8e482d8..f0b2036 100644
--- a/cui/source/customize/eventdlg.hrc
+++ b/cui/source/customize/eventdlg.hrc
@@ -35,9 +35,5 @@
 #define TXT_SAVEIN      10
 #define LB_SAVEIN           11
 
-#define MB_CONFIG   17
-#define CB_WARNING      18
-#define CB_WARNING_ALWAYS 19
-#define GB_SAFETY       20
 #define ID_APP      21
 #define ID_DOC      22
diff --git a/cui/source/dialogs/charmap.hrc b/cui/source/dialogs/charmap.hrc
index 0b3aa3e..30ad06b 100644
--- a/cui/source/dialogs/charmap.hrc
+++ b/cui/source/dialogs/charmap.hrc
@@ -45,7 +45,6 @@
 #define ED_SHORTCUT     32
 #define BT_ASSIGN       33
 #define FT_ASSIGN       34
-#define CT_ASSIGN       35
 
 #endif
 
diff --git a/cui/source/dialogs/fmsearch.hrc b/cui/source/dialogs/fmsearch.hrc
index cfad011..f76d1ef 100644
--- a/cui/source/dialogs/fmsearch.hrc
+++ b/cui/source/dialogs/fmsearch.hrc
@@ -44,7 +44,6 @@
 #define RID_STR_OVERFLOW_BACKWARD                   (RID_FORMS_START +  35)
 #define RID_STR_SEARCH_COUNTING                     (RID_FORMS_START +  76)
 
-#define FT_SEARCHTEXT       1
 #define FT_FORM             2
 #define FT_POSITION         3
 #define FT_RECORDLABEL      4
diff --git a/cui/source/dialogs/hangulhanjadlg.hrc b/cui/source/dialogs/hangulhanjadlg.hrc
index 817e3a1..e5389c8 100644
--- a/cui/source/dialogs/hangulhanjadlg.hrc
+++ b/cui/source/dialogs/hangulhanjadlg.hrc
@@ -124,7 +124,6 @@
 #define HHO_ROW_a3                  (HHO_ROW_a2+2)
 #define HHO_ROW_a4                  (HHO_ROW_a3+14)
 #define HHO_ROW_a5                  (HHO_ROW_a4+4)
-#define HHO_ROW_a6                  (HHO_ROW_a5+14)
 
 
 // Hangul / Hanja New Dictonary Dialog
@@ -185,7 +184,6 @@
 #define HHE_ROW_6                   (HHE_ROW_5+12)
 #define HHE_ROW_7                   (HHE_ROW_6+2)
 #define HHE_ROW_8                   (HHE_ROW_7+2)
-#define HHE_ROW_9                   (HHE_ROW_6+12)
 #define HHE_ROW_10                  (HHE_ROW_8+RSC_SP_CTRL_GROUP_Y)
 #define HHE_ROW_11                  (HHE_ROW_10+8+2)
 #define HHE_ROW_12                  (HHE_ROW_11+4*12)
diff --git a/cui/source/dialogs/hyperdlg.hrc b/cui/source/dialogs/hyperdlg.hrc
index ead6a82..3eec5a6 100644
--- a/cui/source/dialogs/hyperdlg.hrc
+++ b/cui/source/dialogs/hyperdlg.hrc
@@ -31,7 +31,6 @@
 #define RB_LINKTYP_INTERNET         2
 #define RB_LINKTYP_FTP              3
 #define FT_TARGET_HTML              5
-#define CB_TARGET_HTML              6
 #define FT_LOGIN                    7
 #define ED_LOGIN                    8
 #define FT_PASSWD                   9
@@ -46,7 +45,6 @@
 #define RB_LINKTYP_MAIL             2
 #define RB_LINKTYP_NEWS             3
 #define FT_RECEIVER                 4
-#define CB_RECEIVER                 5
 #define FT_SUBJECT                  6
 #define ED_SUBJECT                  7
 #define BTN_ADRESSBOOK              8
@@ -55,7 +53,6 @@
 
 #define GRP_DOCUMENT                1
 #define FT_PATH_DOC                 2
-#define CB_PATH_DOC                 3
 #define BTN_FILEOPEN                4
 #define GRP_TARGET                  5
 #define FT_TARGET_DOC               6
diff --git a/cui/source/dialogs/passwdomdlg.hrc b/cui/source/dialogs/passwdomdlg.hrc
index edeae46..b31c18d 100644
--- a/cui/source/dialogs/passwdomdlg.hrc
+++ b/cui/source/dialogs/passwdomdlg.hrc
@@ -33,8 +33,6 @@
 #define ED_PASSWD_TO_OPEN               12
 #define FT_REENTER_PASSWD_TO_OPEN       13
 #define ED_REENTER_PASSWD_TO_OPEN       14
-#define IMG_PASSWD_MATCH                15
-#define IMG_PASSWD_MATCH_HC             16
 #define FT_PASSWD_NOTE                  17
 #define FL_BUTTONS                      18
 #define BTN_MORE_FEWER_OPTIONS          19
@@ -45,8 +43,6 @@
 #define ED_PASSWD_TO_MODIFY             24
 #define FT_REENTER_PASSWD_TO_MODIFY     25
 #define ED_REENTER_PASSWD_TO_MODIFY     26
-#define FI_PASSWD_TO_OPEN_MATCH         27
-#define FI_PASSWD_TO_MODIFY_MATCH       28
 #define CB_OPEN_READONLY                29
 
 #define STR_MORE_OPTIONS                    51
diff --git a/cui/source/dialogs/scriptdlg.hrc b/cui/source/dialogs/scriptdlg.hrc
index 7ea7184..1c8e0bc 100644
--- a/cui/source/dialogs/scriptdlg.hrc
+++ b/cui/source/dialogs/scriptdlg.hrc
@@ -30,8 +30,6 @@
 
 #include <svl/solar.hrc>
 
-#define SCRIPTDLG_OFFSET        400
-
 // ScriptOrgDialog
 #define SF_TXT_SCRIPTS                  1
 #define SF_CTRL_SCRIPTSBOX              2
diff --git a/cui/source/dialogs/svuidlg.hrc b/cui/source/dialogs/svuidlg.hrc
index 8add126..cf6245e 100644
--- a/cui/source/dialogs/svuidlg.hrc
+++ b/cui/source/dialogs/svuidlg.hrc
@@ -32,7 +32,6 @@
 
 // gemeinsame Id's
 #define CB_DISPLAY_AS_ICON     12
-#define FI_DISPLAY             13
 #define PB_CHANGE_ICON         14
 
 #define STR_AUTOLINK                            32006
diff --git a/cui/source/inc/helpid.hrc b/cui/source/inc/helpid.hrc
index 65c7180..2be79d8 100644
--- a/cui/source/inc/helpid.hrc
+++ b/cui/source/inc/helpid.hrc
@@ -38,10 +38,8 @@
 #define HID_OPTIONS_PATH "CUI_HID_OPTIONS_PATH"
 #define HID_OPTIONS_GENERAL "CUI_HID_OPTIONS_GENERAL"
 #define HID_OPTIONS_LINGU "CUI_HID_OPTIONS_LINGU"
-#define HID_OPTIONS_SPELL "CUI_HID_OPTIONS_SPELL"
 #define HID_OPTIONS_DICT_NEW "CUI_HID_OPTIONS_DICT_NEW"
 #define HID_OPTIONS_DICT_EDIT "CUI_HID_OPTIONS_DICT_EDIT"
-#define HID_OPTIONS_INET "CUI_HID_OPTIONS_INET"
 #define HID_OPTIONS_CHART_DEFCOLORS "CUI_HID_OPTIONS_CHART_DEFCOLORS"
 #define HID_OPTIONS_CTL "CUI_HID_OPTIONS_CTL"
 #define HID_OPTIONS_PROXY "CUI_HID_OPTIONS_PROXY"
@@ -86,7 +84,6 @@
 #define HID_OPTIONS_DICT_EDIT_ENTRIES_LIST "CUI_HID_OPTIONS_DICT_EDIT_ENTRIES_LIST"
 #define HID_OPTPATH_HEADERBAR "CUI_HID_OPTPATH_HEADERBAR"
 #define HID_WARN_NAME_DUPLICATE "CUI_HID_WARN_NAME_DUPLICATE"
-#define HID_COLORPAGE_LISTBOX_START "CUI_HID_COLORPAGE_LISTBOX_START"
 #define HID_COLORPAGE_DOCCOLOR_LB "CUI_HID_COLORPAGE_DOCCOLOR_LB"
 #define HID_COLORPAGE_DOCBOUNDARIES_LB "CUI_HID_COLORPAGE_DOCBOUNDARIES_LB"
 #define HID_COLORPAGE_APPBACKGROUND_LB "CUI_HID_COLORPAGE_APPBACKGROUND_LB"
@@ -133,7 +130,6 @@
 #define HID_COLORPAGE_SQLKEYWORD_LB "CUI_HID_COLORPAGE_SQLKEYWORD_LB"
 #define HID_COLORPAGE_SQLPARAMETER_LB "CUI_HID_COLORPAGE_SQLPARAMETER_LB"
 #define HID_COLORPAGE_SQLCOMMENT_LB "CUI_HID_COLORPAGE_SQLCOMMENT_LB"
-#define HID_COLORPAGE_CHECKBOX_START "CUI_HID_COLORPAGE_CHECKBOX_START"
 #define HID_COLORPAGE_DOCCOLOR_CB "CUI_HID_COLORPAGE_DOCCOLOR_CB"
 #define HID_COLORPAGE_DOCBOUNDARIES_CB "CUI_HID_COLORPAGE_DOCBOUNDARIES_CB"
 #define HID_COLORPAGE_APPBACKGROUND_CB "CUI_HID_COLORPAGE_APPBACKGROUND_CB"
@@ -381,7 +377,6 @@
 #define HID_PASTE_DLG "CUI_HID_PASTE_DLG"
 #define HID_LINKDLG_TABLB "CUI_HID_LINKDLG_TABLB"
 #define HID_MACRO_HEADERTABLISTBOX "CUI_HID_MACRO_HEADERTABLISTBOX"
-#define HID_GALLERY_ENTER_TITLE "CUI_HID_GALLERY_ENTER_TITLE"
 #define HID_GALLERY_TITLE_EDIT "CUI_HID_GALLERY_TITLE_EDIT"
 #define HID_THES_LANGUAGE "CUI_HID_THES_LANGUAGE"
 #define HID_OFAPAGE_QUOTE_SW_CLB "CUI_HID_OFAPAGE_QUOTE_SW_CLB"
diff --git a/cui/source/options/optaccessibility.hrc b/cui/source/options/optaccessibility.hrc
index 6cc5e0a..cd66c7a 100644
--- a/cui/source/options/optaccessibility.hrc
+++ b/cui/source/options/optaccessibility.hrc
@@ -59,7 +59,6 @@
 #define ROWB_3                  ( ROWB_2 + RSC_CD_CHECKBOX_HEIGHT       + ROWSPACE )
 
 #define WHOLE_HEIGHT            185
-#define LASTTEXT_HEIGHT         (WHOLE_HEIGHT-ROWB_8)
 #define OFFS_TEXTBOX_FIXEDTEXT(base)    (base+(RSC_CD_TEXTBOX_HEIGHT-RSC_CD_FIXEDTEXT_HEIGHT)/2)
 #define DIFF(v1,v2)             (v2-v1)
 #define SUM(v1,v2)              (v2+v1)
diff --git a/cui/source/options/optdict.hrc b/cui/source/options/optdict.hrc
index e7233f2..6cf3dff 100644
--- a/cui/source/options/optdict.hrc
+++ b/cui/source/options/optdict.hrc
@@ -54,9 +54,6 @@
 #define STR_MODIFY          42
 
 #define BTN_EDITCLOSE   50
-#define BTN_EDITNEW     51
-#define BTN_EDITCHANGE  52
-#define BTN_EDITREMOVE  53
 #define BTN_EDITHELP    54
 
 
diff --git a/cui/source/options/optgdlg.hrc b/cui/source/options/optgdlg.hrc
index 2ccc503..8ecdec8 100644
--- a/cui/source/options/optgdlg.hrc
+++ b/cui/source/options/optgdlg.hrc
@@ -111,7 +111,6 @@
 #define PB_HELPAGENT_RESET          14
 #define FT_HELPFORMAT               15
 #define LB_HELPFORMAT               16
-#define FT_EXPERIMENTAL             17
 #define CB_EXPERIMENTAL             18
 #define FT_MACRORECORDER            19
 #define CB_MACRORECORDER            20
@@ -173,8 +172,6 @@
 // tabpage languages -----------------------------------------------------
 
 #define FL_UI_LANG              1
-#define FT_UI_LANG              2
-#define LB_UI_LANG              3
 #define FL_LINGU_LANG           4
 #define FT_WEST_LANG            5
 #define LB_WEST_LANG            6
@@ -202,7 +199,6 @@
 #define FI_USERINTERFACE        29
 #define FT_USERINTERFACE        30
 #define LB_USERINTERFACE        31
-#define STR_IB_LANGCHANGE_TITLE 32
 
 #define FL_FILEDLG                  53
 #define FI_FILEDLG_RO               54
@@ -210,7 +206,6 @@
 #define FT_GRAPHICCACHE_UNIT        56
 #define FT_GRAPHICOBJECTCACHE_UNIT  57
 #define FT_GRAPHICOBJECTTIME_UNIT   58
-#define FT_HELPAGENT_TIME_UNIT      59
 #define FL_DOCSTATUS                60
 #define CB_DOCSTATUS                61
 #define CB_ODMADLG                  62
diff --git a/cui/source/options/optinet2.hrc b/cui/source/options/optinet2.hrc
index 64bf526..8a3d21d 100644
--- a/cui/source/options/optinet2.hrc
+++ b/cui/source/options/optinet2.hrc
@@ -67,20 +67,6 @@
 #define ST_MSG_255_0                111
 #define ST_MSG_255_1                112
 
-// Site Certificate --------------------------------------------------------
-#define GB_SITECERT                 120
-#define LB_SITECERT                 121
-#define LB_FILTERCERT               122
-#define PB_EDIT_CERT                123
-#define PB_DELETE_CERT              124
-
-// personal Certificate ----------------------------------------------------
-#define GB_PERSCERT                 130
-#define LB_PERSCERT                 131
-#define PB_NEW_PERSCERT             132
-#define PB_INFO_PERSCERT            133
-#define PB_DELETE_PERSCERT          134
-
 // Security  -------------------------------------------------------------
 
 #define FL_SEC_SECURITYOPTIONS      10
@@ -101,7 +87,6 @@
 
 #define STR_SEC_NOPASSWDSAVE        12
 
-#define OFFS_BUTTON_Y               (-6)
 #define BORDER_OFFSET               8
 #define COL_0                       (RSC_SP_TBPG_INNERBORDER_LEFT)
 #define COL_1                       (COL_0+RSC_SP_FLGR_SPACE_X)
@@ -130,7 +115,6 @@
 #define IMG_JSCPT_WARNING           220
 #define FT_JSCPT_WARNING            221
 #define CB_JSCPT_DISABLE            222
-#define GB_JSCPT_WARNING            223
 #define BTN_JSCPT_YES               224
 #define BTN_JSCPT_NO                225
 
diff --git a/cui/source/options/optlingu.hrc b/cui/source/options/optlingu.hrc
index 824e223..7cf44b4 100644
--- a/cui/source/options/optlingu.hrc
+++ b/cui/source/options/optlingu.hrc
@@ -25,8 +25,6 @@
  *
  ************************************************************************/
 
-// defines ---------------------------------------------------------------
-
 #define FL_LINGUISTIC           101
 
 #define FT_LINGU_MODULES        111
@@ -55,8 +53,6 @@
 
 #define STR_GRAMMAR_AUTO        217
 
-#define STR_WARNING             63
-
 #define PB_OK                               70
 #define PB_HELP                             72
 
diff --git a/cui/source/options/optsave.hrc b/cui/source/options/optsave.hrc
index f0fcbe9..64882a1 100644
--- a/cui/source/options/optsave.hrc
+++ b/cui/source/options/optsave.hrc
@@ -38,14 +38,12 @@
 #define BTN_AUTOSAVE            16
 #define ED_AUTOSAVE             17
 #define FT_MINUTE               18
-#define BTN_AUTOSAVEPROMPT      19
 #define BTN_NOPRETTYPRINTING    20
 #define FI_BACKUP               21
 #define BTN_WARNALIENFORMAT     22
 #define FT_ODF_VERSION          23
 #define LB_ODF_VERSION          24
 
-#define GB_RELATIVE             40
 #define BTN_RELATIVE_FSYS       41
 #define BTN_RELATIVE_INET       42
 
@@ -72,7 +70,6 @@
 //Filter warning
 #define PB_OK                   1
 #define FT_FILTER_WARNING       2
-#define CB_DONT_SHOW_AGAIN      3
 #define IMG_WARNING             4
 #define PB_CANCEL               5
 
diff --git a/cui/source/options/treeopt.hrc b/cui/source/options/treeopt.hrc
index 3be1d6a..35a916b 100644
--- a/cui/source/options/treeopt.hrc
+++ b/cui/source/options/treeopt.hrc
@@ -26,7 +26,6 @@
  ************************************************************************/
 
 #include <sfx2/tabpage.hrc>
-
 #include <svtools/controldims.hrc>
 
 #define PB_OK                   1
@@ -39,22 +38,8 @@
 
 #define FT_HINT                 21
 #define CB_DISABLE              22
-#define BTN_HINT                23
 #define ST_LOAD_ERROR           24
 
-#define STR_GENERAL_PAGES_START 1
-#define STR_GENERAL             (STR_GENERAL_PAGES_START)
-#define STR_MISC_PAGE           (STR_GENERAL_PAGES_START + 1)
-#define STR_DESKTOP_PAGE        (STR_GENERAL_PAGES_START + 2)
-#define STR_VIEW_PAGE           (STR_GENERAL_PAGES_START + 3)
-#define STR_FONT_PAGE           (STR_GENERAL_PAGES_START + 4)
-#define STR_PRINT_PAGE          (STR_GENERAL_PAGES_START + 5)
-#define STR_COLOR_PAGE          (STR_GENERAL_PAGES_START + 6)
-#define STR_LING_PAGE           (STR_GENERAL_PAGES_START + 7)
-#define STR_PATH_PAGE           (STR_GENERAL_PAGES_START + 8)
-#define STR_SAVE_PAGE           (STR_GENERAL_PAGES_START + 9)
-#define STR_USERDATA_PAGE       (STR_GENERAL_PAGES_START + 10)
-
 // metrics
 
 #define WIDTH_PAGEFRAME         TP_WIDTH
diff --git a/cui/source/tabpages/autocdlg.hrc b/cui/source/tabpages/autocdlg.hrc
index 61ea73e..01a8cf6 100644
--- a/cui/source/tabpages/autocdlg.hrc
+++ b/cui/source/tabpages/autocdlg.hrc
@@ -32,15 +32,6 @@
 // defines ------------------------------------------------------------------
 
 #define CLB_SETTINGS                    1
-/*
-#define STR_DOUBLECAPS                  3
-#define STR_STARTCAPS                   4
-#define STR_FIRST                       5
-#define STR_HALF                        6
-#define STR_DASH                        7
-#define STR_BOLDUNDERLINE               8
-#define STR_URL                         9
-*/
 
 #define CB_TYPO                         11
 #define FT_STARTQUOTE                   12
@@ -66,7 +57,6 @@
 #define PB_NEW_REPLACE                  35
 #define PB_DELETE_REPLACE               36
 #define STR_MODIFY                      37
-#define STR_CLOSE_AUTOCORR              38
 #define FT_SHORT                        39
 #define FT_REPLACE                      40
 #define STR_CHANGE_START                41
@@ -91,7 +81,6 @@
 
 #define PB_EDIT                         61
 #define ST_DEL_EMPTY_PARA               62
-#define ST_TYPO                         66
 #define ST_USER_STYLE                   67
 #define ST_BULLET                       68
 #define STR_DEL_SPACES_AT_STT_END       69
@@ -105,7 +94,6 @@
 #define FL_PRCNT                        79
 
 #define STR_HEADER                      90
-#define FT_HEADER_EXPLANATION           91
 #define STR_HEADER1                     92
 #define STR_HEADER2                     93
 #define FT_HEADER1_EXPLANATION          94
@@ -115,14 +103,6 @@
 #define BT_OK                           101
 #define BT_CANCEL                       102
 
-#define BT_AWCP_OK                      110
-#define BT_AWCP_CANCEL                  111
-#define GB_AWCP_VALUE                   112
-#define ED_AWCP_WORD_LEN                113
-#define ED_AWCP_LIST_LEN                114
-#define FT_AWCP_WORD_LEN                115
-#define FT_AWCP_LIST_LEN                116
-
 #define CB_ACTIV                        121
 #define CB_COLLECT                      122
 #define CB_APPEND_SPACE                 123
@@ -137,7 +117,6 @@
 #define LB_ENTRIES                      132
 #define PB_ENTRIES                      133
 
-
 #define ST_USE_REPLACE                  200
 #define ST_CPTL_STT_WORD                201
 #define ST_CPTL_STT_SENT                202
diff --git a/cui/source/tabpages/backgrnd.hrc b/cui/source/tabpages/backgrnd.hrc
index fdfafab..4961e18 100644
--- a/cui/source/tabpages/backgrnd.hrc
+++ b/cui/source/tabpages/backgrnd.hrc
@@ -34,10 +34,6 @@
 
 #define SET_BGDCOLOR    10
 #define GB_BGDCOLOR     11
-#define SET_PATTERN     12
-#define GB_COL_PREVIEW  13
-#define SET_PATCOLOR    14
-#define GB_PATCOLOR     15
 #define CT_BORDER       16
 #define FT_PREVIEW      20
 #define WIN_PREVIEW1    21
@@ -53,7 +49,6 @@
 #define WND_POSITION    28
 #define GB_POSITION     29
 #define WIN_PREVIEW2    30
-#define GB_PREVIEW      31
 #define LB_TBL_BOX      32
 #define FT_TBL_DESC     33
 #define LB_PARA_BOX     34
diff --git a/cui/source/tabpages/border.hrc b/cui/source/tabpages/border.hrc
index 6ae3ef0..360bd7a 100644
--- a/cui/source/tabpages/border.hrc
+++ b/cui/source/tabpages/border.hrc
@@ -48,9 +48,6 @@
 #define FT_SHADOWCOLOR          35
 #define LB_SHADOWCOLOR          36
 
-#define FT_XSPACE               41
-#define ED_XSPACE               42
-
 #define FL_DISTANCE             50
 #define FT_LEFT                 51
 #define MF_LEFT                 52
diff --git a/cui/source/tabpages/chardlg.hrc b/cui/source/tabpages/chardlg.hrc
index 0d583b0..a41b0c4 100644
--- a/cui/source/tabpages/chardlg.hrc
+++ b/cui/source/tabpages/chardlg.hrc
@@ -119,7 +119,6 @@
 #define WIN_EFFECTS_PREVIEW     251
 #define FT_EFFECTS_FONTTYPE     252
 
-#define STR_EFFECTS_TRANSPARENT 260
 #define STR_EFFECTS_CAPITALS    261
 #define STR_EFFECTS_LOWERCASE   262
 #define STR_EFFECTS_TITLE       263
@@ -168,7 +167,6 @@
 #define FT_ENDBRACKET           413
 #define ED_ENDBRACKET           414
 
-#define FL_TWOLINES_PREVIEW     420
 #define WIN_TWOLINES_PREVIEW    421
 #define FT_TWOLINES_FONTTYPE    422
 
diff --git a/cui/source/tabpages/labdlg.hrc b/cui/source/tabpages/labdlg.hrc
index 8759a01..39f713c 100644
--- a/cui/source/tabpages/labdlg.hrc
+++ b/cui/source/tabpages/labdlg.hrc
@@ -25,8 +25,6 @@
  *
  ************************************************************************/
 #include <cuires.hrc>
-//#define RID_SVXPAGE_CAPTION       1000
-//#define RID_SVXDLG_CAPTION        1001
 
 #define TAB_CONTROL             1
 #define BTN_OK                  1
@@ -48,8 +46,6 @@
 
 #define CB_LAENGE               1
 
-#define CM_LAENGE               1
-
 #define LB_WINKEL               1
 #define LB_ANSATZ               2
 #define LB_ANSATZ_REL           3
@@ -66,7 +62,4 @@
 #define BMP_CAPTTYPE_3          3
 #define BMP_CAPTTYPE_4          4
 
-#define SHOW_HORZ               1
-#define SHOW_VERT               2
-#define SHOW_ABS                3
 #define SHOW_NONE               4
diff --git a/cui/source/tabpages/numfmt.hrc b/cui/source/tabpages/numfmt.hrc
index 763dd59..ead7ac0 100644
--- a/cui/source/tabpages/numfmt.hrc
+++ b/cui/source/tabpages/numfmt.hrc
@@ -44,10 +44,6 @@
 #define ED_FORMAT               14
 #define BTN_ADD                 15
 #define BTN_REMOVE              16
-#define BMP_CHECK               17
-#define BMP_DCHECK              18
-#define BMP_CROSS               19
-#define BMP_DCROSS              20
 #define FT_DECIMALS             21
 #define ED_DECIMALS             22
 #define FT_LEADZEROES           23
@@ -64,7 +60,6 @@
 #define CB_SOURCEFORMAT         34
 #define STR_AUTO_ENTRY          36
 
-#define TBX_ADDREMOVE           1
 #define IID_ADD                 1
 #define IID_REMOVE              2
 #define IID_INFO                3
diff --git a/cui/source/tabpages/numpages.hrc b/cui/source/tabpages/numpages.hrc
index 02fb936..9991184 100644
--- a/cui/source/tabpages/numpages.hrc
+++ b/cui/source/tabpages/numpages.hrc
@@ -27,41 +27,14 @@
 
 #define FT_ALIGN        50
 #define LB_ALIGN        51
-#define FT_DIST_BORDER  52
-#define MF_DIST_BORDER  53
-#define FT_DIST_NUM     54
-#define MF_DIST_NUM     55
-#define GB_POS          56
-
-#define LB_FMT_CHAR     60
-#define FT_FMT_CHAR     61
 
 #define FT_WIDTH        67
-#define FI_URL          68
 #define FT_HEIGHT       70
 
-
-#define MN_STD_NUMBER   120
-#define MD_DEL_NUMBER   121
-#define MN_STD_BULLET   122
-#define MN_DEL_BULLET   123
-
 #define STR_BULLET      200
-//#define STR_NUMFMT_1  201
-//#define STR_NUMFMT_2    202
-//#define STR_NUMFMT_3    203
-//#define STR_NUMFMT_4    204
-//#define STR_NUMFMT_5    205
-//#define STR_NUMFMT_6    206
-//#define STR_NUMFMT_7    207
-//#define STR_NUMFMT_8    208
-//#define STR_NUMFMT_7_HTML    209
 
 #define LB_FORM         210
 #define ED_FORM         211
-#define GB_FORM         212
-
-#define BT_BULLET       213
 
 #define FL_VALUES               220
 #define VS_VALUES       221
@@ -90,7 +63,6 @@
 #define NF_ALL_LEVEL    169
 #define FT_START        170
 #define ED_START        171
-#define FT_BULLET       172
 #define PB_BULLET       173
 #define WIN_PREVIEW     174
 #define FT_BITMAP       175
diff --git a/cui/source/tabpages/paragrph.hrc b/cui/source/tabpages/paragrph.hrc
index bb9a3fc..c3ced58 100644
--- a/cui/source/tabpages/paragrph.hrc
+++ b/cui/source/tabpages/paragrph.hrc
@@ -51,7 +51,6 @@
 #define FL_ALIGN                        34
 #define FL_VERTALIGN                    35
 #define LB_VERTALIGN                    36
-#define FL_VERTEX                       37
 #define CB_SNAP                         38
 #define FT_VERTALIGN                    39
 
diff --git a/cui/source/tabpages/tabarea.hrc b/cui/source/tabpages/tabarea.hrc
index 18f4c56..3d61785 100644
--- a/cui/source/tabpages/tabarea.hrc
+++ b/cui/source/tabpages/tabarea.hrc
@@ -24,18 +24,12 @@
  * for a copy of the LGPLv3 License.
  *
  ************************************************************************/
+
 #define BTN_LOAD 5
 #define BTN_SAVE 6
 #define BTN_EMBED 7
-#define GRP_FILL 1
-#define GRP_SHADOW 2
-#define GRP_PREVIEW 3
-#define GRP_TRANSPARENT 4
-#define GRP_STEPCOUNT 5
 #define CTL_PREVIEW 1
 #define CTL_POSITION 2
-//#define CTL_GRADIENT_PREVIEW 3
-//#define CTL_HATCHING_PREVIEW 4
 #define CTL_COLOR_PREVIEW 5
 #define CTL_BITMAP_PREVIEW 6
 #define MTR_FLD_DISTANCE 1
@@ -45,20 +39,13 @@
 #define TSB_TILE 4
 #define TSB_STRETCH 5
 #define TSB_ORIGINAL 6
-#define AREADLG_INVISIBLE 0
-#define AREADLG_COLOR 1
-#define AREADLG_GRADIENT 2
-#define AREADLG_HATCH 3
-#define AREADLG_BITMAP 4
 
 #define LB_COLOR 1
 #define LB_GRADIENT 2
 #define LB_HATCHING 3
 #define LB_BITMAP 4
-//#define LB_TRANSPARENT 5
 #define LB_BITMAPS 4
 #define LB_BACKGROUND_COLOR 3
-#define LB_DLG_TYPE 99
 #define GRP_COLOR 1
 #define BTN_ADD 1
 #define BTN_IMPORT 2
@@ -72,15 +59,11 @@
 #define FT_LINE_TYPE 1
 #define FT_LINE_DISTANCE 3
 #define FT_LINE_ANGLE 4
-#define GRP_LINE 1
-#define GRP_HATCHINGS 5
 #define MTR_FLD_ANGLE 3
 #define CTL_ANGLE 2
 #define LB_HATCHINGS 4
 #define LB_LINE_TYPE 1
 #define LB_LINE_COLOR 3
-#define GRP_GRADIENTS 4
-#define GRP_GRADIENT_TYPE 5
 #define LB_GRADIENTS 3
 #define LB_GRADIENT_TYPES 4
 #define LB_COLOR_FROM 1
@@ -109,20 +92,12 @@
 #define FL_OFFSET 5
 #define FL_STEPCOUNT 7
 
-// Colors define TabPage
-// only temporarily!!!
-// #define RID_SVXPAGE_COLOR 999
-
-//#define GRP_COLORTABLE 1
-//#define GRP_COLORMODEL 2
-
 #define BTN_WORK_ON 2
 #define CTL_COLORTABLE 3
 #define CTL_PREVIEW_OLD 1
 #define CTL_PREVIEW_NEW 2
 #define FT_NAME 2
 #define EDT_NAME 1
-// #define LB_COLOR 1
 #define LB_COLORMODEL 2
 #define FT_1 3
 #define FT_2 4
@@ -135,9 +110,7 @@
 #define FT_TABLE_NAME 7
 #define MTR_FLD_X_SIZE 4
 #define MTR_FLD_Y_SIZE 5
-#define GRP_SIZE 6
 #define TSB_SCALE 1
-#define GRP_POSITION 7
 #define FT_X_OFFSET 1
 #define FT_Y_OFFSET 2
 #define MTR_FLD_X_OFFSET 1
@@ -146,7 +119,6 @@
 #define RBT_ROW 6
 #define RBT_COLUMN 7
 #define MTR_FLD_OFFSET 3
-#define GRP_OFFSET 8
 
 #define FT_TRANSPARENT 9
 #define FT_X_SIZE 10
@@ -156,8 +128,6 @@
 #define RBT_TRANS_OFF 8
 #define RBT_TRANS_LINEAR 9
 #define RBT_TRANS_GRADIENT 10
-#define GRP_TRANS_MODE 9
-#define GRP_TRANS_GRADIENT 10
 #define CTL_TRANS_PREVIEW   19
 
 #define FT_TRGR_TYPE 12
@@ -179,13 +149,10 @@
 #define MTR_SHADOW_TRANSPARENT 11
 
 // Hatch-Background on Area-TabPage
-#define GRP_HATCHBCKGRD         20
 #define CB_HATCHBCKGRD          21
 #define LB_HATCHBCKGRDCOLOR     22
 
 
-#define IMG_LOAD_H  23
-#define IMG_SAVE_H  24
 // IAccessibility2 implementation 2009 ------
 #define STR_CUI_COLORMODEL  5030
 #define STR_LB_HATCHINGSTYLE 5031
diff --git a/cui/source/tabpages/tabline.hrc b/cui/source/tabpages/tabline.hrc
index 81e9e99..d89a617 100644
--- a/cui/source/tabpages/tabline.hrc
+++ b/cui/source/tabpages/tabline.hrc
@@ -35,8 +35,6 @@
 #define TSB_INVISIBLE 1
 #define FL_LINE 1
 #define FL_LINE_ENDS 2
-#define FT_LINE_START 4
-#define FT_LINE_END 8
 #define FT_LINE_ENDS_STYLE 5
 #define FT_LINE_ENDS_WIDTH 6
 #define LB_START_STYLE 3
@@ -59,16 +57,13 @@
 #define MTR_FLD_START_WIDTH 3
 #define MTR_FLD_END_WIDTH 2
 #define CBX_SYNCHRONIZE 1
-#define FL_MEASURING 3
 #define CTL_POSITION 2
 #define FT_POSITION 9
-#define TSB_SHOW_MEASURING 2
 #define CTL_PREVIEW 1
 #define FL_DEFINITION 1
 #define FT_NUMBER 3
 #define FT_DISTANCE 2
 #define FT_LENGTH 4
-#define TSB_SYNCHRONIZE 3
 #define LB_TYPE_1 3
 #define FT_TYPE 1
 #define LB_TYPE_2 1
diff --git a/cui/source/tabpages/transfrm.hrc b/cui/source/tabpages/transfrm.hrc
index 2d57b72..a5b32ea 100644
--- a/cui/source/tabpages/transfrm.hrc
+++ b/cui/source/tabpages/transfrm.hrc
@@ -33,7 +33,6 @@
 #define MTR_FLD_POS_X               7
 #define MTR_FLD_POS_Y               8
 #define CBX_COPY                    9
-#define TSB_PROTECT                 10
 #define TSB_AUTO                    11
 #define TSB_AUTOGROW_HEIGHT         12
 #define TSB_AUTOGROW_WIDTH          13
@@ -55,7 +54,6 @@
 #define MTR_FLD_RADIUS              29
 #define FL_ANGLE                    30
 #define FT_ANGLE                    31
-#define TSB_VERTICAL                32
 #define FL_ANCHOR                   33
 #define FT_ANCHOR                   34
 #define LB_ANCHOR                   35
diff --git a/dbaccess/inc/dbaccess_helpid.hrc b/dbaccess/inc/dbaccess_helpid.hrc
index b3d97a0..aac74ff 100644
--- a/dbaccess/inc/dbaccess_helpid.hrc
+++ b/dbaccess/inc/dbaccess_helpid.hrc
@@ -261,8 +261,6 @@
 #define HID_DSADMIN_USER_DEFINED                          "DBACCESS_HID_DSADMIN_USER_DEFINED"
 #define HID_DSADMIN_USERDEF_OPTIONS                       "DBACCESS_HID_DSADMIN_USERDEF_OPTIONS"
 #define HID_DSADMIN_CHARSET_USERDEF                       "DBACCESS_HID_DSADMIN_CHARSET_USERDEF"
-#define HID_DSADMIN_USER_LDAP                             "DBACCESS_HID_DSADMIN_USER_LDAP"
-#define HID_DSADMIN_PWDREC_LDAP                           "DBACCESS_HID_DSADMIN_PWDREC_LDAP"
 #define HID_DSADMIN_USESSL_LDAP                           "DBACCESS_HID_DSADMIN_USESSL_LDAP"
 #define HID_BROWSER_QUERY_WIZARD                          "DBACCESS_HID_BROWSER_QUERY_WIZARD"
 
diff --git a/dbaccess/source/ui/app/dbu_app.hrc b/dbaccess/source/ui/app/dbu_app.hrc
index d07b885..1fcf3c6 100644
--- a/dbaccess/source/ui/app/dbu_app.hrc
+++ b/dbaccess/source/ui/app/dbu_app.hrc
@@ -22,7 +22,6 @@
 #include "dbu_resource.hrc"
 #endif
 
-#define TBI_SWITCH_PREVIEW                  RID_DBACCESS_START
 
 #define RID_STR_NEW_FORM                    RID_STR_APP_START
 #define RID_STR_NEW_FORM_AUTO               RID_STR_APP_START + 1
diff --git a/dbaccess/source/ui/dlg/AutoControls_tmpl.hrc b/dbaccess/source/ui/dlg/AutoControls_tmpl.hrc
index c4905ae..e6f720f 100644
--- a/dbaccess/source/ui/dlg/AutoControls_tmpl.hrc
+++ b/dbaccess/source/ui/dlg/AutoControls_tmpl.hrc
@@ -16,7 +16,6 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-
 #ifndef _DBAUI_AUTOCONTROLS_HRC_
 #define _DBAUI_AUTOCONTROLS_HRC_
 
@@ -432,9 +431,6 @@
     };
 
 
-#define NAMECONTROLGROUP_HEIGHT (FIXEDTEXT_HEIGHT + 2 + EDIT_HEIGHT)
-#define BROWSECONTROLGROUP_HEIGHT ( FIXEDTEXT_HEIGHT + 2 + BUTTON_HEIGHT)
-
 // --------------------------------------------------------------------------------------------------
 
 #define AUTO_HELP_BROWSECONTROLGROUP(AUTO_LINECOUNT, AUTO_HID, AUTO_HID2)                           \
@@ -444,9 +440,6 @@
 
 // --------------------------------------------------------------------------------------------------
 
-
-// --------------------------------------------------------------------------------------------------
-
 #define AUTO_JDBCDRIVERCLASSGROUP(AUTO_Y, AUTO_HID, AUTO_HID2)                                   \
                                                                                       \
     FixedText FT_AUTOJDBCDRIVERCLASS                                                  \
diff --git a/dbaccess/source/ui/dlg/ConnectionPage.hrc b/dbaccess/source/ui/dlg/ConnectionPage.hrc
index 49484b0..c001336 100644
--- a/dbaccess/source/ui/dlg/ConnectionPage.hrc
+++ b/dbaccess/source/ui/dlg/ConnectionPage.hrc
@@ -24,16 +24,10 @@
 
 #define FT_USERNAME                 1
 #define FT_JDBCDRIVERCLASS          2
-#define FT_DBASE_PATH_OR_FILE       3
-#define FT_NAME_OF_ODBC_DATASOURCE  4
 #define FT_MYSQL_DATABASE_NAME      5
-#define FT_MSACCESS_MDB_FILE        6
-#define FT_FLAT_PATH_OR_FILE        7
-#define FT_CALC_PATH_OR_FILE        8
     // FREE
 #define FT_NO_ADDITIONAL_SETTINGS   10
 #define FT_HOSTNAME                 11
-#define FT_ORACLE_DATABASE_NAME     12
 
 #define ET_USERNAME             1
 #define ET_JDBCDRIVERCLASS      2
diff --git a/dbaccess/source/ui/dlg/dbadmin.hrc b/dbaccess/source/ui/dlg/dbadmin.hrc
index 43781af..e23142b 100644
--- a/dbaccess/source/ui/dlg/dbadmin.hrc
+++ b/dbaccess/source/ui/dlg/dbadmin.hrc
@@ -84,19 +84,10 @@
 #define STR_PAGETITLE_GENERAL               1
 #define STR_PAGETITLE_CONNECTION            2
 #define STR_PAGETITLE_ADVANCED              3
-#define STR_NO_WILDCARDS                    4
 #define STR_MYSQLENTRY                      5
 #define STR_PARENTTITLE                     6
 #define STR_COULDNOTLOAD_ODBCLIB            7
 #define STR_UNSUPPORTED_DATASOURCE_TYPE     8
-#define STR_MYSQL_CONFIG_NEXT_PAGE          9
-#define STR_JDBC_DEFAULT_URL                10
-
-//========================================================================
-// menu item ids
-#define MID_NEW_DATASOURCE                  1
-#define MID_DELETE_DATASOURCE               2
-#define MID_RESTORE_DATASOURCE              3
 
 #endif // _DBAUI_DBADMIN_HRC_
 
diff --git a/dbaccess/source/ui/dlg/dbadminsetup.hrc b/dbaccess/source/ui/dlg/dbadminsetup.hrc
index 500f693..1f0b01c 100644
--- a/dbaccess/source/ui/dlg/dbadminsetup.hrc
+++ b/dbaccess/source/ui/dlg/dbadminsetup.hrc
@@ -41,8 +41,6 @@
 #define STR_MYSQLJDBC_HELPTEXT              35
 #define STR_SPREADSHEET_HELPTEXT            36
     // FREE
-#define STR_FINAL_HELPTEXT                  38
-    // FREE
 #define STR_ORACLE_HELPTEXT                 40
 #define STR_DBASE_HEADERTEXT                41
 #define STR_MSACCESS_HEADERTEXT             42
@@ -54,19 +52,12 @@
 #define STR_MYSQLJDBC_HEADERTEXT            48
     // FREE
 #define STR_SPREADSHEET_HEADERTEXT          50
-#define STR_FINAL_HEADERTEXT                52
     // FREE
 #define STR_ORACLE_HEADERTEXT               54
-#define STR_GENERAL_HEADERTEXT              55
 #define STR_DBWIZARDTITLE                   56
 
-#define STR_DEFAULTLDAPPORTNUMBER           60
-
     // FREE
-#define STR_ODBCDATASOURCENAME          63
 #define STR_SPREADSHEETPATH             64
-#define STR_DBLOCATIONLABEL             65
-#define STR_ADMIN_HELPTEXT              66
 
 #define STR_ORACLE_DEFAULT              67
 #define STR_PAGETITLE_INTROPAGE         69
@@ -90,12 +81,10 @@
 #define STR_PAGETITLE_MYSQL_NATIVE      87
 
 
-#define FT_PORTNUMBERDEFAULT            1
 #define FT_LDAP_HELPTEXT                2
 #define FT_MYSQL_HELPTEXT               3
 #define FT_MYSQL_HEADERTEXT             4
 #define FT_MYSQLCONNECTIONMODE          5
-#define FT_BROWSEURL                    6
 #define FT_AUTHENTIFICATIONHELPTEXT     7
 #define FT_AUTHENTIFICATIONHEADERTEXT   8
 #define FT_LDAP_HEADERTEXT              9
diff --git a/dbaccess/source/ui/dlg/paramdialog.hrc b/dbaccess/source/ui/dlg/paramdialog.hrc
index 33e93a1..be32311 100644
--- a/dbaccess/source/ui/dlg/paramdialog.hrc
+++ b/dbaccess/source/ui/dlg/paramdialog.hrc
@@ -23,12 +23,9 @@
 #define FL_PARAMS       2
 #define FT_VALUE        3
 #define ET_PARAM        4
-#define CB_NULLVAL      5
 #define BT_TRAVELNEXT   6
 #define BT_OK           7
 #define BT_CANCEL       8
-#define AB_PREV         9
-#define AB_NEXT         10
 
 
 #define STR_COULD_NOT_CONVERT_PARAM 1
diff --git a/dbaccess/source/ui/dlg/queryfilter.hrc b/dbaccess/source/ui/dlg/queryfilter.hrc
index 2c04152..d183c39 100644
--- a/dbaccess/source/ui/dlg/queryfilter.hrc
+++ b/dbaccess/source/ui/dlg/queryfilter.hrc
@@ -43,7 +43,6 @@
 #define ET_WHEREVALUE3  3
 
 #define STR_NOENTRY     1
-#define STR_NOENTRY2    2
 #define STR_DEFAULT     3
 #define STR_COMPARE_OPERATORS 4
 
diff --git a/dbaccess/source/ui/inc/dbu_dlg.hrc b/dbaccess/source/ui/inc/dbu_dlg.hrc
index 7e4091d..8b92877 100644
--- a/dbaccess/source/ui/inc/dbu_dlg.hrc
+++ b/dbaccess/source/ui/inc/dbu_dlg.hrc
@@ -43,7 +43,6 @@
 #define INIT_Y               28
 #define INDENTED_X           6
 #define INDENT_BELOW_RADIO   10
-#define INDENT_BELOW_CHECK   10
 
 
     // FREE
@@ -110,7 +109,6 @@
 #define STR_EXCEPTION_INFO                  RID_STR_DLG_START + 64
 #define STR_EXCEPTION_DETAILS               RID_STR_DLG_START + 65
 #define STR_MSACCESS_2007_FILTERNAME        RID_STR_DLG_START + 66
-#define STR_MSACCESS_ACCDB_FILE             RID_STR_DLG_START + 67
 
 
 // please adjust checking before insert new strings
diff --git a/dbaccess/source/ui/inc/dbu_qry.hrc b/dbaccess/source/ui/inc/dbu_qry.hrc
index 1c1fb3e..9686f8a 100644
--- a/dbaccess/source/ui/inc/dbu_qry.hrc
+++ b/dbaccess/source/ui/inc/dbu_qry.hrc
@@ -23,8 +23,6 @@
 #endif
 
 
-#define STR_QRY_FUNCTIONS                   RID_STR_QRY_START
-#define STR_QRY_SORTTEXT                    RID_STR_QRY_START + 1
 #define STR_QUERY_UNDO_MOVETABWIN           RID_STR_QRY_START + 2
 #define STR_QUERY_UNDO_SIZETABWIN           RID_STR_QRY_START + 3
 #define STR_QUERY_UNDO_INSERTCONNECTION     RID_STR_QRY_START + 4
diff --git a/dbaccess/source/ui/inc/dbu_resource.hrc b/dbaccess/source/ui/inc/dbu_resource.hrc
index 41da16e..6364b23 100644
--- a/dbaccess/source/ui/inc/dbu_resource.hrc
+++ b/dbaccess/source/ui/inc/dbu_resource.hrc
@@ -79,7 +79,6 @@
 
 #define DLG_DATABASE_ADMINISTRATION     RID_DIALOG_START +  0
 #define DLG_DBASE_INDEXES               RID_DIALOG_START +  1
-#define DLG_SQLMESSAGE                  RID_DIALOG_START +  2
 #define DLG_SQLEXCEPTIONCHAIN           RID_DIALOG_START +  3
 #define DLG_DATASOURCE_SELECTION        RID_DIALOG_START +  4
 #define DLG_PARAMETERS                  RID_DIALOG_START +  5
@@ -119,7 +118,6 @@
     // FREE
 #define PAGE_CONNECTION                 RID_PAGE_START +  6
 #define PAGE_ADO                        RID_PAGE_START +  7
-#define PAGE_QUERYADMINISTRATION        RID_PAGE_START +  8
 #define TAB_WIZ_COLUMN_SELECT           RID_PAGE_START +  9
 #define TAB_WIZ_TYPE_SELECT             RID_PAGE_START + 10
 #define TAB_WIZ_NAME_MATCHING           RID_PAGE_START + 11
@@ -139,17 +137,14 @@
 #define PAGE_TABLESUBSCRIPTION          RID_PAGE_START + 28
     // FREE
 #define PAGE_MOZILLA                    RID_PAGE_START + 32
-#define PAGE_DS_ORACLE_ADVANCED_SETTINGS RID_PAGE_START + 33
 
 
-#define PAGE_DBWIZARD_INTRO                     RID_PAGE_START + 40
 #define PAGE_DBWIZARD_DBASE                     RID_PAGE_START + 41
 #define PAGE_DBWIZARD_TEXT                      RID_PAGE_START + 42
 #define PAGE_DBWIZARD_MSACCESS                  RID_PAGE_START + 43
 #define PAGE_DBWIZARD_LDAP                      RID_PAGE_START + 44
     // FREE
 #define PAGE_DBWIZARD_MYSQL_INTRO               RID_PAGE_START + 46
-#define PAGE_DBWIZARD_MYSQL_ODBC                RID_PAGE_START + 47
 #define PAGE_DBWIZARD_ORACLE                    RID_PAGE_START + 48
 #define PAGE_DBWIZARD_JDBC                      RID_PAGE_START + 49
 #define PAGE_DBWIZARD_ADO                       RID_PAGE_START + 50
@@ -164,8 +159,6 @@
 //========================================================================
 // error boxes
 
-#define ERR_NOREGISTEREDDATASOURCES     RID_ERRORBOX_START +  0
-// free
 #define ERR_QRY_CRITERIA_ON_ASTERISK    RID_ERRORBOX_START +  2
 #define ERR_QRY_ORDERBY_ON_ASTERISK     RID_ERRORBOX_START +  3
 #define ERR_QRY_AMB_FIELD               RID_ERRORBOX_START +  4
@@ -175,7 +168,6 @@
 #define ERR_NEED_INDEX_FIELDS           RID_ERRORBOX_START +  8
 #define ERR_QRY_NOSTATEMENT             RID_ERRORBOX_START +  9
 #define ERR_QRY_NOCRITERIA              RID_ERRORBOX_START + 10
-#define ERR_CANTDOTABLEACTION           RID_ERRORBOX_START + 11
 
 
 
@@ -212,8 +204,6 @@
 // free
 #define IMG_PKEYICON                    RID_IMAGE_START + 12
 // free
-#define IMG_DATABASE_CONNECTED          RID_IMAGE_START + 15
-// free
 #define REPORTFOLDER_TREE_ICON          RID_IMAGE_START + 24
 #define IMG_FORMFOLDER_TREE_L           RID_IMAGE_START + 39
 #define IMG_REPORTFOLDER_TREE_L         RID_IMAGE_START + 40
@@ -232,19 +222,13 @@
 #define IMG_JOINS                       RID_IMAGELIST_START +  0
 #define IMG_INDEX_DLG_SC                RID_IMAGELIST_START +  1
 #define IMG_INDEX_DLG_LC                RID_IMAGELIST_START +  3
-#define IMP_FORM_SC                     RID_IMAGELIST_START +  5
-#define IMP_FORM_LC                     RID_IMAGELIST_START +  7
-#define IMP_REPORT_SC                   RID_IMAGELIST_START +  9
-#define IMP_REPORT_LC                   RID_IMAGELIST_START + 11
 
 //========================================================================
 // menus
 
 #define MENU_TABLETREE_POPUP            RID_MENU_START +  0
-#define MENU_DATASOURCELIST_POPUP       RID_MENU_START +  1
 #define RID_SBA_GRID_COLCTXMENU         RID_MENU_START +  2
 #define RID_SBA_GRID_ROWCTXMENU         RID_MENU_START +  3
-#define MENU_BROWSERTREE_CONTEXT        RID_MENU_START +  4
 #define RID_QUERYCOLPOPUPMENU           RID_MENU_START +  5
 #define RID_QUERYFUNCTION_POPUPMENU     RID_MENU_START +  6
 #define RID_TABLEDESIGNROWPOPUPMENU     RID_MENU_START +  7
@@ -314,21 +298,13 @@
 
 #define RSC_CHARSETS                    RID_UNTYPED_START +  2
 #define RSC_QUERY_OBJECT_TYPE           RID_UNTYPED_START +  4
-#define IMG_TABLESUBCRIPTION_SC         RID_UNTYPED_START +  5
-#define IMG_TABLESUBCRIPTION_LC         RID_UNTYPED_START +  7
-#define IMG_QUERYADMINISTRATION_SC      RID_UNTYPED_START +  9
-#define IMG_QUERYADMINISTRATION_LC      RID_UNTYPED_START + 11
-#define IMG_DOCUMENTLINKS_SC            RID_UNTYPED_START + 13
-#define IMG_DOCUMENTLINKS_LC            RID_UNTYPED_START + 15
 
 //========================================================================
 // various
 
 #define PB_FORMAT                       RID_MISC_START +  0
-#define FIXED_NO_CONNECTION             RID_MISC_START +  1
 #define LB_LEFT_TABLE                   RID_MISC_START +  2
 #define LB_RIGHT_TABLE                  RID_MISC_START +  3
-#define LB_CONTROL                      RID_MISC_START +  4
 #define FL_INVOLVED_TABLES              RID_MISC_START +  5
 #define FL_INVOLVED_FIELDS              RID_MISC_START +  6
 
diff --git a/dbaccess/source/ui/inc/sbagrid.hrc b/dbaccess/source/ui/inc/sbagrid.hrc
index fb7f8f9..7589af5 100644
--- a/dbaccess/source/ui/inc/sbagrid.hrc
+++ b/dbaccess/source/ui/inc/sbagrid.hrc
@@ -22,20 +22,7 @@
 //----------------Menueitems-------------------------------------------------
 // Tabelle
 #define SBA_WHICHID_START       100
-// Zeilenhoehe
-#define SBA_DEF_ROWHEIGHT       (SBA_WHICHID_START+131) // SbaColRowSizeItem
 
-#define SBA_DEF_RANGEFONT       (SBA_WHICHID_START+132) // RangeItem
-#define SBA_DEF_FONT            (SBA_WHICHID_START+133) // SvxFontItem
-#define SBA_DEF_FONTHEIGHT      (SBA_WHICHID_START+134) // SvxFontHeightItem
-#define SBA_DEF_FONTCOLOR       (SBA_WHICHID_START+135) // SvxColorItem
-#define SBA_DEF_FONTWEIGHT      (SBA_WHICHID_START+136) // SvxWeightItem
-#define SBA_DEF_POSTURE         (SBA_WHICHID_START+137) // SvxPostureItem
-#define SBA_DEF_SHADOWED        (SBA_WHICHID_START+138) // SvxShadowedItem
-#define SBA_DEF_CONTOUR         (SBA_WHICHID_START+139) // SvxContourItem
-#define SBA_DEF_CROSSEDOUT      (SBA_WHICHID_START+140) // SvxCrossedOutItem
-#define SBA_DEF_UNDERLINE       (SBA_WHICHID_START+141) // SvxUnderlineItem
-#define SBA_DEF_LANGUAGE        (SBA_WHICHID_START+142) // SvxLanguageItem
 
 // Spalten
 // Formatierung
@@ -77,22 +64,5 @@
 #define SBA_DEF_FLTTABLE            (SBA_WHICHID_START + 151) // SfxStringItem
 // Spalte ausblenden
 #define SBA_DEF_FLTHIDE             (SBA_WHICHID_START + 152) // SfxBoolItem
-// Kommentar zum Feld
-#define SBA_DEF_FLTCOMMENT          (SBA_WHICHID_START + 153) // SfxStringItem
-// default wert
-#define SBA_DEF_FLTDEFAULT          (SBA_WHICHID_START + 154) // SfxStringItem
-// Primärschluessel
-#define SBA_DEF_FLTPRIMARY          (SBA_WHICHID_START + 155) // SfxBoolItem
-// table properties
-#define SBA_DEF_TABLEPROP           (SBA_WHICHID_START + 156) // SfxString
-#define SBA_DEF_SORT                (SBA_WHICHID_START + 157) // SfxString
-#define SBA_DEF_FILTER              (SBA_WHICHID_START + 158) // SfxString
-#define SBA_DEF_FILTERAPPLIED       (SBA_WHICHID_START + 159) // SfxBool
-#define SBA_DEF_ROWHEIGHT_DEFAULT   (SBA_WHICHID_START + 160) // SfxBool
-// the col has a default width ?
-#define SBA_DEF_FLTCOLWIDTH_DEFAULT (SBA_WHICHID_START + 161) // SfxBool
-#define SBA_DEF_WORDLINEMODE        (SBA_WHICHID_START + 162) // SfxBool
-
-
 
 #endif // DBACCESS_SBA_GRID_HRC
diff --git a/dbaccess/source/ui/querydesign/querydlg.hrc b/dbaccess/source/ui/querydesign/querydlg.hrc
index 110655b..b0ad679 100644
--- a/dbaccess/source/ui/querydesign/querydlg.hrc
+++ b/dbaccess/source/ui/querydesign/querydlg.hrc
@@ -28,7 +28,6 @@
 
 #define LB_JOINTYPE     1
 
-#define GB_FIELDS       1
 
 #define CB_NATURAL      1
 
diff --git a/desktop/source/app/desktop.hrc b/desktop/source/app/desktop.hrc
index d08f879..6662fe5 100644
--- a/desktop/source/app/desktop.hrc
+++ b/desktop/source/app/desktop.hrc
@@ -49,7 +49,6 @@
 #define TXT_DLG_CMDLINEHELP_BOTTOM          (RID_DESKTOP_DIALOG_START+105)
 #define BTN_DLG_CMDLINEHELP_OK              (RID_DESKTOP_DIALOG_START+106)
 
-#define QBX_CONFIG_IMPORTSETTINGS           (RID_DESKTOP_DIALOG_START+180)
 
 #define EBX_ERR_PRINTDISABLED               (RID_DESKTOP_DIALOG_START+190)
 
diff --git a/desktop/source/deployment/gui/dp_gui.hrc b/desktop/source/deployment/gui/dp_gui.hrc
index ba03872..4d4763d 100644
--- a/desktop/source/deployment/gui/dp_gui.hrc
+++ b/desktop/source/deployment/gui/dp_gui.hrc
@@ -161,7 +161,6 @@
 #define RID_STR_ERROR_MISSING_LICENSE          (RID_DEPLOYMENT_GUI_START+97)
 #define RID_STR_SHOW_LICENSE_CMD               (RID_DEPLOYMENT_GUI_START+98)
 
-#define WARNINGBOX_CONCURRENTINSTANCE          (RID_DEPLOYMENT_GUI_START+100)
 
 #define RID_STR_UNSUPPORTED_PLATFORM            (RID_DEPLOYMENT_GUI_START+101)
 #define RID_WARNINGBOX_UPDATE_SHARED_EXTENSION  (RID_DEPLOYMENT_GUI_START+102)
diff --git a/desktop/source/inc/helpid.hrc b/desktop/source/inc/helpid.hrc
index d96b121..182f308 100644
--- a/desktop/source/inc/helpid.hrc
+++ b/desktop/source/inc/helpid.hrc
@@ -59,7 +59,6 @@
 #define HID_EXTENSION_MANAGER_LISTBOX_DISABLE              "DESKTOP_HID_EXTENSION_MANAGER_LISTBOX_DISABLE"
 #define HID_EXTENSION_MANAGER_LISTBOX_REMOVE               "DESKTOP_HID_EXTENSION_MANAGER_LISTBOX_REMOVE"
 
-#define HID_EXTENSION_DEPENDENCIES                         "DESKTOP_HID_EXTENSION_DEPENDENCIES"
 
 #define HID_PACKAGE_MANAGER_UPD_REQ                        "DESKTOP_HID_PACKAGE_MANAGER_UPD_REQ"
 
diff --git a/editeng/inc/editeng/editids.hrc b/editeng/inc/editeng/editids.hrc
index 2fd88fc..d9d4b95 100644
--- a/editeng/inc/editeng/editids.hrc
+++ b/editeng/inc/editeng/editids.hrc
@@ -234,10 +234,6 @@
 #error Resource-Ueberlauf in #line, #file
 #endif
 
-#define SID_TEXT_ALIGNLEFT                                SID_ATTR_PARA_ADJUST_LEFT
-#define SID_TEXT_ALIGNRIGHT                               SID_ATTR_PARA_ADJUST_RIGHT
-#define SID_TEXT_ALIGNCENTER                              SID_ATTR_PARA_ADJUST_CENTER
-#define SID_TEXT_ALIGNBLOCK                               SID_ATTR_PARA_ADJUST_BLOCK
 #define SID_DRAW_TEXT_VERTICAL                            SID_ATTR_CHAR_VERTICAL
 
 #endif
diff --git a/editeng/inc/editeng/memberids.hrc b/editeng/inc/editeng/memberids.hrc
index 45e059f..159e36c 100644
--- a/editeng/inc/editeng/memberids.hrc
+++ b/editeng/inc/editeng/memberids.hrc
@@ -24,6 +24,7 @@
  * for a copy of the LGPLv3 License.
  *
  ************************************************************************/
+
 #ifndef _EDT_UNOMID_HXX
 #define _EDT_UNOMID_HXX
 
@@ -128,8 +129,6 @@
 #define MID_END_BRACKET         2
 
 //ULSpaceItem
-#define MID_UL_MARGIN       1
-#define MID_UL_REL_MARGIN   2
 #define MID_UP_MARGIN       3
 #define MID_LO_MARGIN       4
 #define MID_UP_REL_MARGIN   5
@@ -137,10 +136,6 @@
 #define MID_CTX_MARGIN      7
 
 //LRSpaceItem
-#define MID_LR_MARGIN       0
-#define MID_LRP_MARGIN      1
-#define MID_LR_REL_MARGIN   2
-#define MID_LRP_REL_MARGIN  3
 #define MID_L_MARGIN        4
 #define MID_R_MARGIN        5
 #define MID_L_REL_MARGIN    6
@@ -189,10 +184,6 @@
 #define MID_BREAK_BEFORE        0
 #define MID_BREAK_AFTER         1
 
-//SvxCaseMapItem
-#define MID_CASEMAP_VARIANT     0
-#define MID_CASEMAP_TRANS       1
-
 // SvxHorJustifyItem
 #define MID_HORJUST_HORJUST     0
 #define MID_HORJUST_ADJUST      1
diff --git a/extensions/inc/bibliography.hrc b/extensions/inc/bibliography.hrc
index 0a94f1d..6903fb7 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 2146016..52236bd 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 bd64389..681008f 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 5d146e0..d87aaa7 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 05c8192..a9ac1f3 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 2c20ad1..9eb79b3 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
 
diff --git a/filter/inc/filter.hrc b/filter/inc/filter.hrc
index 8c50b5a..9b933b1 100644
--- a/filter/inc/filter.hrc
+++ b/filter/inc/filter.hrc
@@ -43,14 +43,11 @@
 #define DLG_EXPORT_GIF                  (RID_GOODIES_START+ 1)
 #define DLG_EXPORT_EMET                 (RID_GOODIES_START+ 2)
 #define DLG_EXPORT_JPG                  (RID_GOODIES_START+ 3)
-#define DLG_IMPORT_PCD                  (RID_GOODIES_START+ 4)
 #define DLG_EXPORT_EPNG                 (RID_GOODIES_START+ 5)
 #define DLG_EXPORT_EPS                  (RID_GOODIES_START+ 8)
 #define DLG_EXPORT_EPBM                 (RID_GOODIES_START+ 9)
 #define DLG_EXPORT_EPGM                 (RID_GOODIES_START+ 10)
 #define DLG_EXPORT_EPPM                 (RID_GOODIES_START+ 11)
-#define DLG_SSL_NEWCERT                 (RID_GOODIES_START+ 12)
-#define DLG_SSL_INFCERT                 (RID_GOODIES_START+ 13)
 
 // warning, next range is RID_FILTER_START + 100 !
 
diff --git a/filter/source/graphicfilter/icgm/cgmres.hrc b/filter/source/graphicfilter/icgm/cgmres.hrc
index 420f1ff..2f58d44 100644
--- a/filter/source/graphicfilter/icgm/cgmres.hrc
+++ b/filter/source/graphicfilter/icgm/cgmres.hrc
@@ -24,5 +24,4 @@
  * for a copy of the LGPLv3 License.
  *
  ************************************************************************/
-#define MB_CGM          1
 #define MID_TEST        1
diff --git a/filter/source/pdf/impdialog.hrc b/filter/source/pdf/impdialog.hrc
index 25c46ce..547832a 100644
--- a/filter/source/pdf/impdialog.hrc
+++ b/filter/source/pdf/impdialog.hrc
@@ -95,18 +95,6 @@
 #define FT_WATERMARK                33
 #define ED_WATERMARK                34
 
-#define FL_OLD_PAGES        51
-#define RB_OLD_ALL          52
-#define RB_OLD_RANGE        53
-#define RB_OLD_SELECTION    54
-#define ED_OLD_PAGES        55
-#define BT_OLD_OK           56
-#define BT_OLD_CANCEL       57
-#define BT_OLD_HELP         58
-#define FL_OLD_COMPRESSION  59
-#define RB_OLD_SCREEN       60
-#define RB_OLD_PRINT        61
-#define RB_OLD_PRESS        62
 
 //controls for open options tab page
 #define FL_INITVIEW               80
diff --git a/framework/inc/framework.hrc b/framework/inc/framework.hrc
index 0c81f4a..b5ba26d 100644
--- a/framework/inc/framework.hrc
+++ b/framework/inc/framework.hrc
@@ -39,10 +39,6 @@
 
 #define DLG_FILTER_SELECT                   (RID_FWK_DIALOG_START_CORRECT + 0)
 
-#define STR_FILTER_DOWNLOAD                 (RID_FWK_START+0)
-#define STR_FILTER_CHOOSER                  (RID_FWK_START+1)
-#define STR_FILTER_OTHERS                   (RID_FWK_START+2)
-#define STR_FILTER_ZIPPED                   (RID_FWK_START+3)
 
 // ResIds for BackingWindow
 #define DLG_BACKING                         (RID_FWK_DIALOG_START_CORRECT+100)
diff --git a/reportdesign/inc/rptui_slotid.hrc b/reportdesign/inc/rptui_slotid.hrc
index 18ab6d5..52d3eae 100644
--- a/reportdesign/inc/rptui_slotid.hrc
+++ b/reportdesign/inc/rptui_slotid.hrc
@@ -184,7 +184,6 @@
 #define SID_ARRANGEMENU                         ( SID_RPTUI_START +  148 )
 #define SID_SELECTALL_IN_SECTION                ( SID_RPTUI_START +  149 )
 
-#define SID_ICON_GROUP                          ( SID_RPTUI_START +  150 )
 #define SID_ICON_DETAIL                         ( SID_RPTUI_START +  151 )
 
 #define SID_SECTION_ALIGN                       ( SID_RPTUI_START +  152 )
diff --git a/reportdesign/source/ui/dlg/CondFormat.hrc b/reportdesign/source/ui/dlg/CondFormat.hrc
index 4709137..fe80f05 100644
--- a/reportdesign/source/ui/dlg/CondFormat.hrc
+++ b/reportdesign/source/ui/dlg/CondFormat.hrc
@@ -58,9 +58,6 @@
 #define FL_SEPARATOR1               12
 #define ED_CONDITION_RHS            13
 #define CT_CONDITION                14
-#define CT_DEFAULT                  15
-#define CT_CONDITION_1              16
-#define CT_CONDITION_2              17
 #define SB_ALL_CONDITIONS           18
 #define WND_COND_PLAYGROUND         19
 #define BTN_MOVE_UP                 20
diff --git a/sc/inc/globstr.hrc b/sc/inc/globstr.hrc
index b02d250..e1bfc10 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 6142f10..23308ea 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 c44e34f..dcaad2c 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 244be15..2517f0f 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 bdb1ea9..a453388 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 420e0fa..2745ebb 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 34ccbfc..1a998cb 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 4e5ad6d..2169061 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 0c26340..0a2f364 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
diff --git a/sd/inc/app.hrc b/sd/inc/app.hrc
index 00880e6..07c8d60 100644
--- a/sd/inc/app.hrc
+++ b/sd/inc/app.hrc
@@ -76,27 +76,21 @@
 #define SHELLID_SD_TASK_PANE_PREVIEW_ALL        (HID_SD_START + 176)
 #define SHELLID_SD_TASK_PANE_PREVIEW_LAYOUTS    (HID_SD_START + 177)
 
-#define SID_BACKGROUND                      (SID_SD_START)
-#define SID_LASTVERSION                     (SID_SD_START+1)
 #define SID_PAGESETUP                       (SID_SD_START+2)
 #define SID_COPYOBJECTS                     (SID_SD_START+4)
 #define SID_MANAGE_LINKS                    (SID_SD_START+5)
-#define SID_CHOOSE                          (SID_SD_START+7)
 #define SID_CONVERT_TO_3D_LATHE             (SID_SD_START+8)
 #define SID_DRAWINGMODE                     (SID_SD_START+9)
 #define SID_OUTLINEMODE                     (SID_SD_START+10)
 #define SID_DIAMODE                         (SID_SD_START+11)
-#define SID_VIEWS                           (SID_SD_START+13)
 #define SID_INSERTPAGE                      (SID_SD_START+14)
 #define SID_INSERTFILE                      (SID_SD_START+15)
 #define SID_INSERTSYMBOL                    (SID_SD_START+16)
 #define SID_ZOOM_PANNING                    (SID_SD_START+17)
 #define SID_PRESENTATION_END                (SID_SD_START+18)
-#define SID_TEXTFORMAT                      (SID_SD_START+20)
 #define SID_POSITION                        (SID_SD_START+22)
 #define SID_MIRROR                          (SID_SD_START+23)
 #define SID_CONVERT                         (SID_SD_START+24)
-#define SID_TEXT_FITTOTEXT                  (SID_SD_START+25)
 #define SID_COMBINE                         (SID_SD_START+26)
 #define SID_NAME_GROUP                      (SID_SD_START+27)
 #define SID_DRAWTBX_CONNECTORS              (SID_SD_START+28)
@@ -113,9 +107,7 @@
 #define SID_CHANGEBEZIER                    (SID_SD_START+36)
 #define SID_CHANGEPOLYGON                   (SID_SD_START+37)
 #define SID_CAPTUREPOINT                    (SID_SD_START+38)
-#define SID_EXECUTE_MACRO                   (SID_SD_START+39)
 #define SID_RULER                           (SID_SD_START+40)
-#define SID_HELPKEYBOARD                    (SID_SD_START+42)
 #define SID_INSERTLAYER                     (SID_SD_START+43)
 #define SID_EDIT_OUTLINER                   (SID_SD_START+44)
 #define SID_SWITCHPAGE                      (SID_SD_START+45)
@@ -128,7 +120,6 @@
 #define SID_STARTAPP                        (SID_SD_START+52)
 #define SID_MASTERPAGE                      (SID_SD_START+53)
 #define SID_TOOL_CONNECTOR                  (SID_SD_START+58)
-#define SID_ANIMATION                       (SID_SD_START+61)
 #define SID_ANIMATION_OBJECTS               (SID_SD_START+62)
 #define SID_ANIMATION_EFFECTS               (SID_SD_START+63)
 #define SID_PRESENTATION_LAYOUT             (SID_SD_START+64)
@@ -139,19 +130,13 @@
 #define SID_NOTESMODE                       (SID_SD_START+69)
 #define SID_HANDOUTMODE                     (SID_SD_START+70)
 #define SID_LINEEND_POLYGON                 (SID_SD_START+71)
-#define SID_OBJPALETTE_SELECT               (SID_SD_START+72)
 #define SID_GRAPHIC_EXPORT                  (SID_SD_START+73)
 #define SID_SWITCH_POINTEDIT                (SID_SD_START+74)
-#define SID_RULER_NULLOFFSET                (SID_SD_START+75)
 #define SID_TEXTEDIT                        (SID_SD_START+76)
 #define SID_SET_SNAPITEM                    (SID_SD_START+77)
-#define SID_PRINT_PREVIEW                   (SID_SD_START+78)
-#define SID_SEARCH_REPLACE                  (SID_SD_START+79)
 #define SID_DELETE_PAGE                     (SID_SD_START+80)
 #define SID_DELETE_LAYER                    (SID_SD_START+81)
 #define SID_DISMANTLE                       (SID_SD_START+82)
-#define SID_SD_HELP_PI                      (SID_SD_START+83)
-#define SID_TIPHELP                         (SID_SD_START+84)
 #define SID_STATUS_PAGE                     (SID_SD_START+86)
 #define SID_STATUS_LAYOUT                   (SID_SD_START+87)
 #define SID_STATUS_SELMODE                  (SID_SD_START+88)
@@ -168,9 +153,6 @@
 #define SID_SIZE_OPTIMAL                    (SID_SD_START+99)
 #define SID_OBJECT_TRANSPARENCE             (SID_SD_START+100)
 #define SID_OBJECT_GRADIENT                 (SID_SD_START+101)
-#define SID_OBJPALETTE_ADD                  (SID_SD_START+102)
-#define SID_OBJPALETTE_MODIFY               (SID_SD_START+103)
-#define SID_OBJPALETTE_OBJECTS              (SID_SD_START+104)
 #define SID_INSERT_IMAGE                    (SID_SD_START+105)
 #define SID_INSERT_MATH                     (SID_SD_START+106)
 #define SID_OBJECT_SHEAR                    (SID_SD_START+107)
@@ -184,7 +166,6 @@
 #define SID_CLEAR_UNDO_STACK                (SID_SD_START+115)
 #define SID_BEHIND_OBJ                      (SID_SD_START+116)
 #define SID_REVERSE_ORDER                   (SID_SD_START+117)
-#define SID_SDOPTIONS                       (SID_SD_START+118)
 
 #define SID_CONNECTOR_ARROW_START           (SID_SD_START+119)
 #define SID_CONNECTOR_ARROW_END             (SID_SD_START+120)
@@ -224,7 +205,6 @@
 #define SID_SNAP_POINTS                     (SID_SD_START+157)
 #define SID_QUICKEDIT                       (SID_SD_START+158)
 #define SID_PICK_THROUGH                    (SID_SD_START+159)
-#define SID_COLORRESOLUTION                 (SID_SD_START+160)
 #define SID_CONVERT_TO_1BIT_THRESHOLD       (SID_SD_START+161)
 #define SID_CONVERT_TO_1BIT_MATRIX          (SID_SD_START+162)
 #define SID_CONVERT_TO_4BIT_GRAYS           (SID_SD_START+163)
@@ -267,7 +247,6 @@
 #define ID_VAL_ISACTIVE                     (SID_SD_START+216)
 #define ID_VAL_WHATKIND                     (SID_SD_START+217)
 #define ID_VAL_PAGEWIDTH                    (SID_SD_START+218)
-#define ID_VAL_PAGEMARGIN                   (SID_SD_START+219)
 #define ID_VAL_PAGETOP                      (SID_SD_START+220)
 #define ID_VAL_PAGEBOTTOM                   (SID_SD_START+221)
 #define ID_VAL_PAGELEFT                     (SID_SD_START+222)
@@ -296,7 +275,6 @@
 #define ID_VAL_DISTANCE                     (SID_SD_START+245)
 #define ID_VAL_INDEX                        (SID_SD_START+246)
 #define ID_VAL_WIDTH                        (SID_SD_START+247)
-#define ID_VAL_HEIGHT                       (SID_SD_START+248)
 #define ID_VAL_PANEL_INDEX                  (SID_SD_START+249)
 
 // nur zum austesten, um nicht jedesmal APP:HRC ff. durchbuilden zu  muessen
@@ -307,9 +285,6 @@
 #define ID_VAL_DUMMY4                       (SID_SD_START+234)
 #define ID_VAL_DUMMY5                       (SID_SD_START+235)
 #define ID_VAL_DUMMY6                       (SID_SD_START+236)
-#define ID_VAL_DUMMY7                       (SID_SD_START+237)
-#define ID_VAL_DUMMY8                       (SID_SD_START+238)
-#define ID_VAL_DUMMY9                       (SID_SD_START+239)
 
 #define SID_MOVETO                          (SID_SD_START+250)
 #define SID_LINETO                          (SID_SD_START+251)
@@ -380,7 +355,6 @@
 #define SID_DRAWTBX_INSERT                  (SID_SD_START+318)
 #define SID_POLYGON_MORPHING                (SID_SD_START+319)
 #define SID_MEASURE_DLG                     (SID_SD_START+320)
-#define SID_EXPORT                          (SID_SD_START+321)
 #define SID_GRID_VISIBLE                    (SID_SD_START+322)
 #define SID_GRID_FRONT                      (SID_SD_START+323)
 #define SID_HELPLINES_VISIBLE               (SID_SD_START+324)
@@ -438,13 +412,6 @@
 
 #define SID_EDIT_HYPERLINK                  (SID_SD_START+382)
 
-#define SID_GRAFFILTER_SOBEL                (SID_SD_START+390)
-#define SID_GRAFFILTER_MOSAIC               (SID_SD_START+391)
-#define SID_GRAFFILTER_EMBOSS               (SID_SD_START+392)
-#define SID_GRAFFILTER_POSTER               (SID_SD_START+393)
-#define SID_GRAFFILTER_POPART               (SID_SD_START+394)
-#define SID_GRAFFILTER_SEPIA                (SID_SD_START+395)
-#define SID_GRAFFILTER_SOLARIZE             (SID_SD_START+396)
 
 #define SID_OUTPUT_QUALITY_CONTRAST         (SID_SD_START+400)
 #define SID_PREVIEW_QUALITY_CONTRAST        (SID_SD_START+401)
@@ -455,10 +422,7 @@
 
 #define SID_HEADER_AND_FOOTER               (SID_SD_START+407)
 #define SID_MASTER_LAYOUTS                  (SID_SD_START+408)
-/*
-#define SID_MASTER_LAYOUTS_NOTES            (SID_SD_START+409)
-#define SID_MASTER_LAYOUTS_HANDOUTS         (SID_SD_START+410)
-*/
+
 #define SID_INSERT_PAGE_NUMBER              (SID_SD_START+411)
 #define SID_INSERT_DATE_TIME                (SID_SD_START+412)
 
diff --git a/sd/inc/glob.hrc b/sd/inc/glob.hrc
index 72ded38..04df57a 100644
--- a/sd/inc/glob.hrc
+++ b/sd/inc/glob.hrc
@@ -43,13 +43,11 @@
 #define STR_PRESOBJ_CHART                       RID_GLOB_START+10
 #define STR_PRESOBJ_ORGCHART                    RID_GLOB_START+11
 #define STR_PRESOBJ_TABLE                       RID_GLOB_START+12
-#define STR_PRESOBJ_IMAGE                       RID_GLOB_START+13
 #define BMP_PRESOBJ_GRAPHIC                     RID_GLOB_START+14
 #define BMP_PRESOBJ_OBJECT                      RID_GLOB_START+15
 #define BMP_PRESOBJ_CHART                       RID_GLOB_START+16
 #define BMP_PRESOBJ_ORGCHART                    RID_GLOB_START+17
 #define BMP_PRESOBJ_TABLE                       RID_GLOB_START+18
-#define BMP_PRESOBJ_IMAGE                       RID_GLOB_START+19
 #define STR_OUTLINEVIEWSHELL                    RID_GLOB_START+21
 #define STR_DRAWVIEWSHELL                       RID_GLOB_START+22
 #define STR_TEXTOBJECTBARSHELL                  RID_GLOB_START+23
@@ -79,7 +77,6 @@
 #define STR_NOTES                               RID_GLOB_START+47
 #define STR_HANDOUT                             RID_GLOB_START+48
 #define STR_MASTERPAGE                          RID_GLOB_START+49
-#define STR_PRESOBJNOTESTEXT                    RID_GLOB_START+50
 #define STR_BAD_PASSWORD_OR_FILE_CORRUPTED      RID_GLOB_START+51
 #define STR_UNDO_MOVEPAGES                      RID_GLOB_START+52
 #define STR_NOT_ENOUGH_MEMORY                   RID_GLOB_START+53
@@ -118,8 +115,6 @@
 #define STR_LAYOUT_DEFAULT_TITLE_NAME           RID_GLOB_START+93
 #define STR_GRAFOBJECTBARSHELL                  RID_GLOB_START+94
 #define STR_POWERPOINT_IMPORT                   RID_GLOB_START+95
-#define STR_STAROFFICE_XML_DRAW                 RID_GLOB_START+96
-#define STR_STAROFFICE_XML_IMPRESS              RID_GLOB_START+97
 #define STR_PRESVIEWSHELL                       RID_GLOB_START+98
 #define STR_LOAD_DOC                            RID_GLOB_START+99
 #define STR_SAVE_DOC                            RID_GLOB_START+100
@@ -136,7 +131,6 @@
 #define STR_SLIDE_NAME                          RID_GLOB_START+112
 #define STR_LEFT_IMPRESS_PANE_SHELL             RID_GLOB_START+113
 #define STR_LEFT_DRAW_PANE_SHELL                RID_GLOB_START+114
-#define STR_RIGHT_PANE_SHELL                    RID_GLOB_START+115
 #define STR_TOOL_PANEL_SHELL                    RID_GLOB_START+116
 
 #define RID_CUSTOMANIMATION_START               RID_GLOB_START+120
diff --git a/sd/inc/sdattr.hrc b/sd/inc/sdattr.hrc
index 29ef8f1..3dc75f8 100644
--- a/sd/inc/sdattr.hrc
+++ b/sd/inc/sdattr.hrc
@@ -34,8 +34,6 @@
 
 // Anfang Page-Attribute
 #define ATTR_PAGE_START         SID_SD_START + 1234
-#define ATTR_PAGE_NAME          ATTR_PAGE_START
-#define ATTR_PAGE_BACKGROUND    ATTR_PAGE_START + 1
 #define ATTR_PAGE_OBJECTS       ATTR_PAGE_START + 2
 #define ATTR_PAGE_LAYOUT        ATTR_PAGE_START + 3
 #define ATTR_PAGE_END           ATTR_PAGE_LAYOUT
@@ -57,7 +55,6 @@
 #define ATTR_DIA_SPEED          ATTR_DIA_START + 1
 #define ATTR_DIA_AUTO           ATTR_DIA_START + 2
 #define ATTR_DIA_TIME           ATTR_DIA_START + 3
-#define ATTR_DIA_SOUND          ATTR_DIA_START + 4
 #define ATTR_DIA_SOUNDFILE      ATTR_DIA_START + 5
 #define ATTR_DIA_END            ATTR_DIA_SOUNDFILE
 
@@ -83,39 +80,16 @@
 
 // Transformations-Attribute
 #define ATTR_TRANSF_START       ATTR_PRESENT_END + 1
-#define ATTR_TRANSF_POS_X       ATTR_TRANSF_START
-#define ATTR_TRANSF_POS_Y       ATTR_TRANSF_START + 1
-#define ATTR_TRANSF_WIDTH       ATTR_TRANSF_START + 2
-#define ATTR_TRANSF_HEIGHT      ATTR_TRANSF_START + 3
-#define ATTR_TRANSF_SIZE_POINT  ATTR_TRANSF_START + 4
-#define ATTR_TRANSF_ROT_X       ATTR_TRANSF_START + 5
-#define ATTR_TRANSF_ROT_Y       ATTR_TRANSF_START + 6
 #define ATTR_TRANSF_ANGLE       ATTR_TRANSF_START + 7
 #define ATTR_TRANSF_END         ATTR_TRANSF_ANGLE
 
 // Raster-Attribute
 #define ATTR_GRID_START         ATTR_TRANSF_END + 1
-#define ATTR_GRID_USE           ATTR_GRID_START
-#define ATTR_GRID_DRAW_X        ATTR_GRID_START + 1
-#define ATTR_GRID_DRAW_Y        ATTR_GRID_START + 2
-#define ATTR_GRID_DIVISION_X    ATTR_GRID_START + 3
-#define ATTR_GRID_DIVISION_Y    ATTR_GRID_START + 4
-#define ATTR_GRID_SNAP_X        ATTR_GRID_START + 5
-#define ATTR_GRID_SNAP_Y        ATTR_GRID_START + 6
-#define ATTR_GRID_ORIGIN_X      ATTR_GRID_START + 7
 #define ATTR_GRID_ORIGIN_Y      ATTR_GRID_START + 8
 #define ATTR_GRID_END           ATTR_GRID_ORIGIN_Y
 
 // Bildschirm-Attribute
 #define ATTR_DISPLAY_START              ATTR_GRID_END + 1
-#define ATTR_DISPLAY_FUNCTIONBAR        ATTR_DISPLAY_START
-#define ATTR_DISPLAY_OBJECTBAR          ATTR_DISPLAY_START + 1
-#define ATTR_DISPLAY_STATUSBAR          ATTR_DISPLAY_START + 2
-#define ATTR_DISPLAY_TOOLBAR            ATTR_DISPLAY_START + 3
-#define ATTR_DISPLAY_GRID               ATTR_DISPLAY_START + 4
-#define ATTR_DISPLAY_RULER              ATTR_DISPLAY_START + 5
-#define ATTR_DISPLAY_HELPLINES          ATTR_DISPLAY_START + 6
-#define ATTR_DISPLAY_STRANGE_GRAPHIC    ATTR_DISPLAY_START + 7
 #define ATTR_DISPLAY_ADJUSTLINES        ATTR_DISPLAY_START + 8
 #define ATTR_DISPLAY_END                ATTR_DISPLAY_ADJUSTLINES
 
@@ -132,7 +106,6 @@
 #define ATTR_ANIMATION_SOUNDON          ATTR_ANIMATION_START + 6
 #define ATTR_ANIMATION_SOUNDFILE        ATTR_ANIMATION_START + 7
 #define ATTR_ANIMATION_PLAYFULL         ATTR_ANIMATION_START + 8
-#define ATTR_ANIMATION_TRANSPCOLOR      ATTR_ANIMATION_START + 9
 #define ATTR_ANIMATION_TEXTEFFECT       ATTR_ANIMATION_START + 10
 #define ATTR_ANIMATION_END              ATTR_ANIMATION_TEXTEFFECT
 
@@ -146,11 +119,6 @@
 #define ATTR_ACTION_END                 ATTR_ACTION_PLAYFULL
 
 #define ATTR_PRINTOPTIONS_START         ATTR_ACTION_END + 1
-#define ATTR_PRINTOPTIONS_PRINT         ATTR_PRINTOPTIONS_START
-#define ATTR_PRINTOPTIONS_PAGESIZE      ATTR_PRINTOPTIONS_START + 1
-#define ATTR_PRINTOPTIONS_FADEOUT       ATTR_PRINTOPTIONS_START + 2
-#define ATTR_PRINTOPTIONS_DATE          ATTR_PRINTOPTIONS_START + 3
-#define ATTR_PRINTOPTIONS_TIME          ATTR_PRINTOPTIONS_START + 4
 #define ATTR_PRINTOPTIONS_PAGENAME      ATTR_PRINTOPTIONS_START + 5
 #define ATTR_PRINTOPTIONS_END           ATTR_PRINTOPTIONS_PAGENAME
 
@@ -188,36 +156,6 @@
 #define ATTR_OPTIONS_SCALE_END          ATTR_OPTIONS_SCALE_HEIGHT
 
 #define ATTR_PUBLISH_START              ATTR_OPTIONS_SCALE_END + 1
-#define ATTR_PUBLISH_LOCATION           ATTR_PUBLISH_START
-#define ATTR_PUBLISH_WITHCONTENTSPAGE   ATTR_PUBLISH_START + 1
-#define ATTR_PUBLISH_RESOLUTION         ATTR_PUBLISH_START + 2
-#define ATTR_PUBLISH_MODE               ATTR_PUBLISH_START + 3
-#define ATTR_PUBLISH_FORMAT             ATTR_PUBLISH_START + 4
-#define ATTR_PUBLISH_COMPRESSION        ATTR_PUBLISH_START + 5
-#define ATTR_PUBLISH_WITHNOTES          ATTR_PUBLISH_START + 6
-#define ATTR_PUBLISH_AUTHOR             ATTR_PUBLISH_START + 9
-#define ATTR_PUBLISH_EMAIL              ATTR_PUBLISH_START + 10
-#define ATTR_PUBLISH_WWW                ATTR_PUBLISH_START + 11
-#define ATTR_PUBLISH_INFO               ATTR_PUBLISH_START + 12
-#define ATTR_PUBLISH_WITHDOWNLOAD       ATTR_PUBLISH_START + 13
-#define ATTR_PUBLISH_WITHSTAROFFICE     ATTR_PUBLISH_START + 14
-#define ATTR_PUBLISH_BUTTONS            ATTR_PUBLISH_START + 15
-#define ATTR_PUBLISH_USERATTR           ATTR_PUBLISH_START + 16
-#define ATTR_PUBLISH_BACKCOLOR          ATTR_PUBLISH_START + 17
-#define ATTR_PUBLISH_TEXTCOLOR          ATTR_PUBLISH_START + 18
-#define ATTR_PUBLISH_LINKCOLOR          ATTR_PUBLISH_START + 19
-#define ATTR_PUBLISH_VLINKCOLOR         ATTR_PUBLISH_START + 20
-#define ATTR_PUBLISH_ALINKCOLOR         ATTR_PUBLISH_START + 21
-#define ATTR_PUBLISH_USEATTRIBS         ATTR_PUBLISH_START + 22
-#define ATTR_PUBLISH_USECOLOR           ATTR_PUBLISH_START + 23
-#define ATTR_PUBLISH_WEBSHOW            ATTR_PUBLISH_START + 24
-#define ATTR_PUBLISH_SCRIPT             ATTR_PUBLISH_START + 25
-#define ATTR_PUBLISH_URLPATH            ATTR_PUBLISH_START + 26
-#define ATTR_PUBLISH_CGIPATH            ATTR_PUBLISH_START + 27
-#define ATTR_PUBLISH_INDEX              ATTR_PUBLISH_START + 28
-#define ATTR_PUBLISH_SLIDECHG           ATTR_PUBLISH_START + 29
-#define ATTR_PUBLISH_SLIDEDURATION      ATTR_PUBLISH_START + 30
-#define ATTR_PUBLISH_ENDLESS            ATTR_PUBLISH_START + 31
 #define ATTR_PUBLISH_SLIDESOUND         ATTR_PUBLISH_START + 32
 #define ATTR_PUBLISH_END                ATTR_PUBLISH_SLIDESOUND
 
@@ -230,11 +168,8 @@
 
 // Pack & Go Attribute
 #define ATTR_PACKNGO_START              ATTR_PRESLAYOUT_END + 1
-#define ATTR_PACKNGO_UNLINK             ATTR_PACKNGO_START
-#define ATTR_PACKNGO_COMPRESS           ATTR_PACKNGO_START + 1
-#define ATTR_PACKNGO_SPANNING           ATTR_PACKNGO_START + 2
 #define ATTR_PACKNGO_MEDIUMSIZE         ATTR_PACKNGO_START + 3
-#define ATTR_PACKNGO_END                ATTR_PACKNGO_MEDIUMSIZE
+//      ATTR_PACKNGO_END                ATTR_PACKNGO_MEDIUMSIZE
 
 // paragraph numbering attributes
 #define ATTR_PARANUMBERING_START        ATTR_PACKNGO_MEDIUMSIZE + 1
diff --git a/sd/inc/sduiks.hrc b/sd/inc/sduiks.hrc
index 6904cc2..366c606 100644
--- a/sd/inc/sduiks.hrc
+++ b/sd/inc/sduiks.hrc
@@ -29,30 +29,6 @@
 
 #include <usr/uiks.hrc>
 
-#define SD_UIK_SHAPE_FACTORY                UIK_DRAWING(00)
-#define SD_UIK_POLYGON_FACTORY              UIK_DRAWING(01)
-#define SD_UIK_3D_SHAPE_FACTORY             UIK_DRAWING(02)
-#define SD_UIK_TEXT_FACTORY                 UIK_DRAWING(03)
-#define SD_UIK_SNAP_FACTORY                 UIK_DRAWING(04)
-
-#define SD_UIK_DRAW_PAGES                   UIK_DRAWING(10)
-#define SD_UIK_DRAW_PAGE_MANIPULATOR        UIK_DRAWING(11)
-
-#define SD_UIK_SHAPE                        UIK_DRAWING(20)
-#define SD_UIK_CONNECTOR                    UIK_DRAWING(21)
-#define SD_UIK_CONNECTABLE                  UIK_DRAWING(22)
-#define SD_UIK_SHAPE_3D                     UIK_DRAWING(23)
-#define SD_UIK_SHAPE_GROUP                  UIK_DRAWING(24)
-#define SD_UIK_SHAPE_MIRRORER               UIK_DRAWING(25)
-#define SD_UIK_SHAPE_ALIGNER                UIK_DRAWING(26)
-#define SD_UIK_SHAPE_ARRANGER               UIK_DRAWING(27)
-#define SD_UIK_SHAPE_CONVERTER              UIK_DRAWING(28)
-#define SD_UIK_ANIMATOR                     UIK_DRAWING(29)
-
-#define SD_UIK_DRAW_PAGE                    UIK_DRAWING(30)
-#define SD_UIK_SHAPES                       UIK_DRAWING(31)
-#define SD_UIK_GROUP                        UIK_DRAWING(32)
-#define SD_UIK_COMBINE                      UIK_DRAWING(33)
 #define SD_UIK_CONNECT                      UIK_DRAWING(34)
 #define SD_UIK_CONNECT                      UIK_DRAWING(35)
 
diff --git a/sd/source/ui/animations/CustomAnimation.hrc b/sd/source/ui/animations/CustomAnimation.hrc
index d5406de..d698f69 100644
--- a/sd/source/ui/animations/CustomAnimation.hrc
+++ b/sd/source/ui/animations/CustomAnimation.hrc
@@ -39,7 +39,6 @@
 #define DLG_CUSTOMANIMATION_CREATE                      RID_CUSTOMANIMATION_START+2
 #define DLG_SLIDE_TRANSITION_PANE                       RID_CUSTOMANIMATION_START+3
 #define DLG_CUSTOMANIMATION_SCHEMES_PANE                RID_CUSTOMANIMATION_START+4
-#define DLG_ANIMATION_SCHEMES_PANE                      RID_CUSTOMANIMATION_START+5
 
 #define RID_EFFECT_CONTEXTMENU                          RID_CUSTOMANIMATION_START+0
 #define RID_TP_CUSTOMANIMATION_EFFECT                   RID_CUSTOMANIMATION_START+1
diff --git a/sd/source/ui/animations/CustomAnimationDialog.hrc b/sd/source/ui/animations/CustomAnimationDialog.hrc
index a789554..544e5df 100644
--- a/sd/source/ui/animations/CustomAnimationDialog.hrc
+++ b/sd/source/ui/animations/CustomAnimationDialog.hrc
@@ -59,7 +59,6 @@
 #define RB_STOP_ON_NEXT_SLIDE       28
 #define RB_STOP_AFTER_N_SLIDES      29
 #define MF_STOP_AFTER_SLIDES        30
-#define TP_CUSTOMANIMATION_EFFECT_COUNT 31
 
 // TabPage RID_TP_CUSTOMANIMATION_DURATION
 #define FT_START                    1
@@ -75,7 +74,6 @@
 #define RB_CLICKSEQUENCE            11
 #define RB_INTERACTIVE              12
 #define LB_TRIGGER                  13
-#define TP_CUSTOMANIMATION_DURATION_COUNT 13
 
 // TabPage RID_TP_CUSTOMANIMATION_TEXT
 #define FT_GROUP_TEXT               1
@@ -84,6 +82,5 @@
 #define MF_GROUP_AUTO               4
 #define CBX_ANIMATE_FORM            5
 #define CBX_REVERSE                 6

... etc. - the rest is truncated


More information about the Libreoffice-commits mailing list