summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-12-23 09:47:48 +0200
committerNoel Grandin <noel@peralex.com>2015-01-08 10:39:36 +0200
commit45ec1d9b56cec41596f806ebf845ebfcd30c9f46 (patch)
treee368da6d3ae2c8a5c8e214b99dd0f95861d0fc78 /cui
parent0748a5f8298e2ea817e131234f5e99300ed7f9f7 (diff)
brute-force find-and-remove of unused #define constants.
Change-Id: I7223530ae37297a76654cd00cc1fedb56dbe3adb
Diffstat (limited to 'cui')
-rw-r--r--cui/source/customize/acccfg.hrc1
-rw-r--r--cui/source/dialogs/scriptdlg.hrc5
-rw-r--r--cui/source/inc/cuioptgenrl.hxx1
-rw-r--r--cui/source/inc/helpid.hrc13
-rw-r--r--cui/source/inc/iconcdlg.hxx1
-rw-r--r--cui/source/inc/scriptdlg.hxx1
-rw-r--r--cui/source/tabpages/align.hrc3
-rw-r--r--cui/source/tabpages/page.h4
8 files changed, 0 insertions, 29 deletions
diff --git a/cui/source/customize/acccfg.hrc b/cui/source/customize/acccfg.hrc
index 19a5459f3c1f..7ad1eba98c1b 100644
--- a/cui/source/customize/acccfg.hrc
+++ b/cui/source/customize/acccfg.hrc
@@ -25,6 +25,5 @@
#define STR_BASICMACROS 67
#define STR_HUMAN_APPNAME 69
-#define STR_FILTERNAME_CFG 70
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/dialogs/scriptdlg.hrc b/cui/source/dialogs/scriptdlg.hrc
index 41bcc3f980e6..e79e2f0aa34c 100644
--- a/cui/source/dialogs/scriptdlg.hrc
+++ b/cui/source/dialogs/scriptdlg.hrc
@@ -20,11 +20,6 @@
#ifndef _SCRIPTDLG_HRC
#define _SCRIPTDLG_HRC
-#define STR_FT_NEWMACRO 11
-#define STR_NEWLIB 12
-#define STR_NEWMACRO 13
-#define STR_FT_RENAME 18
-#define STR_RENAME 19
#endif
diff --git a/cui/source/inc/cuioptgenrl.hxx b/cui/source/inc/cuioptgenrl.hxx
index 86190a8c0ce3..500bf7cb20ba 100644
--- a/cui/source/inc/cuioptgenrl.hxx
+++ b/cui/source/inc/cuioptgenrl.hxx
@@ -32,7 +32,6 @@
class Edit;
-#define SfxGeneralTabPage SvxGeneralTabPage
// class SvxGeneralTabPage -----------------------------------------------
diff --git a/cui/source/inc/helpid.hrc b/cui/source/inc/helpid.hrc
index c227db7f6788..ab1fdc322d59 100644
--- a/cui/source/inc/helpid.hrc
+++ b/cui/source/inc/helpid.hrc
@@ -32,13 +32,6 @@
#define HID_CONFIG_EVENT_DOCUMENT_BASED "CUI_HID_CONFIG_EVENT_DOCUMENT_BASED"
#define HID_SVX_CONFIG_TOOLBAR "CUI_HID_SVX_CONFIG_TOOLBAR"
#define HID_SVX_CONFIG_TOOLBAR_CONTENTS "CUI_HID_SVX_CONFIG_TOOLBAR_CONTENTS"
-#define HID_HANGULDLG_BUTTON_OPTIONS "CUI_HID_HANGULDLG_BUTTON_OPTIONS"
-#define HID_HANGULDLG_BUTTON_CLOSE "CUI_HID_HANGULDLG_BUTTON_CLOSE"
-#define HID_HANGULDLG_BUTTON_IGNORE "CUI_HID_HANGULDLG_BUTTON_IGNORE"
-#define HID_HANGULDLG_BUTTON_IGNOREALL "CUI_HID_HANGULDLG_BUTTON_IGNOREALL"
-#define HID_HANGULDLG_BUTTON_CHANGE "CUI_HID_HANGULDLG_BUTTON_CHANGE"
-#define HID_HANGULDLG_BUTTON_CHANGEALL "CUI_HID_HANGULDLG_BUTTON_CHANGEALL"
-#define HID_HANGULDLG_EDIT_NEWWORD "CUI_HID_HANGULDLG_EDIT_NEWWORD"
#define HID_HANGULDLG_SUGGESTIONS "CUI_HID_HANGULDLG_SUGGESTIONS"
#define HID_HANGULDLG_SUGGESTIONS_GRID "CUI_HID_HANGULDLG_SUGGESTIONS_GRID"
#define HID_HANGULDLG_SUGGESTIONS_LIST "CUI_HID_HANGULDLG_SUGGESTIONS_LIST"
@@ -54,13 +47,7 @@
#define HID_SVX_UP_TOOLBAR_ITEM "CUI_HID_SVX_UP_TOOLBAR_ITEM"
#define HID_SVX_DOWN_TOOLBAR_ITEM "CUI_HID_SVX_DOWN_TOOLBAR_ITEM"
#define HID_SVX_SAVE_IN "CUI_HID_SVX_SAVE_IN"
-#define HID_DIALOG_HANGULHANJA "CUI_HID_DIALOG_HANGULHANJA"
#define UID_SEARCH_RECORDSTATUS "CUI_UID_SEARCH_RECORDSTATUS"
-#define HID_SPELLDLG_SETWORD "CUI_HID_SPELLDLG_SETWORD"
-#define HID_HYPERLINK_INTERNET "CUI_HID_HYPERLINK_INTERNET"
-#define HID_HYPERLINK_MAIL "CUI_HID_HYPERLINK_MAIL"
-#define HID_HYPERLINK_DOCUMENT "CUI_HID_HYPERLINK_DOCUMENT"
-#define HID_HYPERLINK_NEWDOCUMENT "CUI_HID_HYPERLINK_NEWDOCUMENT"
#define HID_ICCDIALOG_RESET_BTN "CUI_HID_ICCDIALOG_RESET_BTN"
#define HID_ICCDIALOG_CHOICECTRL "CUI_HID_ICCDIALOG_CHOICECTRL"
#define HID_HYPERDLG_INET_PATH "CUI_HID_HYPERDLG_INET_PATH"
diff --git a/cui/source/inc/iconcdlg.hxx b/cui/source/inc/iconcdlg.hxx
index 566d4e1e69fb..531b0b6e7b03 100644
--- a/cui/source/inc/iconcdlg.hxx
+++ b/cui/source/inc/iconcdlg.hxx
@@ -31,7 +31,6 @@
#include <vcl/layout.hxx>
#include <vector>
-#define CTRLS_OFFSET 3
#define RET_USER 100
#define RET_USER_CANCEL 101
diff --git a/cui/source/inc/scriptdlg.hxx b/cui/source/inc/scriptdlg.hxx
index 0a734a9d2f84..ef0cea679595 100644
--- a/cui/source/inc/scriptdlg.hxx
+++ b/cui/source/inc/scriptdlg.hxx
@@ -34,7 +34,6 @@
#include <unordered_map>
-#define OBJTYPE_BASICMANAGER 1L
#define OBJTYPE_METHOD 2L
#define OBJTYPE_SCRIPTCONTAINER 3L
#define OBJTYPE_SFROOT 4L
diff --git a/cui/source/tabpages/align.hrc b/cui/source/tabpages/align.hrc
index e56d7d1be172..b9e3ccd33c07 100644
--- a/cui/source/tabpages/align.hrc
+++ b/cui/source/tabpages/align.hrc
@@ -26,9 +26,6 @@
#define IID_TOPLOCK 2
#define IID_CELLLOCK 3
-#define STR_BOTTOMLOCK 1
-#define STR_TOPLOCK 2
-#define STR_CELLLOCK 3
#endif
diff --git a/cui/source/tabpages/page.h b/cui/source/tabpages/page.h
index 64edfe3c42ae..8ad22787904e 100644
--- a/cui/source/tabpages/page.h
+++ b/cui/source/tabpages/page.h
@@ -46,10 +46,6 @@
#define PAPERSIZE_DL 17
#define PAPERSIZE_DIA 18
#define PAPERSIZE_SCREEN_4_3 19
-#define PAPERSIZE_C 20
-#define PAPERSIZE_D 21
-#define PAPERSIZE_E 22
-#define PAPERSIZE_EXECUTIVE 23
#define PAPERSIZE_LEGAL2 24
#define PAPERSIZE_MONARCH 25
#define PAPERSIZE_COM675 26