diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-26 13:50:43 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-27 06:51:11 +0000 |
commit | 4142e0a0c05c29a203799cc96630b17133ca2b40 (patch) | |
tree | 20374d18722e4f99b0e53e557398f697cfa601f5 /writerperfect | |
parent | 32a461bdd6ffda4b59ff262e1fcbcbe8bf2be7a0 (diff) |
loplugin: unnecessary destructor writerfilter..xmloff
Change-Id: I511822dc874101ed3b9850b015b746a86d26c3b5
Reviewed-on: https://gerrit.libreoffice.org/33578
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'writerperfect')
4 files changed, 0 insertions, 11 deletions
diff --git a/writerperfect/inc/ImportFilter.hxx b/writerperfect/inc/ImportFilter.hxx index 0993d4a9f62a..092ae9cc9289 100644 --- a/writerperfect/inc/ImportFilter.hxx +++ b/writerperfect/inc/ImportFilter.hxx @@ -60,10 +60,6 @@ public: { } - virtual ~ImportFilterImpl() override - { - } - const css::uno::Reference< css::uno::XComponentContext > &getXContext() const { return mxContext; diff --git a/writerperfect/source/common/WPXSvInputStream.cxx b/writerperfect/source/common/WPXSvInputStream.cxx index 2c6b062d990b..eb54da2b16aa 100644 --- a/writerperfect/source/common/WPXSvInputStream.cxx +++ b/writerperfect/source/common/WPXSvInputStream.cxx @@ -401,7 +401,6 @@ class WPXSvInputStreamImpl public: explicit WPXSvInputStreamImpl(css::uno::Reference< css::io::XInputStream > const &xStream); - ~WPXSvInputStreamImpl(); bool isStructured(); unsigned subStreamCount(); @@ -478,10 +477,6 @@ WPXSvInputStreamImpl::WPXSvInputStreamImpl(Reference< XInputStream > const &xStr } } -WPXSvInputStreamImpl::~WPXSvInputStreamImpl() -{ -} - const unsigned char *WPXSvInputStreamImpl::read(unsigned long numBytes, unsigned long &numBytesRead) { numBytesRead = 0; diff --git a/writerperfect/source/impress/KeynoteImportFilter.hxx b/writerperfect/source/impress/KeynoteImportFilter.hxx index ea61a20b69f6..714402f2c8ec 100644 --- a/writerperfect/source/impress/KeynoteImportFilter.hxx +++ b/writerperfect/source/impress/KeynoteImportFilter.hxx @@ -22,7 +22,6 @@ class KeynoteImportFilter : public writerperfect::ImportFilter<OdpGenerator> public: explicit KeynoteImportFilter(const css::uno::Reference< css::uno::XComponentContext > &rxContext) : writerperfect::ImportFilter<OdpGenerator>(rxContext) {} - virtual ~KeynoteImportFilter() override {} //XExtendedFilterDetection virtual OUString SAL_CALL detect(css::uno::Sequence< css::beans::PropertyValue > &Descriptor) override; diff --git a/writerperfect/source/writer/WordPerfectImportFilter.hxx b/writerperfect/source/writer/WordPerfectImportFilter.hxx index a34255dea56b..7f24ef2977b0 100644 --- a/writerperfect/source/writer/WordPerfectImportFilter.hxx +++ b/writerperfect/source/writer/WordPerfectImportFilter.hxx @@ -45,7 +45,6 @@ protected: public: explicit WordPerfectImportFilter(const css::uno::Reference< css::uno::XComponentContext > &rxContext) : mxContext(rxContext) {} - virtual ~WordPerfectImportFilter() override {} // XFilter virtual sal_Bool SAL_CALL filter(const css::uno::Sequence< css::beans::PropertyValue > &aDescriptor) override; |