Tag: cws_dev300_dba31c User: fs Date: 2008-09-03 12:03:41+0000 Modified: dba/dbaccess/source/ui/browser/dsbrowserDnD.cxx
Log: #i93424# reworked the handling/notification of selection/changes of a DBTreeListBox File Changes: Directory: /dba/dbaccess/source/ui/browser/ =========================================== File [changed]: dsbrowserDnD.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/browser/dsbrowserDnD.cxx?r1=1.81&r2=1.81.38.1 Delta lines: +6 -7 ------------------- --- dsbrowserDnD.cxx 2008-06-25 12:42:09+0000 1.81 +++ dsbrowserDnD.cxx 2008-09-03 12:03:38+0000 1.81.38.1 @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: dsbrowserDnD.cxx,v $ - * $Revision: 1.81 $ + * $Revision: 1.81.38.1 $ * * This file is part of OpenOffice.org. * @@ -82,8 +82,6 @@ { try { - ::osl::MutexGuard aGuard(m_aEntryMutex); - ::rtl::OUString aName = GetEntryText( _pApplyTo ); ::rtl::OUString aDSName = getDataSourceAcessor( m_pTreeView->getListBox().GetRootLevelParent( _pApplyTo ) ); @@ -218,10 +216,11 @@ return NULL != pTransfer; } // ----------------------------------------------------------------------------- - IMPL_LINK(SbaTableQueryBrowser, OnCopyEntry, SvLBoxEntry*, _pEntry) + IMPL_LINK(SbaTableQueryBrowser, OnCopyEntry, void*, /*NOTINTERESIN*/) { - if( isEntryCopyAllowed(_pEntry) ) - copyEntry(_pEntry); + SvLBoxEntry* pSelected = m_pTreeView->getListBox().FirstSelected(); + if( isEntryCopyAllowed( pSelected ) ) + copyEntry( pSelected ); return 0; } // ----------------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
