diff options
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/fmcomp/dbaexchange.cxx | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/svx/source/fmcomp/dbaexchange.cxx b/svx/source/fmcomp/dbaexchange.cxx index a01525cfc00d..0e52f13f10d0 100644 --- a/svx/source/fmcomp/dbaexchange.cxx +++ b/svx/source/fmcomp/dbaexchange.cxx @@ -41,16 +41,6 @@ namespace svx using namespace ::com::sun::star::container; using namespace ::com::sun::star::datatransfer; - OColumnTransferable::OColumnTransferable(const OUString& _rDatasource - ,const OUString& _rCommand - ,const OUString& _rFieldName - ,ColumnTransferFormatFlags _nFormats) - :m_nFormatFlags(_nFormats) - { - implConstruct(_rDatasource,OUString(), css::sdb::CommandType::TABLE, _rCommand, _rFieldName); - } - - OColumnTransferable::OColumnTransferable(const ODataAccessDescriptor& _rDescriptor, ColumnTransferFormatFlags _nFormats ) :m_nFormatFlags(_nFormats) { @@ -341,25 +331,6 @@ namespace svx } - void OColumnTransferable::addDataToContainer( TransferDataContainer* _pContainer ) - { - OSL_ENSURE( _pContainer, "OColumnTransferable::addDataToContainer: invalid container!" ); - if ( _pContainer ) - { - if ( m_nFormatFlags & ColumnTransferFormatFlags::FIELD_DESCRIPTOR ) - _pContainer->CopyAny( SotClipboardFormatId::SBA_FIELDDATAEXCHANGE, makeAny( m_sCompatibleFormat ) ); - - if ( m_nFormatFlags & ColumnTransferFormatFlags::CONTROL_EXCHANGE ) - _pContainer->CopyAny( SotClipboardFormatId::SBA_CTRLDATAEXCHANGE, makeAny( m_sCompatibleFormat ) ); - - if ( m_nFormatFlags & ColumnTransferFormatFlags::COLUMN_DESCRIPTOR ) - { - Any aContent = makeAny( m_aDescriptor.createPropertyValueSequence() ); - _pContainer->CopyAny( getDescriptorFormatId(), aContent ); - } - } - } - ODataAccessObjectTransferable::ODataAccessObjectTransferable( const OUString& _rDatasource ,const sal_Int32 _nCommandType |