From 3822976f6616b4789fee5ab12207fd94e1149e63 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Wed, 8 May 2019 10:13:30 +0000 Subject: Fix typo Change-Id: I6f6042e57821e4deeeb41ab4ce14ac355ddf432c Reviewed-on: https://gerrit.libreoffice.org/72175 Tested-by: Jenkins Reviewed-by: Julien Nabet --- dbaccess/source/ui/querydesign/TableWindowListBox.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dbaccess') diff --git a/dbaccess/source/ui/querydesign/TableWindowListBox.cxx b/dbaccess/source/ui/querydesign/TableWindowListBox.cxx index 54c06c8f0a3b..d7bac39dfd0e 100644 --- a/dbaccess/source/ui/querydesign/TableWindowListBox.cxx +++ b/dbaccess/source/ui/querydesign/TableWindowListBox.cxx @@ -207,7 +207,7 @@ void OTableWindowListBox::StartDrag( sal_Int8 /*nAction*/, const Point& /*rPosPi EndSelection(); // create a description of the source OJoinExchangeData jxdSource(this); - // put it into a exchange object + // put it into an exchange object rtl::Reference pJoin = new OJoinExchObj(jxdSource,bFirstNotAllowed); pJoin->StartDrag(this, DND_ACTION_LINK, this); } @@ -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 + if ( !OJoinExchObj::isFormatAvailable(GetDataFlavorExVector(),SotClipboardFormatId::SBA_TABID) // this means that the first entry is to be dragged && OJoinExchObj::isFormatAvailable(GetDataFlavorExVector()) ) { // don't drop into the window if it's the drag source itself -- cgit