Kaydet (Commit) 47009fbf authored tarafından Thomas Arnhold's avatar Thomas Arnhold

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
üst db053e48
......@@ -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);
}
......
......@@ -19,7 +19,6 @@
#include "JoinExchange.hxx"
#include <sot/formats.hxx>
#include <svx/dbexch.hrc>
#include <cppuhelper/typeprovider.hxx>
namespace dbaui
......
......@@ -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>
......
......@@ -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;
......
......@@ -32,7 +32,6 @@
#include <memory> //auto_ptr
#include <editeng/adjitem.hxx>
#include <svx/algitem.hxx>
#include <svx/dbexch.hrc>
#include <editeng/editview.hxx>
#include <editeng/editstat.hxx>
#include <editeng/flditem.hxx>
......
......@@ -124,7 +124,6 @@
#define _SVX_THESDLG_HXX
#include "scitems.hxx"
#include <svx/dbexch.hrc>
#include <svx/svdetc.hxx>
#include <svx/svditer.hxx>
#include <svx/svdoole2.hxx>
......
......@@ -35,7 +35,6 @@
//------------------------------------------------------------------
#include <svx/dbexch.hrc>
#include <svx/fmmodel.hxx>
#include <svx/svdetc.hxx>
#include <svx/svditer.hxx>
......
......@@ -46,7 +46,6 @@
#include <svl/urlbmk.hxx>
#include <editeng/outliner.hxx>
#include <svx/xflclit.hxx>
#include <svx/dbexch.hrc>
#include <sot/formats.hxx>
#include <editeng/editeng.hxx>
#include <svx/svditer.hxx>
......
......@@ -57,7 +57,6 @@
#include <editeng/editeng.hxx>
#include <svx/obj3d.hxx>
#include <svx/e3dundo.hxx>
#include <svx/dbexch.hrc>
#include <svx/unomodel.hxx>
#include <unotools/streamwrap.hxx>
#include <vcl/metaact.hxx>
......
......@@ -171,7 +171,6 @@ $(eval $(call gb_Package_add_file,svx_inc,inc/svx/srchdlg.hxx,svx/srchdlg.hxx))
$(eval $(call gb_Package_add_file,svx_inc,inc/svx/sxcaitm.hxx,svx/sxcaitm.hxx))
$(eval $(call gb_Package_add_file,svx_inc,inc/svx/subtoolboxcontrol.hxx,svx/subtoolboxcontrol.hxx))
$(eval $(call gb_Package_add_file,svx_inc,inc/svx/sdasaitm.hxx,svx/sdasaitm.hxx))
$(eval $(call gb_Package_add_file,svx_inc,inc/svx/dbexch.hrc,svx/dbexch.hrc))
$(eval $(call gb_Package_add_file,svx_inc,inc/svx/unomaster.hxx,svx/unomaster.hxx))
$(eval $(call gb_Package_add_file,svx_inc,inc/svx/svdedtv.hxx,svx/svdedtv.hxx))
$(eval $(call gb_Package_add_file,svx_inc,inc/svx/xlinjoit.hxx,svx/xlinjoit.hxx))
......
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* This file is part of OpenOffice.org.
*
* OpenOffice.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* only, as published by the Free Software Foundation.
*
* OpenOffice.org is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License version 3 for more details
* (a copy is included in the LICENSE file that accompanied this code).
*
* You should have received a copy of the GNU Lesser General Public License
* version 3 along with OpenOffice.org. If not, see
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
*
************************************************************************/
#ifndef _SVX_DBEXCH_HRC
#define _SVX_DBEXCH_HRC
// Format zum Uebertragen von Daten aus dem DatenbankBrowser
// Format: "Datenbankname";"Tabellen/QueryName"; 1/0(fuer Tabelle/Abfrage); SQL-Statement;Selektionsliste
// Name der Tabelle kann leer sein
// Feldtrenner ist "ASCII 11" !!!!
// Selektionsliste:"" // alle selektiert
// | "1;2;...n" // Selektierte Saetze, Start bei 1
#define SBA_DATAEXCHANGE_FORMAT "SBA-DATAFORMAT"
// Feldtrenner ist "ASCII 11" !!!!
// Format zum Uebertragen von Feldname aus dem DatenbankBrowser
// "Datenbankname";"Tabellen/QueryName";0(Tabelle) / 1(Abfrage) / 2(SQL) / 3(NATIVE_SQL);"Feldname"
#define SBA_FIELDEXCHANGE_FORMAT "SBA-FIELDFORMAT"
// Feldtrenner ist "ASCII 11" !!!!
// Format zum Uebertragen von Feldinhalten aus dem DatenbankBrowser
// "Datenbankname";"Tabellen/QueryName";1/0(fuer Tabelle/Abfrage);"Feldname";"FeldInhalt"
#define SBA_FIELDDATAEXCHANGE_FORMAT "SBA-FIELDDATAFORMAT"
// Office-internes Format (entspricht der private-URL )
// Wird vom Writer und Calc benutzt, wenn Explorer-Contents gedraggt werden
#define SBA_PRIVATEURL_EXCHANGE_FORMAT "SBA-PRIVATEURLFORMAT"
// SBA-internes Format fuer das erzeugen von Joins in der RelationsShell
#define SBA_JOIN_EXCHANGE_FORMAT "SBA-JOINFORMAT"
#endif // _SVX_DBEXCH_HRC
......@@ -26,7 +26,6 @@
*
************************************************************************/
#include "svx/dbexch.hrc"
#include "svx/fmgridif.hxx"
#include "fmitems.hxx"
#include "fmprop.hrc"
......
......@@ -31,7 +31,6 @@
#include <sot/storage.hxx>
#include <svl/itempool.hxx>
#include <svx/dbexch.hrc>
#include <sot/formats.hxx>
#include <svtools/svtreebx.hxx>
#include <tools/diagnose_ex.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment