summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2012-06-15 08:20:39 +0200
committerThomas Arnhold <thomas@arnhold.org>2012-06-15 08:22:09 +0200
commite06d6e3956e246abbbc05a05598bd2a720a1e283 (patch)
tree3568c8cf7a43b6790dc9aa3a28c83a06c33faf52 /basctl
parentf8de2166d46c4bdb80a1ddfb0e75b96a2ce6a60d (diff)
hrc cleanup: Remove completely unused RIDs
These RID definitions aren't used at any other point. So remove them. Unused START and END definitions were commented out for documentation purpose. All definitions in basctl/source/basicide/tbxctl.hrc were unused, so I removed this file. Change-Id: I4713188a12b9da912b2a91b85ea4e54ca1aeb994
Diffstat (limited to 'basctl')
-rw-r--r--basctl/inc/basidesh.hrc7
-rw-r--r--basctl/source/basicide/moduldlg.hrc2
-rw-r--r--basctl/source/basicide/tbxctl.cxx2
-rw-r--r--basctl/source/basicide/tbxctl.hrc21
-rw-r--r--basctl/source/inc/dlgresid.hrc4
5 files changed, 4 insertions, 32 deletions
diff --git a/basctl/inc/basidesh.hrc b/basctl/inc/basidesh.hrc
index 0df1ee24d6c4..8cbbec6a4bc7 100644
--- a/basctl/inc/basidesh.hrc
+++ b/basctl/inc/basidesh.hrc
@@ -15,6 +15,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+
#ifndef _BASIDESH_HRC
#define _BASIDESH_HRC
@@ -29,10 +30,7 @@
#ifndef _SVX_NOIDERESIDS
#define RID_BASICIDE_OBJECTBAR ( RID_BASICIDE_START + 0 )
-#define RID_BASICMENU ( RID_BASICIDE_START + 1 )
-#define RID_BASICPLUGINMENU ( RID_BASICIDE_START + 2 )
#define RID_EDT_WATCHEDIT ( RID_BASICIDE_START + 4 )
-#define RID_ICO_MDIWINDOW ( RID_BASICIDE_START + 5 )
#define RID_POPUP_BRKDLG ( RID_BASICIDE_START + 10 )
#define RID_POPUP_BRKPROPS ( RID_BASICIDE_START + 11 )
#define RID_POPUP_TABBAR ( RID_BASICIDE_START + 12 )
@@ -77,7 +75,6 @@
#define RID_STR_COMPILEERROR ( RID_BASICIDE_START + 23 )
#define RID_STR_STDDIALOGNAME ( RID_BASICIDE_START + 24 )
#define RID_STR_STDMACRONAME ( RID_BASICIDE_START + 25 )
-#define RID_STR_STDJAVAFUNCTIONNAME ( RID_BASICIDE_START + 26 )
#define RID_STR_STDMODULENAME ( RID_BASICIDE_START + 27 )
#define RID_STR_ALL ( RID_BASICIDE_START + 28 )
#define RID_STR_CLOSE ( RID_BASICIDE_START + 29 )
@@ -104,7 +101,6 @@
#define RID_STR_FILEEXISTS ( RID_BASICIDE_START + 50 )
// free
#define RID_STR_ERROROPENLIB ( RID_BASICIDE_START + 55 )
-#define RID_STR_STDJAVAMODULENAME ( RID_BASICIDE_START + 56 )
#define RID_STR_NEWLIB ( RID_BASICIDE_START + 57 )
#define RID_STR_NEWMOD ( RID_BASICIDE_START + 58 )
#define RID_STR_NEWDLG ( RID_BASICIDE_START + 59 )
@@ -163,7 +159,6 @@
#define RID_STR_NORMAL_MODULES ( RID_BASICIDE_START + 120 )
#define RID_STR_CLASS_MODULES ( RID_BASICIDE_START + 121 )
-
#define RID_DLG_GOTOLINE ( RID_BASICIDE_START + 122 )
#define RID_FT_LINE ( RID_BASICIDE_START + 123 )
#define RID_ED_LINE ( RID_BASICIDE_START + 124 )
diff --git a/basctl/source/basicide/moduldlg.hrc b/basctl/source/basicide/moduldlg.hrc
index a61574dd044d..3864641be3a7 100644
--- a/basctl/source/basicide/moduldlg.hrc
+++ b/basctl/source/basicide/moduldlg.hrc
@@ -15,6 +15,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+
#ifndef _MODULDLG_HRC
#define _MODULDLG_HRC
@@ -35,7 +36,6 @@
#define RID_STR_BASICS 13
#define RID_PB_EXPORT 14
-#define RID_PB_EXPORT_PACKAGE 15
#define RID_TP_MOD 20
#define RID_TP_LIB 21
diff --git a/basctl/source/basicide/tbxctl.cxx b/basctl/source/basicide/tbxctl.cxx
index 366e8138a6a3..7ba9d112bebf 100644
--- a/basctl/source/basicide/tbxctl.cxx
+++ b/basctl/source/basicide/tbxctl.cxx
@@ -19,7 +19,7 @@
#define _BASIDE_POPUPWINDOWTBX
-#include "tbxctl.hrc"
+#include <svl/solar.hrc>
#include <svx/svxids.hrc>
#include "idetemp.hxx"
diff --git a/basctl/source/basicide/tbxctl.hrc b/basctl/source/basicide/tbxctl.hrc
deleted file mode 100644
index 089ef429d48c..000000000000
--- a/basctl/source/basicide/tbxctl.hrc
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * 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 <svl/solar.hrc>
-
-#define RID_TBXCONTROLS ( RID_BASICIDE_START + 65 )
-#define RID_TOOLBOX ( RID_BASICIDE_START + 66 )
diff --git a/basctl/source/inc/dlgresid.hrc b/basctl/source/inc/dlgresid.hrc
index 71a78ac64a0d..2d8bc26cb8ee 100644
--- a/basctl/source/inc/dlgresid.hrc
+++ b/basctl/source/inc/dlgresid.hrc
@@ -19,8 +19,6 @@
#ifndef _BASCTL_DLGRESID_HRC
#define _BASCTL_DLGRESID_HRC
-// include -----------------------------------------------------------
-
#include <svl/solar.hrc>
// Dialog Control Id's -----------------------------------------------------------
@@ -50,6 +48,7 @@
#define RID_STR_TRANSLATION_DEFAULT ( RID_DLG_START + 22 )
#define RID_STR_CLASS_TREECONTROL ( RID_DLG_START + 23 )
#define RID_STR_CLASS_SPINCONTROL ( RID_DLG_START + 24 )
+
// Property Browser Headline Id's -----------------------------------------------------------
#define RID_STR_BRWTITLE_PROPERTIES ( RID_DLG_START + 60 )
@@ -61,7 +60,6 @@
#define RID_DLG_MANAGE_LANGUAGE ( RID_DLG_START + 70 )
#define RID_QRYBOX_LANGUAGE ( RID_DLG_START + 71 )
#define RID_DLG_SETDEF_LANGUAGE ( RID_DLG_START + 72 )
-#define RID_DLG_ADD_LANGUAGE ( RID_DLG_START + 73 )
// -----------------------------------------------------------------------