diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-08-02 15:45:26 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-08-02 15:45:26 +0000 |
commit | 258db069d3f076ad7d6429bc5cb51300acdbad36 (patch) | |
tree | 6f72df9dfbaa41918562ccc0e85d577d385532da /svx/source/form/tabwin.cxx | |
parent | 0bf7e372067fd3e44b38b4b77f7301e599f733cf (diff) |
INTEGRATION: CWS insight01 (1.16.236); FILE MERGED
2004/02/20 11:17:53 oj 1.16.236.1: #i25414# extend the datadescriptor for database location and connection resource
Diffstat (limited to 'svx/source/form/tabwin.cxx')
-rw-r--r-- | svx/source/form/tabwin.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/svx/source/form/tabwin.cxx b/svx/source/form/tabwin.cxx index a8842c498066..3633ebdde57f 100644 --- a/svx/source/form/tabwin.cxx +++ b/svx/source/form/tabwin.cxx @@ -2,9 +2,9 @@ * * $RCSfile: tabwin.cxx,v $ * - * $Revision: 1.16 $ + * $Revision: 1.17 $ * - * last change: $Author: hr $ $Date: 2003-03-27 15:02:44 $ + * last change: $Author: hr $ $Date: 2004-08-02 16:45:26 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -239,6 +239,7 @@ void FmFieldWinListBox::StartDrag( sal_Int8 _nAction, const Point& _rPosPixel ) TransferableHelper* pTransferColumn = new OColumnTransferable( pTabWin->GetDatabaseName(), + ::rtl::OUString(), pTabWin->GetObjectType(), pTabWin->GetObjectName(), GetEntryText( pSelected), @@ -322,7 +323,8 @@ sal_Bool FmFieldWin::createSelectionControls( ) { // build a descriptor for the currently selected field ODataAccessDescriptor aDescr; - aDescr[ daDataSource ] <<= GetDatabaseName(); + aDescr.setDataSource(GetDatabaseName()); + aDescr[ daCommand ] <<= GetObjectName(); aDescr[ daCommandType ] <<= GetObjectType(); aDescr[ daColumnName ] <<= ::rtl::OUString( pListBox->GetEntryText( pSelected) ); |