summaryrefslogtreecommitdiff
path: root/writerfilter
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-11-24 11:27:53 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-11-24 11:27:53 +0100
commit5ebfc3ad9b27eed8571fa501ed3727218e0008fb (patch)
treed8bcb493b32a746d67fe0aec2002fde7ad991dcf /writerfilter
parentb12410f212658996fdb5fb291a06038e9ac39b2e (diff)
loplugin:unnecessaryoverride (dtors) in writerfilter
Change-Id: I2d21d47e8471daf3125a6c81b5b3919820caef46
Diffstat (limited to 'writerfilter')
-rw-r--r--writerfilter/source/dmapper/GraphicImport.cxx6
-rw-r--r--writerfilter/source/filter/RtfFilter.cxx3
-rw-r--r--writerfilter/source/filter/WriterFilter.cxx1
-rw-r--r--writerfilter/source/filter/WriterFilterDetection.cxx3
4 files changed, 0 insertions, 13 deletions
diff --git a/writerfilter/source/dmapper/GraphicImport.cxx b/writerfilter/source/dmapper/GraphicImport.cxx
index 837308cc9659..3531093abb24 100644
--- a/writerfilter/source/dmapper/GraphicImport.cxx
+++ b/writerfilter/source/dmapper/GraphicImport.cxx
@@ -80,7 +80,6 @@ class XInputStreamHelper : public cppu::WeakImplHelper<io::XInputStream>
sal_Int32 m_nHeaderLength;
public:
XInputStreamHelper(const sal_uInt8* buf, size_t len);
- virtual ~XInputStreamHelper() override;
virtual ::sal_Int32 SAL_CALL readBytes( uno::Sequence< ::sal_Int8 >& aData, ::sal_Int32 nBytesToRead ) throw (io::NotConnectedException, io::BufferSizeExceededException, io::IOException, uno::RuntimeException, std::exception) override;
virtual ::sal_Int32 SAL_CALL readSomeBytes( uno::Sequence< ::sal_Int8 >& aData, ::sal_Int32 nMaxBytesToRead ) throw (io::NotConnectedException, io::BufferSizeExceededException, io::IOException, uno::RuntimeException, std::exception) override;
@@ -100,11 +99,6 @@ XInputStreamHelper::XInputStreamHelper(const sal_uInt8* buf, size_t len) :
m_nHeaderLength = 0;
}
-
-XInputStreamHelper::~XInputStreamHelper()
-{
-}
-
sal_Int32 XInputStreamHelper::readBytes( uno::Sequence<sal_Int8>& aData, sal_Int32 nBytesToRead )
throw (io::NotConnectedException, io::BufferSizeExceededException, io::IOException, uno::RuntimeException, std::exception)
{
diff --git a/writerfilter/source/filter/RtfFilter.cxx b/writerfilter/source/filter/RtfFilter.cxx
index e734fb669752..ad7ed9a8d847 100644
--- a/writerfilter/source/filter/RtfFilter.cxx
+++ b/writerfilter/source/filter/RtfFilter.cxx
@@ -53,7 +53,6 @@ class RtfFilter : public cppu::WeakImplHelper
public:
explicit RtfFilter(const uno::Reference<uno::XComponentContext>& xContext);
- ~RtfFilter() override;
// XFilter
sal_Bool SAL_CALL filter(const uno::Sequence<beans::PropertyValue>& rDescriptor) throw (uno::RuntimeException, std::exception) override;
@@ -80,8 +79,6 @@ RtfFilter::RtfFilter(const uno::Reference< uno::XComponentContext >& rxContext)
{
}
-RtfFilter::~RtfFilter() = default;
-
sal_Bool RtfFilter::filter(const uno::Sequence< beans::PropertyValue >& aDescriptor) throw(uno::RuntimeException, std::exception)
{
sal_uInt32 nStartTime = osl_getGlobalTimer();
diff --git a/writerfilter/source/filter/WriterFilter.cxx b/writerfilter/source/filter/WriterFilter.cxx
index c59718f85a2f..6ff2f7a73788 100644
--- a/writerfilter/source/filter/WriterFilter.cxx
+++ b/writerfilter/source/filter/WriterFilter.cxx
@@ -98,7 +98,6 @@ public:
explicit WriterFilter(const uno::Reference<uno::XComponentContext>& rxContext)
: m_xContext(rxContext)
{}
- ~WriterFilter() override = default;
// XFilter
sal_Bool SAL_CALL filter(const uno::Sequence<beans::PropertyValue>& rDescriptor) throw (uno::RuntimeException, std::exception) override;
diff --git a/writerfilter/source/filter/WriterFilterDetection.cxx b/writerfilter/source/filter/WriterFilterDetection.cxx
index 442eaf072f09..f72323b8cc1a 100644
--- a/writerfilter/source/filter/WriterFilterDetection.cxx
+++ b/writerfilter/source/filter/WriterFilterDetection.cxx
@@ -35,7 +35,6 @@ class WriterFilterDetection : public cppu::WeakImplHelper
{
public:
explicit WriterFilterDetection();
- ~WriterFilterDetection() override;
//XExtendedFilterDetection
OUString SAL_CALL detect(uno::Sequence<beans::PropertyValue>& Descriptor) throw (uno::RuntimeException, std::exception) override;
@@ -52,8 +51,6 @@ WriterFilterDetection::WriterFilterDetection()
{
}
-WriterFilterDetection::~WriterFilterDetection() = default;
-
OUString WriterFilterDetection::detect(uno::Sequence<beans::PropertyValue>& rDescriptor) throw (uno::RuntimeException, std::exception)
{
OUString sTypeName;