From ccda3f37a4be4415e7349eed44cb9619da5cb153 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 5 Dec 2016 09:03:49 +0100 Subject: [PATCH] loplugin:unnecessaryoverride (dtors) in forms Change-Id: Ia6787aa9dc7963b1e44604f22bfc95e0333a7f79 --- forms/source/component/imgprod.cxx | 7 ------- forms/source/helper/commandimageprovider.cxx | 3 --- 2 files changed, 10 deletions(-) diff --git a/forms/source/component/imgprod.cxx b/forms/source/component/imgprod.cxx index dab9b8f45574..945d45d719fa 100644 --- a/forms/source/component/imgprod.cxx +++ b/forms/source/component/imgprod.cxx @@ -42,7 +42,6 @@ public: ImgProdLockBytes( SvStream* pStm, bool bOwner ); explicit ImgProdLockBytes( css::uno::Reference< css::io::XInputStream > & rStreamRef ); - virtual ~ImgProdLockBytes() override; virtual ErrCode ReadAt( sal_uInt64 nPos, void* pBuffer, std::size_t nCount, std::size_t * pRead ) const override; virtual ErrCode WriteAt( sal_uInt64 nPos, const void* pBuffer, std::size_t nCount, std::size_t * pWritten ) override; @@ -83,12 +82,6 @@ ImgProdLockBytes::ImgProdLockBytes( css::uno::Reference< css::io::XInputStream > } } - -ImgProdLockBytes::~ImgProdLockBytes() -{ -} - - ErrCode ImgProdLockBytes::ReadAt(sal_uInt64 const nPos, void* pBuffer, std::size_t nCount, std::size_t * pRead) const { diff --git a/forms/source/helper/commandimageprovider.cxx b/forms/source/helper/commandimageprovider.cxx index 88e9bc6713e6..e35ac39fecc5 100644 --- a/forms/source/helper/commandimageprovider.cxx +++ b/forms/source/helper/commandimageprovider.cxx @@ -59,9 +59,6 @@ namespace frm { impl_init_nothrow( _rContext, _rxDocument ); } - virtual ~DocumentCommandImageProvider() override - { - } // ICommandImageProvider virtual CommandImages getCommandImages( const css::uno::Sequence< OUString >& _rCommandURLs, const bool _bLarge ) const override;