summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-04-22 06:01:23 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-04-22 13:03:17 +0200
commit40064f479bbd8d7384b753328365e8770bda4fd1 (patch)
tree634cfbab8a29d8fbe2d0a26b95407807ce9aa1c4
parent16e917643f4855125f5a872586b9841a677bb35b (diff)
clean up hrc files
and remove some unused stuff Change-Id: Iea6177c3d2f9d0668187e66155b62688ae2ecb04
-rw-r--r--cui/source/dialogs/hangulhanjadlg.hrc1
-rw-r--r--cui/source/dialogs/scriptdlg.hrc7
-rw-r--r--cui/source/dialogs/svuidlg.hrc2
-rw-r--r--dbaccess/source/ui/control/RelationControl.cxx1
-rw-r--r--dbaccess/source/ui/dlg/RelationDlg.cxx1
-rw-r--r--dbaccess/source/ui/dlg/RelationDlg.hrc44
-rw-r--r--dbaccess/source/ui/inc/RelationControl.hrc27
-rw-r--r--extensions/source/abpilot/abpresid.hrc1
-rw-r--r--reportdesign/source/ui/dlg/GroupsSorting.hrc2
-rw-r--r--sc/source/ui/dbgui/pvfundlg.hrc44
-rw-r--r--sc/source/ui/inc/dbnamdlg.hrc18
-rw-r--r--sc/source/ui/inc/miscdlgs.hrc23
-rw-r--r--sc/source/ui/inc/optdlg.hrc71
-rw-r--r--sc/source/ui/inc/optload.hrc32
-rw-r--r--sc/source/ui/optdlg/opredlin.cxx3
-rw-r--r--sc/source/ui/optdlg/tpcalc.cxx1
-rw-r--r--sc/source/ui/optdlg/tpcompatibility.cxx1
-rw-r--r--sc/source/ui/optdlg/tpdefaults.cxx1
-rw-r--r--sc/source/ui/optdlg/tpformula.cxx1
-rw-r--r--sc/source/ui/optdlg/tpprint.cxx1
-rw-r--r--sc/source/ui/optdlg/tpusrlst.cxx1
-rw-r--r--sc/source/ui/optdlg/tpview.cxx3
-rw-r--r--sd/source/ui/inc/fontwork.hrc26
-rw-r--r--sd/source/ui/inc/optdlg.hrc24
-rw-r--r--sfx2/source/dialog/dinfdlg.hrc20
-rw-r--r--sfx2/source/menu/menu.hrc4
-rw-r--r--svx/inc/gallery.hrc50
-rw-r--r--svx/source/form/fmexpl.cxx1
-rw-r--r--svx/source/form/fmexpl.src1
-rw-r--r--svx/source/form/navigatortree.cxx1
-rw-r--r--svx/source/form/navigatortreemodel.cxx1
-rw-r--r--svx/source/inc/fmexpl.hrc33
-rw-r--r--svx/source/tbxctrls/extrusioncontrols.hrc4
-rw-r--r--sw/inc/dbui.hrc5
-rw-r--r--sw/source/core/uibase/index/idxmrk.cxx1
-rw-r--r--sw/source/core/uibase/index/idxmrk.hrc26
-rw-r--r--sw/source/core/uibase/utlui/unotools.hrc7
-rw-r--r--sw/source/ui/config/optdlg.hrc51
-rw-r--r--sw/source/ui/config/optdlg.src1
-rw-r--r--sw/source/ui/config/optpage.cxx1
-rw-r--r--sw/source/ui/index/idxmrk.src1
-rw-r--r--sw/source/ui/index/swuiidxmrk.cxx1
-rw-r--r--sw/source/ui/misc/srtdlg.hrc36
-rw-r--r--uui/source/unknownauthdlg.cxx1
-rw-r--r--uui/source/unknownauthdlg.hrc58
-rw-r--r--xmlsecurity/source/dialogs/dialogs.hrc1
46 files changed, 1 insertions, 640 deletions
diff --git a/cui/source/dialogs/hangulhanjadlg.hrc b/cui/source/dialogs/hangulhanjadlg.hrc
index bcce1ef061b1..b192541ab5c4 100644
--- a/cui/source/dialogs/hangulhanjadlg.hrc
+++ b/cui/source/dialogs/hangulhanjadlg.hrc
@@ -69,7 +69,6 @@
// Hangul / Hanja Options Dialog
#define FT_USERDEFDICT 1
-#define FL_OPTIONS 2
#define BTN_OPTIONS 10
#define LB_DICTS 1
diff --git a/cui/source/dialogs/scriptdlg.hrc b/cui/source/dialogs/scriptdlg.hrc
index 89892e660730..41bcc3f980e6 100644
--- a/cui/source/dialogs/scriptdlg.hrc
+++ b/cui/source/dialogs/scriptdlg.hrc
@@ -20,16 +20,9 @@
#ifndef _SCRIPTDLG_HRC
#define _SCRIPTDLG_HRC
-#include <svl/solar.hrc>
-
-// NewObjectDialog
-#define FT_NEWLIB 10
#define STR_FT_NEWMACRO 11
#define STR_NEWLIB 12
#define STR_NEWMACRO 13
-#define ED_LIBNAME 14
-#define PB_OK 15
-#define PB_CANCEL 16
#define STR_FT_RENAME 18
#define STR_RENAME 19
diff --git a/cui/source/dialogs/svuidlg.hrc b/cui/source/dialogs/svuidlg.hrc
index a134633aceeb..aca23edfff5d 100644
--- a/cui/source/dialogs/svuidlg.hrc
+++ b/cui/source/dialogs/svuidlg.hrc
@@ -33,7 +33,6 @@
#define MD_UPDATE_BASELINKS 32002
-#define LB_LINKS 30
#define FT_FILES 31
#define FT_LINKS 32
#define FT_TYPE 33
@@ -49,7 +48,6 @@
#define RB_MANUAL 43
#define FT_FULL_SOURCE_NAME 44
#define FT_FULL_TYPE_NAME 45
-#define GB_LINK 46
#define FT_FILES2 47
#define FT_FULL_FILE_NAME 48
diff --git a/dbaccess/source/ui/control/RelationControl.cxx b/dbaccess/source/ui/control/RelationControl.cxx
index e877d505eeeb..c11deeeeaca7 100644
--- a/dbaccess/source/ui/control/RelationControl.cxx
+++ b/dbaccess/source/ui/control/RelationControl.cxx
@@ -18,7 +18,6 @@
*/
#include "RelationControl.hxx"
-#include "RelationControl.hrc"
#include <svtools/editbrowsebox.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>
diff --git a/dbaccess/source/ui/dlg/RelationDlg.cxx b/dbaccess/source/ui/dlg/RelationDlg.cxx
index 8d20092b256b..ee482d578f77 100644
--- a/dbaccess/source/ui/dlg/RelationDlg.cxx
+++ b/dbaccess/source/ui/dlg/RelationDlg.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include "RelationDlg.hrc"
#include "RelationDlg.hxx"
#include <vcl/wrkwin.hxx>
diff --git a/dbaccess/source/ui/dlg/RelationDlg.hrc b/dbaccess/source/ui/dlg/RelationDlg.hrc
deleted file mode 100644
index 08d6667acaad..000000000000
--- a/dbaccess/source/ui/dlg/RelationDlg.hrc
+++ /dev/null
@@ -1,44 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-#ifndef DBAUI_RELATIONDIALOG_HRC
-#define DBAUI_RELATIONDIALOG_HRC
-
-#include "RelationControl.hrc"
-
-#define FL_CASC_DEL 3
-#define FL_CASC_UPD 4
-
-#define RB_NO_CASC_DEL 1
-#define RB_NO_CASC_UPD 2
-#define RB_CASC_DEL 3
-#define RB_CASC_UPD 4
-#define RB_CASC_DEL_NULL 5
-#define RB_CASC_DEL_DEFAULT 6
-#define RB_CASC_UPD_NULL 7
-#define RB_CASC_UPD_DEFAULT 8
-
-#define PB_OK 1
-#define PB_CANCEL 2
-#define PB_HELP 3
-
-#define WND_CONTROL 1
-
-#endif // DBAUI_RELATIONDIALOG_HRC
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/dbaccess/source/ui/inc/RelationControl.hrc b/dbaccess/source/ui/inc/RelationControl.hrc
deleted file mode 100644
index 12365e1c0859..000000000000
--- a/dbaccess/source/ui/inc/RelationControl.hrc
+++ /dev/null
@@ -1,27 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#ifndef DBACCESS_SOURCE_UI_INC_RELATIONCONTROL_HRC
-#define DBACCESS_SOURCE_UI_INC_RELATIONCONTROL_HRC
-
-
-
-#endif // DBACCESS_SOURCE_UI_INC_RELATIONCONTROL_HRC
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/extensions/source/abpilot/abpresid.hrc b/extensions/source/abpilot/abpresid.hrc
index 028dff9f75f2..8f0d7d5a3583 100644
--- a/extensions/source/abpilot/abpresid.hrc
+++ b/extensions/source/abpilot/abpresid.hrc
@@ -131,7 +131,6 @@
#define FL_SEPARATOR 1
#define FL_TYPE 2
-#define FL_NAME 3
#define FT_TYPE_HINTS 1
diff --git a/reportdesign/source/ui/dlg/GroupsSorting.hrc b/reportdesign/source/ui/dlg/GroupsSorting.hrc
index ef881e5a4333..5ecc454b4155 100644
--- a/reportdesign/source/ui/dlg/GroupsSorting.hrc
+++ b/reportdesign/source/ui/dlg/GroupsSorting.hrc
@@ -30,8 +30,6 @@
#define FT_KEEPTOGETHER (9)
#define LST_KEEPTOGETHERLST (10)
#define PB_OK (11)
-#define PB_CANCEL (12)
-#define PB_HELP (13)
#define WND_CONTROL (14)
#define HELP_FIELD (15)
#define FT_ORDER (16)
diff --git a/sc/source/ui/dbgui/pvfundlg.hrc b/sc/source/ui/dbgui/pvfundlg.hrc
index eb5d959bf221..02dd648c91d4 100644
--- a/sc/source/ui/dbgui/pvfundlg.hrc
+++ b/sc/source/ui/dbgui/pvfundlg.hrc
@@ -22,52 +22,8 @@
#define BTN_OK 1
#define BTN_CANCEL 2
#define BTN_HELP 3
-#define BTN_MORE 4
-#define BTN_OPTIONS 5
-#define RB_NONE 1
-#define RB_AUTO 2
-#define RB_USER 3
-#define RB_SORT_ASC 4
-#define RB_SORT_DESC 5
-#define RB_SORT_MAN 6
-
-#define FL_FUNC 1
-#define FL_DISPLAY 2
-#define FL_SORT_BY 3
-#define FL_LAYOUT 4
-#define FL_AUTOSHOW 5
-#define FL_HIDE 6
-
-#define LB_FUNC 1
-#define LB_TYPE 2
-#define LB_BASEFIELD 3
-#define LB_BASEITEM 4
-#define LB_SORT_BY 5
-#define LB_LAYOUT 6
-#define LB_SHOW_FROM 7
-#define LB_SHOW_USING 8
-#define LB_HIERARCHY 9
#define LB_DIMS 10
-
-#define FT_NAMELABEL 1
-#define FT_NAME 2
-#define FT_TYPE 3
-#define FT_BASEFIELD 4
-#define FT_BASEITEM 5
-#define FT_LAYOUT 6
-#define FT_SHOW 7
-#define FT_SHOW_FROM 8
-#define FT_SHOW_USING 9
-#define FT_HIERARCHY 10
#define FT_DIMS 11
-#define CB_SHOWALL 1
-#define CB_LAYOUT_EMPTY 2
-#define CB_SHOW 3
-
-#define NF_SHOW 1
-
-#define CT_HIDE 1
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/dbnamdlg.hrc b/sc/source/ui/inc/dbnamdlg.hrc
index a2b325e0f4d0..4b02977f836c 100644
--- a/sc/source/ui/inc/dbnamdlg.hrc
+++ b/sc/source/ui/inc/dbnamdlg.hrc
@@ -19,26 +19,8 @@
#include "sc.hrc"
-#define BTN_OK 1
-#define BTN_CANCEL 2
-#define BTN_ADD 3
-#define BTN_REMOVE 4
-#define BTN_HELP 5
-#define FL_NAME 10
-#define ED_NAME 11
-#define FL_ASSIGN 12
-#define ED_DBAREA 13
-#define RB_DBAREA 14
-#define FL_OPTIONS 20
-#define BTN_HEADER 21
-#define BTN_SIZE 22
-#define BTN_FORMAT 23
-#define BTN_STRIPDATA 24
-#define FT_SOURCE 25
-#define FT_OPERATIONS 26
#define STR_ADD 30
#define STR_MODIFY 31
#define STR_DB_INVALID 32
-#define BTN_MORE 33
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/miscdlgs.hrc b/sc/source/ui/inc/miscdlgs.hrc
index aeea75bd6e4a..56f7aeeb2e91 100644
--- a/sc/source/ui/inc/miscdlgs.hrc
+++ b/sc/source/ui/inc/miscdlgs.hrc
@@ -18,32 +18,9 @@
*/
#include "sc.hrc"
- // -> RID_SCDLG_MOVETAB
- // -> RID_SCDLG_SELENTRY
- // -> RID_SCDLG_FILLSERIES
-// General
-#define BTN_OK 100
-#define BTN_CANCEL 102
-#define BTN_HELP 103
-#define BTN_MORE 104
-#define BTN_ADD 105
-#define BTN_REMOVE 106
-#define FT_LABEL 110
-#define FL_FRAME 112
#define STR_BTN_CLOSE 200
-
-// String input
-#define ED_INPUT 10
-
-// Selection from a (String-)ListBox
-#define FL_ENTRYLIST 10
-#define LB_ENTRYLIST 11
-
-// Set/Reset Grouping:
-#define BTN_GROUP_COLS 1
-#define BTN_GROUP_ROWS 3
#define STR_GROUP 1
#define STR_UNGROUP 2
diff --git a/sc/source/ui/inc/optdlg.hrc b/sc/source/ui/inc/optdlg.hrc
deleted file mode 100644
index b593ba790e16..000000000000
--- a/sc/source/ui/inc/optdlg.hrc
+++ /dev/null
@@ -1,71 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#include "sc.hrc"
-
-#define TP_GENERAL 1
-#define TP_SAVE 2
-#define TP_PATH 3
-#define TP_CALC 6
-#define TP_USERLISTS 7
-#define TP_PRINT 8
-#define TP_GRID 10
-#define TP_LAYOUT 12
-#define TP_INPUT 13
-#define TP_FORMULA 15
-
-// TP_VIEW:
-#define BTN_GRID 6
-
-#define BTN_FORMULAS 20
-#define BTN_NULLVALS 21
-#define BTN_NOTES 22
-
-// TP_LAYOUT
-#define CB_DOCONLY 5
-#define CB_MERGE_PARA_DIST 6
-#define GB_COMPAT 7
-#define CB_AUTO_UPDATE_FIELDS 8
-#define CB_AUTO_UPDATE_CHARTS 9
-
-// TP_FORMULA
-#define FL_FORMULA_OPTIONS 80
-#define FT_FORMULA_SYNTAX 81
-#define LB_FORMULA_SYNTAX 82
-#define CB_ENGLISH_FUNC_NAME 83
-#define FL_FORMULA_SEPS 84
-#define FT_FORMULA_SEP_ARG 85
-#define ED_FORMULA_SEP_ARG 86
-#define FT_FORMULA_SEP_ARRAY_R 87
-#define ED_FORMULA_SEP_ARRAY_R 88
-#define FT_FORMULA_SEP_ARRAY_C 89
-#define ED_FORMULA_SEP_ARRAY_C 90
-#define BTN_FORMULA_SEP_RESET 91
-#define FL_CUSTOM_CALC_OPTIONS 92
-#define BTN_CUSTOM_CALC_DEFAULT 93
-#define BTN_CUSTOM_CALC_CUSTOM 94
-#define BTN_CUSTOM_CALC_DETAILS 95
-#define FL_RECALC_OPTIONS 96
-#define FT_OOXML_RECALC 97
-#define LB_OOXML_RECALC 98
-#define FT_ODF_RECALC 99
-#define LB_ODF_RECALC 100
-
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/optload.hrc b/sc/source/ui/inc/optload.hrc
deleted file mode 100644
index c816099edb53..000000000000
--- a/sc/source/ui/inc/optload.hrc
+++ /dev/null
@@ -1,32 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-#include "sc.hrc"
-
-#define GB_LINK 1
-#define RB_ALWAYS 2
-#define RB_REQUEST 3
-#define RB_NEVER 4
-#define CB_DOCONLY 5
-#define CB_MERGE_PARA_DIST 6
-#define GB_COMPAT 7
-#define CB_AUTO_UPDATE_FIELDS 8
-#define CB_AUTO_UPDATE_CHARTS 9
-#define FT_UPDATE_LINKS 10
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/optdlg/opredlin.cxx b/sc/source/ui/optdlg/opredlin.cxx
index c9988b8f91be..ada6c99fb964 100644
--- a/sc/source/ui/optdlg/opredlin.cxx
+++ b/sc/source/ui/optdlg/opredlin.cxx
@@ -20,8 +20,6 @@
#undef SC_DLLIMPLEMENTATION
-
-
#include <svx/dlgutil.hxx>
#include <svx/drawitem.hxx>
#include <svx/xtable.hxx>
@@ -37,7 +35,6 @@
#include "scresid.hxx"
#include "docsh.hxx"
#include "sc.hrc"
-#include "optdlg.hrc"
#include "globstr.hrc"
#include "opredlin.hxx"
diff --git a/sc/source/ui/optdlg/tpcalc.cxx b/sc/source/ui/optdlg/tpcalc.cxx
index 71401ed06741..2bbee5a06d58 100644
--- a/sc/source/ui/optdlg/tpcalc.cxx
+++ b/sc/source/ui/optdlg/tpcalc.cxx
@@ -30,7 +30,6 @@
#include "docoptio.hxx"
#include "scresid.hxx"
#include "sc.hrc"
-#include "optdlg.hrc"
#include "tpcalc.hxx"
diff --git a/sc/source/ui/optdlg/tpcompatibility.cxx b/sc/source/ui/optdlg/tpcompatibility.cxx
index 93d75aa91dde..fabda3c40d8e 100644
--- a/sc/source/ui/optdlg/tpcompatibility.cxx
+++ b/sc/source/ui/optdlg/tpcompatibility.cxx
@@ -11,7 +11,6 @@
#include <scmod.hxx>
#include "tpcompatibility.hxx"
-#include "optdlg.hrc"
#include "scresid.hxx"
#include "appoptio.hxx"
diff --git a/sc/source/ui/optdlg/tpdefaults.cxx b/sc/source/ui/optdlg/tpdefaults.cxx
index ef0719934c77..f15531e0b9d3 100644
--- a/sc/source/ui/optdlg/tpdefaults.cxx
+++ b/sc/source/ui/optdlg/tpdefaults.cxx
@@ -11,7 +11,6 @@
#undef SC_DLLIMPLEMENTATION
#include "tpdefaults.hxx"
-#include "optdlg.hrc"
#include "scresid.hxx"
#include "scmod.hxx"
#include "defaultsoptions.hxx"
diff --git a/sc/source/ui/optdlg/tpformula.cxx b/sc/source/ui/optdlg/tpformula.cxx
index 2b79c99f370b..ebac619fd024 100644
--- a/sc/source/ui/optdlg/tpformula.cxx
+++ b/sc/source/ui/optdlg/tpformula.cxx
@@ -24,7 +24,6 @@
#include <svl/stritem.hxx>
#include "tpformula.hxx"
#include "formulaopt.hxx"
-#include "optdlg.hrc"
#include "scresid.hxx"
#include "formula/grammar.hxx"
#include "calcoptionsdlg.hxx"
diff --git a/sc/source/ui/optdlg/tpprint.cxx b/sc/source/ui/optdlg/tpprint.cxx
index 27c70d4ad663..8ad010113e14 100644
--- a/sc/source/ui/optdlg/tpprint.cxx
+++ b/sc/source/ui/optdlg/tpprint.cxx
@@ -27,7 +27,6 @@
#include "scmod.hxx"
#include "scresid.hxx"
#include "sc.hrc"
-#include "optdlg.hrc"
ScTpPrintOptions::ScTpPrintOptions( Window* pParent,
const SfxItemSet& rCoreAttrs )
diff --git a/sc/source/ui/optdlg/tpusrlst.cxx b/sc/source/ui/optdlg/tpusrlst.cxx
index da438c025a91..cd254750d459 100644
--- a/sc/source/ui/optdlg/tpusrlst.cxx
+++ b/sc/source/ui/optdlg/tpusrlst.cxx
@@ -33,7 +33,6 @@
#include "crdlg.hxx"
#include "scresid.hxx"
#include "sc.hrc"
-#include "optdlg.hrc"
#include "globstr.hrc"
#define _TPUSRLST_CXX
diff --git a/sc/source/ui/optdlg/tpview.cxx b/sc/source/ui/optdlg/tpview.cxx
index d7132592867b..e0f54d9c9186 100644
--- a/sc/source/ui/optdlg/tpview.cxx
+++ b/sc/source/ui/optdlg/tpview.cxx
@@ -20,8 +20,6 @@
#undef SC_DLLIMPLEMENTATION
-
-
#include "scitems.hxx"
#include "tpview.hxx"
#include "global.hxx"
@@ -31,7 +29,6 @@
#include "scresid.hxx"
#include "docsh.hxx"
#include "sc.hrc"
-#include "optdlg.hrc"
#include "globstr.hrc"
#include <appoptio.hxx>
#include <scmod.hxx>
diff --git a/sd/source/ui/inc/fontwork.hrc b/sd/source/ui/inc/fontwork.hrc
deleted file mode 100644
index ef4c5dbaa363..000000000000
--- a/sd/source/ui/inc/fontwork.hrc
+++ /dev/null
@@ -1,26 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-#define MTR_FLD_DISTANCE 1
-#define MTR_FLD_TEXTSTART 2
-#define FT_DISTANCE 1
-#define BTN_OK 1
-#define BTN_CANCEL 1
-#define BTN_HELP 1
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/optdlg.hrc b/sd/source/ui/inc/optdlg.hrc
deleted file mode 100644
index 6e22d9ced200..000000000000
--- a/sd/source/ui/inc/optdlg.hrc
+++ /dev/null
@@ -1,24 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-#define TP_GENERAL 1
-#define TP_SAVE 2
-#define TP_PATH 3
-#define TP_PRINT 4
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sfx2/source/dialog/dinfdlg.hrc b/sfx2/source/dialog/dinfdlg.hrc
index a2b7e5df4557..20a62311a9a3 100644
--- a/sfx2/source/dialog/dinfdlg.hrc
+++ b/sfx2/source/dialog/dinfdlg.hrc
@@ -42,26 +42,6 @@
#define RB_PROPERTY_YES 100
#define RB_PROPERTY_NO 101
-#define PB_OK 100
-#define PB_CANCEL 101
-#define PB_HELP 102
-#define CB_NEGATIVE 103
-#define FT_YEAR 104
-#define ED_YEAR 105
-#define FT_MONTH 106
-#define ED_MONTH 107
-#define FT_DAY 108
-#define ED_DAY 109
-#define FT_HOUR 110
-#define ED_HOUR 111
-#define FT_MINUTE 112
-#define ED_MINUTE 113
-#define FT_SECOND 114
-#define ED_SECOND 115
-#define FT_MSECOND 116
-#define ED_MSECOND 117
-#define FL_DURATION 118
-
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sfx2/source/menu/menu.hrc b/sfx2/source/menu/menu.hrc
index ca7683070b57..94adf5fb128c 100644
--- a/sfx2/source/menu/menu.hrc
+++ b/sfx2/source/menu/menu.hrc
@@ -22,12 +22,8 @@
#include <sfx2/sfx.hrc>
-// #defines *****************************************************************
-
#define IBX_MNUCFG_ALREADY_INCLUDED (RID_SFX_MENU_START+2)
-#define BTN_OK 1
-#define BTN_CANCEL 2
#define BTN_UP 3
#define BTN_LEFT 4
#define BTN_RIGHT 5
diff --git a/svx/inc/gallery.hrc b/svx/inc/gallery.hrc
index 1897612fecac..47cd1830ca31 100644
--- a/svx/inc/gallery.hrc
+++ b/svx/inc/gallery.hrc
@@ -75,35 +75,6 @@
#define RID_SVXBMP_GALLERY_MEDIA (RID_SVX_GALLERY_START + 71)
// lokale Defines
-#define BTN_OK 1
-#define BTN_CANCEL 1
-#define BTN_HELP 1
-
-#define FL_INFO 1
-#define FT_SIZE 1
-#define FT_DEPTH 2
-#define FT_FORMAT 4
-#define LBX_FOUND 1
-#define BTN_TAKE 5
-#define BTN_IMPORT 5
-#define BTN_PATH 1
-#define BTN_SEARCH 4
-#define CBX_PREVIEW 3
-#define FT_PATH 1
-#define FT_FILETYPE 2
-#define CBB_FILETYPE 1
-#define FL_SEARCH_DIR 1
-#define FL_SEARCH_TYPE 2
-#define FT_SEARCH_DIR 1
-#define FT_SEARCH_TYPE 2
-#define FL_TAKE_PROGRESS 1
-#define FT_TAKE_FILE 1
-#define BTN_ADD 2
-#define WND_PREVIEW 1
-#define BTN_TAKEALL 1
-#define BTN_PREVIEW 6
-#define WND_BRSPRV 1
-#define MN_ADDMENU 2
#define MN_ADD 6
#define MN_PREVIEW 10
#define MN_DELETE 12
@@ -117,27 +88,6 @@
#define MN_PROPERTIES 23
#define MN_ASSIGN_ID 24
-#define FL_ACTUALIZE_PROGRESS 1
-#define FT_ACTUALIZE_FILE 1
-#define FL_ID 1
-#define LB_RESNAME 1
-#define EDT_TITLE 20
-#define FL_TITLE 21
-
-// Gallery-TabDialog
-#define FI_MS_IMAGE 1
-#define EDT_MS_NAME 1
-#define FL_MS_GENERAL_FIRST 1
-#define FT_MS_TYPE 2
-#define FT_MS_SHOW_TYPE 3
-#define FT_MS_PATH 4
-#define FT_MS_SHOW_PATH 5
-#define FT_MS_CONTENT 6
-#define FT_MS_SHOW_CONTENT 7
-#define FL_MS_GENERAL_SECOND 2
-#define FT_MS_CHANGEDATE 10
-#define FT_MS_SHOW_CHANGEDATE 11
-
// Gallery Browser
#define GALLERY_BROWSER1 1
#define GALLERY_BROWSER2 2
diff --git a/svx/source/form/fmexpl.cxx b/svx/source/form/fmexpl.cxx
index 2e9fbed07ef0..290312ca8dd0 100644
--- a/svx/source/form/fmexpl.cxx
+++ b/svx/source/form/fmexpl.cxx
@@ -19,7 +19,6 @@
#include "svx/fmresids.hrc"
-#include "fmexpl.hrc"
#include "fmexpl.hxx"
#include "fmhelp.hrc"
diff --git a/svx/source/form/fmexpl.src b/svx/source/form/fmexpl.src
index e6b203b6d121..b171b892d3d6 100644
--- a/svx/source/form/fmexpl.src
+++ b/svx/source/form/fmexpl.src
@@ -19,7 +19,6 @@
#include <svx/svxids.hrc>
#include "svx/fmresids.hrc"
-#include "fmexpl.hrc"
#include "globlmn.hrc"
#include <svx/svxcommands.h>
#include "fmhelp.hrc"
diff --git a/svx/source/form/navigatortree.cxx b/svx/source/form/navigatortree.cxx
index 8f06ca7e69db..f1254f1cf1cd 100644
--- a/svx/source/form/navigatortree.cxx
+++ b/svx/source/form/navigatortree.cxx
@@ -25,7 +25,6 @@
#include "svx/svditer.hxx"
#include "fmhelp.hrc"
-#include "fmexpl.hrc"
#include "fmexpl.hxx"
#include "svx/fmresids.hrc"
#include "fmshimp.hxx"
diff --git a/svx/source/form/navigatortreemodel.cxx b/svx/source/form/navigatortreemodel.cxx
index 1f57c80d6e00..5f9b8cae4c5e 100644
--- a/svx/source/form/navigatortreemodel.cxx
+++ b/svx/source/form/navigatortreemodel.cxx
@@ -30,7 +30,6 @@
#include "fmundo.hxx"
#include "fmhelp.hrc"
-#include "fmexpl.hrc"
#include "fmexpl.hxx"
#include "svx/fmresids.hrc"
#include "fmshimp.hxx"
diff --git a/svx/source/inc/fmexpl.hrc b/svx/source/inc/fmexpl.hrc
deleted file mode 100644
index d208b9ffcb82..000000000000
--- a/svx/source/inc/fmexpl.hrc
+++ /dev/null
@@ -1,33 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#ifndef _SVX_FMEXPL_HRC
-#define _SVX_FMEXPL_HRC
-
-#define FT_PATH 1
-
-#define GB_PATH 1
-
-#define PB_OK 1
-#define PB_CANCEL 2
-#define PB_HELP 3
-
-#endif //_SVX_FMEXPL_HRC
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/tbxctrls/extrusioncontrols.hrc b/svx/source/tbxctrls/extrusioncontrols.hrc
index 6193ccadb2c5..96bf7e674a89 100644
--- a/svx/source/tbxctrls/extrusioncontrols.hrc
+++ b/svx/source/tbxctrls/extrusioncontrols.hrc
@@ -80,8 +80,4 @@
#define IMG_LIGHTING_NORMAL 111
#define IMG_LIGHTING_DIM 112
-#define BTN_OK 3
-#define BTN_CANCEL 4
-#define BTN_HELP 5
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/inc/dbui.hrc b/sw/inc/dbui.hrc
index fbf51ddec01f..cf91ddb9001a 100644
--- a/sw/inc/dbui.hrc
+++ b/sw/inc/dbui.hrc
@@ -74,11 +74,6 @@
#define ST_CONFIGUREMAIL (RC_DBUI_BEGIN + 32)
// Elements -----------------------------------------------------------------
-
-#define BTN_OK 2
-#define BTN_CANCEL 3
-#define BTN_HELP 4
-
#define MM_PART_TITLE 0
#define MM_PART_FIRSTNAME 1
#define MM_PART_LASTNAME 2
diff --git a/sw/source/core/uibase/index/idxmrk.cxx b/sw/source/core/uibase/index/idxmrk.cxx
index 7a717fd42939..f81f63b7ee3d 100644
--- a/sw/source/core/uibase/index/idxmrk.cxx
+++ b/sw/source/core/uibase/index/idxmrk.cxx
@@ -43,7 +43,6 @@
#include <swundo.hxx>
#include <cmdid.h>
#include <index.hrc>
-#include <idxmrk.hrc>
#include <swmodule.hxx>
#include <fldmgr.hxx>
#include <fldbas.hxx>
diff --git a/sw/source/core/uibase/index/idxmrk.hrc b/sw/source/core/uibase/index/idxmrk.hrc
deleted file mode 100644
index 2a748b70bd63..000000000000
--- a/sw/source/core/uibase/index/idxmrk.hrc
+++ /dev/null
@@ -1,26 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-#define PB_OK 22
-#define PB_CANCEL 23
-#define PB_HELP 24
-#define FL_NAME 37
-#define FT_NAME 38
-#define ED_NAME 39
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/core/uibase/utlui/unotools.hrc b/sw/source/core/uibase/utlui/unotools.hrc
index db3d7805f821..da2555a7eb97 100644
--- a/sw/source/core/uibase/utlui/unotools.hrc
+++ b/sw/source/core/uibase/utlui/unotools.hrc
@@ -19,13 +19,6 @@
#ifndef _UNOTOOLS_HRC
#define _UNOTOOLS_HRC
-#define FT_NEW_NAME 1
-#define ED_NEW_NAME 2
-#define FL_NAME 3
-#define PB_OK 4
-#define PB_HELP 5
-#define PB_CANCEL 6
-
#define ST_MENU_ZOOM 1
#define ST_MENU_UP 2
#define ST_MENU_DOWN 3
diff --git a/sw/source/ui/config/optdlg.hrc b/sw/source/ui/config/optdlg.hrc
deleted file mode 100644
index cd5f366ba474..000000000000
--- a/sw/source/ui/config/optdlg.hrc
+++ /dev/null
@@ -1,51 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#define CB_SMOOTH_SCROLL 37
-
-#define BT_OK 38
-#define BT_CANCEL 39
-#define BT_MORE 40
-
-#define CB_INDEX 44
-
-#define LB_COLOR 50
-#define BT_EDIT 55
-#define BT_NEW 56
-#define BT_DELETE 57
-// Print-Extra-Page
-#define CB_PGRF 61
-#define CB_LEFTP 64
-#define CB_RIGHTP 65
-#define CB_PROSPECT 67
-#define CB_CTRLFLD 69
-#define CB_PAPERFROMSETUP 70
-#define FL_1 71
-#define FL_2 72
-#define FL_3 73
-#define FL_4 74
-#define FT_FAX 76
-#define CB_BACKGROUND 79
-
-#define RB_NO 80
-#define RB_ONLY 81
-#define RB_END 82
-#define RB_PAGEEND 83
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/ui/config/optdlg.src b/sw/source/ui/config/optdlg.src
index b5ae69cf1691..a082a5eb67cf 100644
--- a/sw/source/ui/config/optdlg.src
+++ b/sw/source/ui/config/optdlg.src
@@ -21,7 +21,6 @@
#include <svx/dialogs.hrc>
#include "globals.hrc"
#include "config.hrc"
-#include "optdlg.hrc"
#include "helpid.h"
String ST_SCRIPT_ASIAN
diff --git a/sw/source/ui/config/optpage.cxx b/sw/source/ui/config/optpage.cxx
index 7e3ada0ab75f..db1bbea6abc8 100644
--- a/sw/source/ui/config/optpage.cxx
+++ b/sw/source/ui/config/optpage.cxx
@@ -41,7 +41,6 @@
#include <viewopt.hxx>
#include <globals.hrc>
#include <config.hrc>
-#include <optdlg.hrc>
#include <swwrtshitem.hxx>
#include <unomid.h>
diff --git a/sw/source/ui/index/idxmrk.src b/sw/source/ui/index/idxmrk.src
index 5835d8318baa..072fa46390c7 100644
--- a/sw/source/ui/index/idxmrk.src
+++ b/sw/source/ui/index/idxmrk.src
@@ -19,7 +19,6 @@
#include <svtools/controldims.hrc>
#include "index.hrc"
-#include "idxmrk.hrc"
#include "helpid.h"
#include "cmdid.h"
diff --git a/sw/source/ui/index/swuiidxmrk.cxx b/sw/source/ui/index/swuiidxmrk.cxx
index 33c44030b802..6cc70867a795 100644
--- a/sw/source/ui/index/swuiidxmrk.cxx
+++ b/sw/source/ui/index/swuiidxmrk.cxx
@@ -49,7 +49,6 @@
#include <cmdid.h>
#include <app.hrc>
#include <index.hrc>
-#include <../../core/uibase/index/idxmrk.hrc>
#include <swmodule.hxx>
#include <fldmgr.hxx>
#include <fldbas.hxx>
diff --git a/sw/source/ui/misc/srtdlg.hrc b/sw/source/ui/misc/srtdlg.hrc
index f31227864663..68e4ea33320f 100644
--- a/sw/source/ui/misc/srtdlg.hrc
+++ b/sw/source/ui/misc/srtdlg.hrc
@@ -16,43 +16,9 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#define BT_OK 1
-#define BT_CANCEL 2
-#define FT_COL 3
-#define FT_KEYTYP 4
-#define CB_KEY1 5
-#define ED_KEY1 6
-#define DLB_KEY1 7
-#define CB_KEY2 8
-#define ED_KEY2 9
-#define DLB_KEY2 10
-#define CB_KEY3 11
-#define ED_KEY3 12
-#define DLB_KEY3 13
-#define FL_SORT_2 14
-#define RB_COL 15
-#define RB_ROW 16
-#define FL_DIR 17
-#define RB_UP 18
-#define RB_DN 19
-#define FL_ORDER 20
-#define RB_TAB 21
-#define RB_TABCH 22
-#define ED_TABCH 23
-#define FL_DELIM 24
+
#define STR_ROW 25
#define STR_COL 26
-#define BT_HELP 27
-#define FT_DIR 28
-#define RB_UP2 29
-#define RB_DN2 30
-#define RB_UP3 31
-#define RB_DN3 32
#define STR_NUMERIC 33
-#define PB_DELIM 34
-#define FL_LANG 35
-#define LB_LANG 36
-#define FL_SORT 37
-#define CB_CASE 38
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/uui/source/unknownauthdlg.cxx b/uui/source/unknownauthdlg.cxx
index 0eb3a4c1a4c0..cb4d962d0003 100644
--- a/uui/source/unknownauthdlg.cxx
+++ b/uui/source/unknownauthdlg.cxx
@@ -20,7 +20,6 @@
#include <vcl/msgbox.hxx>
#include <ids.hrc>
-#include <unknownauthdlg.hrc>
#include <unknownauthdlg.hxx>
#include <comphelper/processfactory.hxx>
diff --git a/uui/source/unknownauthdlg.hrc b/uui/source/unknownauthdlg.hrc
deleted file mode 100644
index 0dc18e761134..000000000000
--- a/uui/source/unknownauthdlg.hrc
+++ /dev/null
@@ -1,58 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-#ifndef UUI_UNKNOWNAUTH_HRC
-#define UUI_UNKNOWNAUTH_HRC
-
-#include <svtools/controldims.hrc>
-
-// local identifiers
-#define RB_ACCEPT_1 1
-#define PB_OK 2
-#define PB_VIEW__CERTIFICATE 3
-#define PB_CANCEL 4
-#define FT_LABEL_1 5
-#define RB_DONTACCEPT_2 6
-#define IMG_WARN 7
-#define PB_HELP 8
-#define FL_LINE 10
-
-// Dims
-
-#define DLG_WIDTH 230
-#define DLG_HEIGHT 140
-
-#define DLG_WARMIMG_HEIGHT 20
-#define DLG_WARMIMG_WIDTH 20
-
-#define DLG_TEXT_1_HEIGHT 50
-
-#define DLG_TEXT_START_X RSC_SP_DLG_INNERBORDER_LEFT + DLG_WARMIMG_WIDTH + RSC_SP_CTRL_X
-
-#define DLG_RADIOBTN_START_Y RSC_SP_DLG_INNERBORDER_TOP + DLG_TEXT_1_HEIGHT + RSC_SP_CTRL_Y + RSC_CD_PUSHBUTTON_HEIGHT + RSC_SP_CTRL_GROUP_Y
-
-#define DLG_CTLBTN_START_Y DLG_HEIGHT - RSC_SP_CTRL_X - RSC_CD_PUSHBUTTON_HEIGHT
-
-
-#define DLG_CTLBTN_OK_START_X DLG_CTLBTN_CANCEL_START_X - RSC_CD_PUSHBUTTON_WIDTH - RSC_SP_CTRL_GROUP_X
-#define DLG_CTLBTN_CANCEL_START_X DLG_CTLBTN_HELP_START_X - RSC_CD_PUSHBUTTON_WIDTH - RSC_SP_CTRL_GROUP_X
-#define DLG_CTLBTN_HELP_START_X DLG_WIDTH - RSC_SP_DLG_INNERBORDER_RIGHT - RSC_CD_PUSHBUTTON_WIDTH
-
-#endif //UUI_UNKNOWNAUTH_HRC
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmlsecurity/source/dialogs/dialogs.hrc b/xmlsecurity/source/dialogs/dialogs.hrc
index c8d4cae5c0c0..0b3f0dda0cc4 100644
--- a/xmlsecurity/source/dialogs/dialogs.hrc
+++ b/xmlsecurity/source/dialogs/dialogs.hrc
@@ -26,7 +26,6 @@
#define STD_MASKCOLOR Color{Red=0xffff;Green=0x0000;Blue=0xffff;}
#define FL_BOTTOM_SEP 50
-#define BTN_OK 51
#define BTN_HELP 53
#define LB_SIGNATURES 54
#define BTN_VIEWCERT 55