diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-03-25 15:55:37 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-03-26 07:30:21 +0100 |
commit | 6c0f5f7f2a6cc122a738deb0a17353cca1cd5c7e (patch) | |
tree | fead70c051edcf671e43555498d710430dd0cbce /svx/source/fmcomp | |
parent | 7030a5860f99378ba951ecb8e2cc0425af63b741 (diff) |
loplugin:unusedmethods
Change-Id: I8bbf439d69a330a9ad28ff52cc49a9fec2c12500
Reviewed-on: https://gerrit.libreoffice.org/69684
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/fmcomp')
-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 |