summaryrefslogtreecommitdiffstats
path: root/forms
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-01-24 11:31:51 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-01-25 05:20:06 +0000
commitb4adb0c533cc99633f360cb12014aa35599d943a (patch)
treea13c9afc746c476a5b02e65d7a1d168ef71109b0 /forms
parentuitest: some pep8 fixes (diff)
downloadcore-b4adb0c533cc99633f360cb12014aa35599d943a.tar.gz
core-b4adb0c533cc99633f360cb12014aa35599d943a.zip
loplugin: unnecessary destructor forms..idlc
Change-Id: I765e0fa61f8134a60e5ea24452c6bbcb3fa8b054 Reviewed-on: https://gerrit.libreoffice.org/33492 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'forms')
-rw-r--r--forms/source/xforms/NameContainer.hxx1
-rw-r--r--forms/source/xforms/collection.hxx1
-rw-r--r--forms/source/xforms/model_helper.hxx3
-rw-r--r--forms/source/xforms/namedcollection.hxx1
-rw-r--r--forms/source/xforms/xformsevent.hxx1
5 files changed, 0 insertions, 7 deletions
diff --git a/forms/source/xforms/NameContainer.hxx b/forms/source/xforms/NameContainer.hxx
index 621ea968160f..aa2a86c10535 100644
--- a/forms/source/xforms/NameContainer.hxx
+++ b/forms/source/xforms/NameContainer.hxx
@@ -78,7 +78,6 @@ protected:
public:
NameContainer() {}
- virtual ~NameContainer() override {}
// methods for XElementAccess
diff --git a/forms/source/xforms/collection.hxx b/forms/source/xforms/collection.hxx
index 8ea1ae147c6e..4f860cc4b46e 100644
--- a/forms/source/xforms/collection.hxx
+++ b/forms/source/xforms/collection.hxx
@@ -61,7 +61,6 @@ protected:
public:
Collection() {}
- virtual ~Collection() override {}
const T& getItem( sal_Int32 n ) const
{
diff --git a/forms/source/xforms/model_helper.hxx b/forms/source/xforms/model_helper.hxx
index 23423b4a031f..b70bc23c9c1c 100644
--- a/forms/source/xforms/model_helper.hxx
+++ b/forms/source/xforms/model_helper.hxx
@@ -53,7 +53,6 @@ class BindingCollection : public NamedCollection<css::uno::Reference<css::beans:
public:
explicit BindingCollection( Model* pModel ) : mpModel( pModel ) {}
- virtual ~BindingCollection() override {}
virtual bool isValid( const T& t ) const override
{
@@ -80,9 +79,7 @@ class SubmissionCollection : public NamedCollection<css::uno::Reference<css::bea
public:
explicit SubmissionCollection( Model* pModel ) : mpModel( pModel ) {}
- virtual ~SubmissionCollection() override {}
-public:
virtual bool isValid( const T& t ) const override
{
return Submission::getSubmission( t ) != nullptr;
diff --git a/forms/source/xforms/namedcollection.hxx b/forms/source/xforms/namedcollection.hxx
index 1c53ad9b0230..4cd629b54688 100644
--- a/forms/source/xforms/namedcollection.hxx
+++ b/forms/source/xforms/namedcollection.hxx
@@ -37,7 +37,6 @@ class NamedCollection : public cppu::ImplInheritanceHelper<
public:
NamedCollection() {}
- virtual ~NamedCollection() {}
const T& getItem( const OUString& rName ) const
{
diff --git a/forms/source/xforms/xformsevent.hxx b/forms/source/xforms/xformsevent.hxx
index e3aff320f306..36bbcecddb94 100644
--- a/forms/source/xforms/xformsevent.hxx
+++ b/forms/source/xforms/xformsevent.hxx
@@ -40,7 +40,6 @@ class XFormsEventConcrete : public cppu::WeakImplHelper< XFormsEvent > {
, m_cancelable(false)
{
}
- virtual ~XFormsEventConcrete() override {}
virtual OUString SAL_CALL getType() throw (css::uno::RuntimeException, std::exception) override;
virtual css::uno::Reference< css::xml::dom::events::XEventTarget > SAL_CALL getTarget() throw (css::uno::RuntimeException, std::exception) override;