summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-07-05 15:10:33 +0200
committerThomas Arnhold <thomas@arnhold.org>2013-07-05 19:59:30 +0200
commitf42daec5c72c78e40150cbf0f0d01f38db556264 (patch)
tree745863c87f9172566905cd0e178db35d63dfcd98 /dbaccess
parent83ece8c46b2076a2ac2ca05e6ea280d6aca66c73 (diff)
cleanup src files
Those items are unused. Change-Id: If4fce0f91309d2ca09cbb636d4a5d9f86f38eb9a
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/control/dbtreelistbox.cxx1
-rw-r--r--dbaccess/source/ui/control/tabletree.cxx1
-rw-r--r--dbaccess/source/ui/control/tabletree.hrc31
-rw-r--r--dbaccess/source/ui/control/tabletree.src18
-rw-r--r--dbaccess/source/ui/inc/dbu_resource.hrc9
-rw-r--r--dbaccess/source/ui/querydesign/query.src15
-rw-r--r--dbaccess/source/ui/tabledesign/table.src5
7 files changed, 0 insertions, 80 deletions
diff --git a/dbaccess/source/ui/control/dbtreelistbox.cxx b/dbaccess/source/ui/control/dbtreelistbox.cxx
index b0d5e1572e27..d5c8816ef482 100644
--- a/dbaccess/source/ui/control/dbtreelistbox.cxx
+++ b/dbaccess/source/ui/control/dbtreelistbox.cxx
@@ -32,7 +32,6 @@
#include <cppuhelper/implbase1.hxx>
#include <cppuhelper/interfacecontainer.hxx>
#include <vcl/help.hxx>
-#include "tabletree.hrc"
#include <dbaccess/IController.hxx>
#include <framework/actiontriggerhelper.hxx>
#include <toolkit/helper/vclunohelper.hxx>
diff --git a/dbaccess/source/ui/control/tabletree.cxx b/dbaccess/source/ui/control/tabletree.cxx
index 7d635e324186..28684605f471 100644
--- a/dbaccess/source/ui/control/tabletree.cxx
+++ b/dbaccess/source/ui/control/tabletree.cxx
@@ -19,7 +19,6 @@
#include "tabletree.hxx"
-#include "tabletree.hrc"
#include "imageprovider.hxx"
#include "moduledbu.hxx"
#include "dbu_control.hrc"
diff --git a/dbaccess/source/ui/control/tabletree.hrc b/dbaccess/source/ui/control/tabletree.hrc
deleted file mode 100644
index 3734a6608474..000000000000
--- a/dbaccess/source/ui/control/tabletree.hrc
+++ /dev/null
@@ -1,31 +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_TABLETREE_HRC_
-#define _DBAUI_TABLETREE_HRC_
-
-//------------------------------------------------------------------------
-//- menu ids
-
-#define MID_SORT_ASCENDING 1
-#define MID_SORT_DECENDING 2
-
-#endif // _DBAUI_TABLETREE_HRC_
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/dbaccess/source/ui/control/tabletree.src b/dbaccess/source/ui/control/tabletree.src
index 162a1bbff638..fc26f06823ed 100644
--- a/dbaccess/source/ui/control/tabletree.src
+++ b/dbaccess/source/ui/control/tabletree.src
@@ -18,26 +18,8 @@
*/
#include "dbu_control.hrc"
-#include "tabletree.hrc"
#include "browserids.hxx"
-Menu MENU_TABLETREE_POPUP
-{
- ItemList =
- {
- MenuItem
- {
- Identifier = MID_SORT_ASCENDING;
- Text [ en-US ] = "Sort Ascending";
- };
- MenuItem
- {
- Identifier = MID_SORT_DECENDING;
- Text [ en-US ] = "Sort Descending";
- };
- };
-};
-
String STR_COULDNOTCREATE_DRIVERMANAGER
{
Text [ en-US ] = "Cannot connect to the SDBC driver manager (#servicename#).";
diff --git a/dbaccess/source/ui/inc/dbu_resource.hrc b/dbaccess/source/ui/inc/dbu_resource.hrc
index cf4aa1fcc3a7..f5333afa2be9 100644
--- a/dbaccess/source/ui/inc/dbu_resource.hrc
+++ b/dbaccess/source/ui/inc/dbu_resource.hrc
@@ -153,15 +153,7 @@
#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
- // FREE
-#define ERR_INVALID_LISTBOX_ENTRY RID_ERRORBOX_START + 6
-// FREE
#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
-
-
//========================================================================
// query boxes
@@ -218,7 +210,6 @@
//========================================================================
// menus
-#define MENU_TABLETREE_POPUP RID_MENU_START + 0
#define RID_SBA_GRID_COLCTXMENU RID_MENU_START + 2
#define RID_SBA_GRID_ROWCTXMENU RID_MENU_START + 3
#define RID_QUERYCOLPOPUPMENU RID_MENU_START + 5
diff --git a/dbaccess/source/ui/querydesign/query.src b/dbaccess/source/ui/querydesign/query.src
index 92f0a1184a73..08a728b738ca 100644
--- a/dbaccess/source/ui/querydesign/query.src
+++ b/dbaccess/source/ui/querydesign/query.src
@@ -275,11 +275,6 @@ String STR_QRY_NATIVE
Text [ en-US ] = "The statement will not be applied when querying in the SQL dialect of the database." ;
};
-ErrorBox ERR_QRY_AMB_FIELD
-{
- Message [ en-US ] = "Field name not found or not unique" ;
-};
-
String STR_QRY_ILLEGAL_JOIN
{
Text [ en-US ] = "Join could not be processed" ;
@@ -305,16 +300,6 @@ String STR_QUERYDESIGN_NO_VIEW_ASK
Text [ en-US ] = "Do you want to create a query instead?";
};
-ErrorBox ERR_QRY_NOSTATEMENT
-{
- Message [ en-US ] = "No query could be created.";
-};
-
-ErrorBox ERR_QRY_NOCRITERIA
-{
- Message [ en-US ] = "No query could be created because no fields were selected.";
-};
-
/*
The menubar resource has become obsolete - you can now find the menubar definition at: <project>/uiconfig/dbquery/menubar/menubar.xml
*/
diff --git a/dbaccess/source/ui/tabledesign/table.src b/dbaccess/source/ui/tabledesign/table.src
index a842d23f6458..0410b0b9ef5e 100644
--- a/dbaccess/source/ui/tabledesign/table.src
+++ b/dbaccess/source/ui/tabledesign/table.src
@@ -141,11 +141,6 @@ Control RID_DB_TAB_EDITOR
HelpId = HID_TABDESIGN_BACKGROUND ;
};
-ErrorBox ERR_INVALID_LISTBOX_ENTRY
-{
- Message [ en-US ] = "The text you entered is not a list element. " ;
-};
-
Menu RID_TABLEDESIGNROWPOPUPMENU
{
ItemList =