From 901add54cd5191b5a41ec11baddd669954c34025 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 20 Aug 2020 13:41:06 +0200 Subject: loplugin:unusedmethods Change-Id: Ic3690d7f2a075d47ffed3db03ee6895ebdab441e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101070 Tested-by: Jenkins Reviewed-by: Noel Grandin --- dbaccess/source/ui/browser/dbexchange.cxx | 30 ------------------------------ dbaccess/source/ui/inc/QueryTextView.hxx | 2 -- dbaccess/source/ui/inc/dbexchange.hxx | 17 ----------------- 3 files changed, 49 deletions(-) (limited to 'dbaccess/source') diff --git a/dbaccess/source/ui/browser/dbexchange.cxx b/dbaccess/source/ui/browser/dbexchange.cxx index a6d649674f07..d9358ec776ad 100644 --- a/dbaccess/source/ui/browser/dbexchange.cxx +++ b/dbaccess/source/ui/browser/dbexchange.cxx @@ -62,36 +62,6 @@ namespace dbaui { } - ODataClipboard::ODataClipboard( - const OUString& _rDatasource, - const sal_Int32 _nCommandType, - const OUString& _rCommand, - const Reference< XConnection >& _rxConnection, - const Reference< XNumberFormatter >& _rxFormatter, - const Reference< XComponentContext >& _rxORB) - :ODataAccessObjectTransferable( _rDatasource, _nCommandType, _rCommand, _rxConnection ) - { - osl_atomic_increment( &m_refCount ); - lcl_setListener( _rxConnection, this, true ); - - m_pHtml.set( new OHTMLImportExport( getDescriptor(), _rxORB, _rxFormatter ) ); - m_pRtf.set( new ORTFImportExport( getDescriptor(), _rxORB, _rxFormatter ) ); - - osl_atomic_decrement( &m_refCount ); - } - - ODataClipboard::ODataClipboard( - const OUString& _rDatasource, - const sal_Int32 _nCommandType, - const OUString& _rCommand, - const Reference< XNumberFormatter >& _rxFormatter, - const Reference< XComponentContext >& _rxORB) - :ODataAccessObjectTransferable( _rDatasource, _nCommandType, _rCommand) - { - m_pHtml.set( new OHTMLImportExport( getDescriptor(),_rxORB, _rxFormatter ) ); - m_pRtf.set( new ORTFImportExport( getDescriptor(),_rxORB, _rxFormatter ) ); - } - void ODataClipboard::Update( const OUString& rDatasource, const sal_Int32 nCommandType, diff --git a/dbaccess/source/ui/inc/QueryTextView.hxx b/dbaccess/source/ui/inc/QueryTextView.hxx index e472c8dad8c7..dcce2e80102e 100644 --- a/dbaccess/source/ui/inc/QueryTextView.hxx +++ b/dbaccess/source/ui/inc/QueryTextView.hxx @@ -64,8 +64,6 @@ namespace dbaui void stopTimer(); void startTimer(); - - OQueryContainerWindow* getContainerWindow() { return static_cast< OQueryContainerWindow* >( GetParent() ); } }; } diff --git a/dbaccess/source/ui/inc/dbexchange.hxx b/dbaccess/source/ui/inc/dbexchange.hxx index 13b3e18503bb..e288186c391e 100644 --- a/dbaccess/source/ui/inc/dbexchange.hxx +++ b/dbaccess/source/ui/inc/dbexchange.hxx @@ -45,23 +45,6 @@ namespace dbaui public: ODataClipboard(); - ODataClipboard( - const OUString& _rDatasource, - const sal_Int32 _nCommandType, - const OUString& _rCommand, - const css::uno::Reference< css::sdbc::XConnection >& _rxConnection, - const css::uno::Reference< css::util::XNumberFormatter >& _rxFormatter, - const css::uno::Reference< css::uno::XComponentContext >& _rxORB - ); - - ODataClipboard( - const OUString& _rDatasource, - const sal_Int32 _nCommandType, - const OUString& _rCommand, - const css::uno::Reference< css::util::XNumberFormatter >& _rxFormatter, - const css::uno::Reference< css::uno::XComponentContext >& _rxORB - ); - ODataClipboard( const css::uno::Reference< css::beans::XPropertySet >& i_rAliveForm, const css::uno::Sequence< css::uno::Any >& i_rSelectedRows, -- cgit v1.2.3