diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2012-06-15 18:05:05 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2012-06-21 11:54:18 +0200 |
commit | 47009fbf515dc6e4d4c275e5a3458b4ce2d817d9 (patch) | |
tree | 4dbb9f54eb64b3396a779aaec9de036655f4168a /dbaccess | |
parent | db053e48d2ca17e1256eb12500f075488483603b (diff) |
Remove unused dbexch.hrc
The only part where one definition was used was commented out.
All other definitions in the hrc file were unused.
Change-Id: I257e61b96271685e9321211846a0021059924abe
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/browser/sbagrid.cxx | 15 | ||||
-rw-r--r-- | dbaccess/source/ui/querydesign/JoinExchange.cxx | 1 | ||||
-rw-r--r-- | dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx | 1 | ||||
-rw-r--r-- | dbaccess/source/ui/querydesign/TableWindowListBox.cxx | 1 |
4 files changed, 0 insertions, 18 deletions
diff --git a/dbaccess/source/ui/browser/sbagrid.cxx b/dbaccess/source/ui/browser/sbagrid.cxx index 4c11b2933246..4e37c5677438 100644 --- a/dbaccess/source/ui/browser/sbagrid.cxx +++ b/dbaccess/source/ui/browser/sbagrid.cxx @@ -75,7 +75,6 @@ #include <com/sun/star/sdbcx/XTablesSupplier.hpp> #include <com/sun/star/sdbc/DataType.hpp> #include <vcl/msgbox.hxx> -#include <svx/dbexch.hrc> #include "dbu_brw.hrc" #include "browserids.hxx" #include "dbustrings.hrc" @@ -1459,20 +1458,6 @@ sal_Int8 SbaGridControl::AcceptDrop( const BrowserAcceptDropEvent& rEvt ) nAction = DND_ACTION_COPY; } -/* - // check formats - SvDataObjectRef xDataObj = SvDataObject::PasteDragServer( rEvt ); - if (!xDataObj.Is()) - return sal_False; - - const SvDataTypeList& rTypeList = xDataObj->GetTypeList(); - if ((rTypeList.Get(Exchange::RegisterFormatName(String::CreateFromAscii(SBA_DATAEXCHANGE_FORMAT)))) ) - { - bAllow = (GetOptions() & OPT_INSERT) && rEvt.GetColumnId() > 0 && rEvt.GetRow() >= 0; - ((BrowserDropEvent&)rEvt).SetAction(DROP_COPY); - } - -*/ return (DND_ACTION_NONE != nAction) ? nAction : FmGridControl::AcceptDrop(rEvt); } diff --git a/dbaccess/source/ui/querydesign/JoinExchange.cxx b/dbaccess/source/ui/querydesign/JoinExchange.cxx index efed1cf97ada..82100a1e053a 100644 --- a/dbaccess/source/ui/querydesign/JoinExchange.cxx +++ b/dbaccess/source/ui/querydesign/JoinExchange.cxx @@ -19,7 +19,6 @@ #include "JoinExchange.hxx" #include <sot/formats.hxx> -#include <svx/dbexch.hrc> #include <cppuhelper/typeprovider.hxx> namespace dbaui diff --git a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx index 9040f059e98e..5d1c492f0348 100644 --- a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx +++ b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx @@ -36,7 +36,6 @@ #include "QTableWindow.hxx" #include <vcl/msgbox.hxx> #include "QueryDesignFieldUndoAct.hxx" -#include <svx/dbexch.hrc> #include "sqlmessage.hxx" #include "UITools.hxx" #include <osl/diagnose.h> diff --git a/dbaccess/source/ui/querydesign/TableWindowListBox.cxx b/dbaccess/source/ui/querydesign/TableWindowListBox.cxx index 3e54fcacc3c7..87ca37dbba6b 100644 --- a/dbaccess/source/ui/querydesign/TableWindowListBox.cxx +++ b/dbaccess/source/ui/querydesign/TableWindowListBox.cxx @@ -25,7 +25,6 @@ #include "JoinExchange.hxx" #include <osl/diagnose.h> #include <com/sun/star/sdbc/XDatabaseMetaData.hpp> -#include <svx/dbexch.hrc> #include <vcl/svapp.hxx> using namespace dbaui; |