diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-12-05 09:02:38 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-12-05 09:02:38 +0100 |
commit | d3a1830539adabfcbefe7efde9757e2ac847b676 (patch) | |
tree | 7e77b89d6befed165692b501d869da05a433ac8a /io | |
parent | 408e8fa80b86c4da2df66125723b2ca147e3ad1f (diff) |
loplugin:unnecessaryoverride (dtors) in io
Change-Id: I5c787d70fb3388e649e751d2b801765d567249c7
Diffstat (limited to 'io')
-rw-r--r-- | io/source/acceptor/acc_pipe.cxx | 5 | ||||
-rw-r--r-- | io/source/acceptor/acc_socket.cxx | 5 | ||||
-rw-r--r-- | io/source/connector/connector.cxx | 4 | ||||
-rw-r--r-- | io/source/stm/odata.cxx | 22 |
4 files changed, 1 insertions, 35 deletions
diff --git a/io/source/acceptor/acc_pipe.cxx b/io/source/acceptor/acc_pipe.cxx index 0ebd65808321..1819ff5616b6 100644 --- a/io/source/acceptor/acc_pipe.cxx +++ b/io/source/acceptor/acc_pipe.cxx @@ -43,7 +43,6 @@ namespace io_acceptor { public: explicit PipeConnection( const OUString &sConnectionDescription); - virtual ~PipeConnection() override; virtual sal_Int32 SAL_CALL read( Sequence< sal_Int8 >& aReadBytes, sal_Int32 nBytesToRead ) throw(css::io::IOException, @@ -77,10 +76,6 @@ namespace io_acceptor reinterpret_cast< sal_IntPtr >(&m_pipe)) ); } - PipeConnection::~PipeConnection() - { - } - sal_Int32 PipeConnection::read( Sequence < sal_Int8 > & aReadBytes , sal_Int32 nBytesToRead ) throw(css::io::IOException, css::uno::RuntimeException, std::exception) diff --git a/io/source/acceptor/acc_socket.cxx b/io/source/acceptor/acc_socket.cxx index 1c721ec4d753..75764022c907 100644 --- a/io/source/acceptor/acc_socket.cxx +++ b/io/source/acceptor/acc_socket.cxx @@ -70,7 +70,6 @@ namespace io_acceptor { { public: explicit SocketConnection( const OUString & sConnectionDescription ); - virtual ~SocketConnection() override; virtual sal_Int32 SAL_CALL read( css::uno::Sequence< sal_Int8 >& aReadBytes, sal_Int32 nBytesToRead ) @@ -170,10 +169,6 @@ namespace io_acceptor { reinterpret_cast< sal_IntPtr >(&m_socket)) ); } - SocketConnection::~SocketConnection() - { - } - void SocketConnection::completeConnectionString() { OUStringBuffer buf( 256 ); diff --git a/io/source/connector/connector.cxx b/io/source/connector/connector.cxx index aeeb0354b3f4..695326718c25 100644 --- a/io/source/connector/connector.cxx +++ b/io/source/connector/connector.cxx @@ -53,7 +53,7 @@ namespace stoc_connector Reference< XComponentContext > _xCtx; public: explicit OConnector(const Reference< XComponentContext > &xCtx); - virtual ~OConnector() override; + // Methods virtual Reference< XConnection > SAL_CALL connect( const OUString& sConnectionDescription ) @@ -70,8 +70,6 @@ namespace stoc_connector , _xCtx( xCtx ) {} - OConnector::~OConnector() {} - Reference< XConnection > SAL_CALL OConnector::connect( const OUString& sConnectionDescription ) throw( NoConnectException, ConnectionSetupException, RuntimeException, std::exception) { diff --git a/io/source/stm/odata.cxx b/io/source/stm/odata.cxx index 0ba3e2bc6c5e..64e1800af279 100644 --- a/io/source/stm/odata.cxx +++ b/io/source/stm/odata.cxx @@ -62,7 +62,6 @@ public: { } - virtual ~ODataInputStream() override; public: // XInputStream virtual sal_Int32 SAL_CALL readBytes(Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead) throw ( NotConnectedException, @@ -117,10 +116,6 @@ protected: bool m_bValidStream; }; -ODataInputStream::~ODataInputStream() -{ -} - // XInputStream sal_Int32 ODataInputStream::readBytes(Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead) throw ( NotConnectedException, @@ -498,7 +493,6 @@ public: : m_bValidStream( false ) { } - virtual ~ODataOutputStream() override; public: // XOutputStream virtual void SAL_CALL writeBytes(const Sequence< sal_Int8 >& aData) @@ -552,11 +546,6 @@ protected: bool m_bValidStream; }; -ODataOutputStream::~ODataOutputStream() -{ -} - - // XOutputStream void ODataOutputStream::writeBytes(const Sequence< sal_Int8 >& aData) throw ( NotConnectedException, @@ -908,8 +897,6 @@ public: { } - virtual ~OObjectOutputStream() override; - public: // XOutputStream virtual void SAL_CALL writeBytes(const Sequence< sal_Int8 >& aData) @@ -976,10 +963,6 @@ private: bool m_bValidMarkable; }; -OObjectOutputStream::~OObjectOutputStream() -{ -} - void OObjectOutputStream::writeObject( const Reference< XPersistObject > & xPObj ) throw (css::io::IOException, css::uno::RuntimeException, std::exception) { @@ -1171,7 +1154,6 @@ public: , m_bValidMarkable(false) { } - virtual ~OObjectInputStream() override; public: // XInputStream virtual sal_Int32 SAL_CALL readBytes(Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead) @@ -1250,10 +1232,6 @@ private: }; -OObjectInputStream::~OObjectInputStream() -{ -} - Reference< XPersistObject > OObjectInputStream::readObject() throw (css::io::IOException, css::uno::RuntimeException, std::exception) { // check if chain contains a XMarkableStream |