summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/querydesign/TableWindowListBox.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-20 11:45:11 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-20 11:45:11 +0200
commit28ecf843463bafdb873cf28e32ba173b7fe466d8 (patch)
tree5decc0ce0bbd4f0a89d995c126eaaa6ef5e8e225 /dbaccess/source/ui/querydesign/TableWindowListBox.cxx
parentd35f403d80c03aa944f4888036dd200e3360f1ef (diff)
loplugin:defaultparams
Change-Id: I9dccf0538389063648e97575ff4c3765f0b1256b
Diffstat (limited to 'dbaccess/source/ui/querydesign/TableWindowListBox.cxx')
-rw-r--r--dbaccess/source/ui/querydesign/TableWindowListBox.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/querydesign/TableWindowListBox.cxx b/dbaccess/source/ui/querydesign/TableWindowListBox.cxx
index 76ed893dd1b5..0de7e8330992 100644
--- a/dbaccess/source/ui/querydesign/TableWindowListBox.cxx
+++ b/dbaccess/source/ui/querydesign/TableWindowListBox.cxx
@@ -217,7 +217,7 @@ sal_Int8 OTableWindowListBox::AcceptDrop( const AcceptDropEvent& _rEvt )
sal_Int8 nDND_Action = DND_ACTION_NONE;
// check the format
if ( !OJoinExchObj::isFormatAvailable(GetDataFlavorExVector(),SotClipboardFormatId::SBA_TABID) // this means that the first entry is to be draged
- && OJoinExchObj::isFormatAvailable(GetDataFlavorExVector(),SotClipboardFormatId::SBA_JOIN) )
+ && OJoinExchObj::isFormatAvailable(GetDataFlavorExVector()) )
{ // don't drop into the window if it's the drag source itself
// remove the selection if the dragging operation is leaving the window