summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/browser/dsbrowserDnD.cxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2007-05-10 09:19:13 +0000
committerKurt Zenker <kz@openoffice.org>2007-05-10 09:19:13 +0000
commit0ef0507079a972c5ff2dbeae5bbea4ef4afc3cbc (patch)
tree1da3d48ebae7c4871dfe87653262a28c267bd2bd /dbaccess/source/ui/browser/dsbrowserDnD.cxx
parent38e75e0304109f3b03cd4a85e726bb4c2f26ffde (diff)
INTEGRATION: CWS dba23a (1.75.62); FILE MERGED
2007/02/26 10:33:58 fs 1.75.62.1: remove unused code Issue number: #i74776# Submitted by: jnavrati@openoffice.org Reviewed by: frank.schoenheit@sun.com
Diffstat (limited to 'dbaccess/source/ui/browser/dsbrowserDnD.cxx')
-rw-r--r--dbaccess/source/ui/browser/dsbrowserDnD.cxx27
1 files changed, 2 insertions, 25 deletions
diff --git a/dbaccess/source/ui/browser/dsbrowserDnD.cxx b/dbaccess/source/ui/browser/dsbrowserDnD.cxx
index adf8966951c6..57bf427339b9 100644
--- a/dbaccess/source/ui/browser/dsbrowserDnD.cxx
+++ b/dbaccess/source/ui/browser/dsbrowserDnD.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: dsbrowserDnD.cxx,v $
*
- * $Revision: 1.75 $
+ * $Revision: 1.76 $
*
- * last change: $Author: kz $ $Date: 2006-10-05 13:02:15 $
+ * last change: $Author: kz $ $Date: 2007-05-10 10:19:13 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -256,23 +256,12 @@ namespace dbaui
return 0;
}
// -----------------------------------------------------------------------------
- sal_Bool SbaTableQueryBrowser::isEntryCutAllowed(SvLBoxEntry* /*_pEntry*/) const
- {
- // at the momoent this isn't allowed
- return sal_False;
- }
- // -----------------------------------------------------------------------------
sal_Bool SbaTableQueryBrowser::isEntryCopyAllowed(SvLBoxEntry* _pEntry) const
{
EntryType eType = getEntryType(_pEntry);
return ( eType == etTableOrView || eType == etQuery );
}
// -----------------------------------------------------------------------------
- sal_Bool SbaTableQueryBrowser::isEntryPasteAllowed(SvLBoxEntry* /*_pEntry*/) const
- {
- return sal_False;
- }
- // -----------------------------------------------------------------------------
void SbaTableQueryBrowser::copyEntry(SvLBoxEntry* _pEntry)
{
TransferableHelper* pTransfer = NULL;
@@ -284,18 +273,6 @@ namespace dbaui
pTransfer->CopyToClipboard(getView());
}
// -----------------------------------------------------------------------------
- sal_Bool SbaTableQueryBrowser::copyTagTable(OTableCopyHelper::DropDescriptor& _rDesc, sal_Bool _bCheck)
- {
- // first get the dest connection
- ::osl::MutexGuard aGuard(m_aMutex);
-
- SharedConnection xDestConnection;
- if ( !ensureConnection( _rDesc.pDroppedAt, xDestConnection ) )
- return sal_False;
-
- return m_aTableCopyHelper.copyTagTable( _rDesc, _bCheck, xDestConnection );
- }
- // -----------------------------------------------------------------------------
IMPL_LINK( SbaTableQueryBrowser, OnAsyncDrop, void*, /*NOTINTERESTEDIN*/ )
{
m_nAsyncDrop = 0;