summaryrefslogtreecommitdiff
path: root/sw
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 /sw
parent16e917643f4855125f5a872586b9841a677bb35b (diff)
clean up hrc files
and remove some unused stuff Change-Id: Iea6177c3d2f9d0668187e66155b62688ae2ecb04
Diffstat (limited to 'sw')
-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
10 files changed, 1 insertions, 129 deletions
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: */